/* e2m design system: neutral e2m theme (free tier).
   A paid brand overrides the tokens in the first block only; components read semantic tokens. */
/* Inter, self-hosted (static/fonts/, SIL Open Font License 1.1: static/fonts/Inter-OFL.txt). One variable file,
   latin subset, covers every weight we use (400-800). layout() preloads it. font-display: swap shows text at once in
   "Inter Fallback": local Arial/Helvetica/Roboto scaled to Inter's width and line metrics (measured in Chrome on
   Inter 4.001 vs Arial: 400-500 about 5.6% wider, 600-700 about 1.2%), so the swap to Inter barely moves anything (no CLS).
   The same block is in website.css; keep them in step. Characters outside latin (₹, Indic) use the system font. */
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/static/fonts/inter-4.001-latin-wght.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Fallback"; font-style: normal; font-weight: 100 500;
  src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"), local("Arimo"), local("Roboto"), local("Roboto-Regular");
  size-adjust: 105.6%; ascent-override: 91.8%; descent-override: 22.8%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; font-style: normal; font-weight: 600 900;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold"), local("Liberation Sans Bold"), local("Arimo Bold"), local("Roboto Bold"), local("Roboto-Bold");
  size-adjust: 101.2%; ascent-override: 95.8%; descent-override: 23.8%; line-gap-override: 0%; }
/* Design tokens (UX-05). Colours, radii, icon weight and the type scale of every theme are generated from src/themes.ts: the
   Neutral theme (the default on every plan) is the block below, the other four are static/theme-<id>.css, loaded only when an
   organiser on Pro chooses one. Light is the page default; the dark set follows the system (prefers-color-scheme) unless
   data-scheme="light|dark" on <html> says otherwise (static/theme.js remembers a manual choice). Pages that are dark by
   design (sign-in, home, error pages) set data-scheme="dark". Do not edit the region by hand: npx tsx scripts/gen_themes.ts. */
/* THEME:neutral:BEGIN (generated by scripts/gen_themes.ts from src/themes.ts) */
/* Neutral: generated from src/themes.ts by scripts/gen_themes.ts. Do not edit by hand. */
:root { --bg: #F4F6FB; --band: #041B9C; --on-band: #FFFFFF; --surface: #FFFFFF; --soft: #F2F5F8; --field: #FFFFFF; --ink: #0A0D3A; --ink-2: #333640; --muted: #555969; --placeholder: #6B6F7E; --line: #E1E5EE; --field-line: #737681; --focus: #041B9C; --accent: #B45309; --accent-ink: #FFFFFF; --ok: #047857; --warn: #92400E; --err: #B91C1C; --live: #15803D; --badge-bg: #E00B0B; --badge-ink: #FFFFFF; --tabbar: #FFFFFF; --tab-ink: #5F6372; --tab-on: #041B9C; --solid: #FFFFFF; --solid-ink: #000000; --solid-meta: #333640; --solid-btn: #F2F5F8; --tone-info-bg: #E0F2FE; --tone-info-ink: #075985; --tone-net-bg: #FCE7F3; --tone-net-ink: #9D174D; --tone-pin-bg: #FFF1D6; --tone-pin-ink: #7A4B00; --tone-fresh: #ECFDF5; --blob-1: #E7116C; --blob-2: #1A98FC; --blob-o: 0; --text: #0A0D3A; --text-2: #555969; --text-3: #555969; --glass: #FFFFFF; --glass-line: #E1E5EE; --tile: #B45309; --tile-ink: #FFFFFF; --chart-1: #0072B2; --chart-2: #D55E00; --chart-3: #007A5A; --chart-4: #B03A78; --chart-5: #1A1A1A; --chart-6: #858585; --hero-a: color-mix(in srgb, #041B9C 14%, #F4F6FB); --hero-b: color-mix(in srgb, #041B9C 5%, transparent); --hero-ink: #0A0D3A; color-scheme: light; --r: 20px; --r-sm: 14px; --r-tile: 30px; --r-pill: 20px; --icon-w: 1.8; --font-head: var(--font); --head-weight: 700; --head-track: -.02em; --fs-h1: 1.625rem; --fs-h2: 1.25rem; --fs-h3: 1.125rem; }
@media (prefers-color-scheme: dark) { :root:not([data-scheme="light"]) { --bg: #0A0D3A; --band: #041B9C; --on-band: #FFFFFF; --surface: rgba(255,255,255,.05); --soft: rgba(255,255,255,.10); --field: rgba(255,255,255,.08); --ink: #FFFFFF; --ink-2: #E4E6F4; --muted: #C3C6DC; --placeholder: #B5B9D3; --line: rgba(255,255,255,.15); --field-line: #8F95BF; --focus: #FFFFFF; --accent: #FF9E18; --accent-ink: #0A0D3A; --ok: #4ADE80; --warn: #FFC56B; --err: #FF8A8A; --live: #22C55E; --badge-bg: #E00B0B; --badge-ink: #FFFFFF; --tabbar: #FFFFFF; --tab-ink: #5F6372; --tab-on: #041B9C; --solid: #FFFFFF; --solid-ink: #000000; --solid-meta: #333640; --solid-btn: #F2F5F8; --tone-info-bg: #E0F2FE; --tone-info-ink: #075985; --tone-net-bg: #FCE7F3; --tone-net-ink: #9D174D; --tone-pin-bg: #FFF1D6; --tone-pin-ink: #7A4B00; --tone-fresh: #ECFDF5; --blob-1: #E7116C; --blob-2: #1A98FC; --blob-o: .42; --text: #FFFFFF; --text-2: #C3C6DC; --text-3: #C3C6DC; --glass: rgba(255,255,255,.05); --glass-line: rgba(255,255,255,.15); --tile: #FF9E18; --tile-ink: #0A0D3A; --chart-1: #56B4E9; --chart-2: #E69F00; --chart-3: #009E73; --chart-4: #F5A3C7; --chart-5: #F0E442; --chart-6: #FFFFFF; --hero-a: #041B9C; --hero-b: color-mix(in srgb, #041B9C 62%, transparent); --hero-ink: #FFFFFF; color-scheme: dark; } }
:root[data-scheme="dark"] { --bg: #0A0D3A; --band: #041B9C; --on-band: #FFFFFF; --surface: rgba(255,255,255,.05); --soft: rgba(255,255,255,.10); --field: rgba(255,255,255,.08); --ink: #FFFFFF; --ink-2: #E4E6F4; --muted: #C3C6DC; --placeholder: #B5B9D3; --line: rgba(255,255,255,.15); --field-line: #8F95BF; --focus: #FFFFFF; --accent: #FF9E18; --accent-ink: #0A0D3A; --ok: #4ADE80; --warn: #FFC56B; --err: #FF8A8A; --live: #22C55E; --badge-bg: #E00B0B; --badge-ink: #FFFFFF; --tabbar: #FFFFFF; --tab-ink: #5F6372; --tab-on: #041B9C; --solid: #FFFFFF; --solid-ink: #000000; --solid-meta: #333640; --solid-btn: #F2F5F8; --tone-info-bg: #E0F2FE; --tone-info-ink: #075985; --tone-net-bg: #FCE7F3; --tone-net-ink: #9D174D; --tone-pin-bg: #FFF1D6; --tone-pin-ink: #7A4B00; --tone-fresh: #ECFDF5; --blob-1: #E7116C; --blob-2: #1A98FC; --blob-o: .42; --text: #FFFFFF; --text-2: #C3C6DC; --text-3: #C3C6DC; --glass: rgba(255,255,255,.05); --glass-line: rgba(255,255,255,.15); --tile: #FF9E18; --tile-ink: #0A0D3A; --chart-1: #56B4E9; --chart-2: #E69F00; --chart-3: #009E73; --chart-4: #F5A3C7; --chart-5: #F0E442; --chart-6: #FFFFFF; --hero-a: #041B9C; --hero-b: color-mix(in srgb, #041B9C 62%, transparent); --hero-ink: #FFFFFF; color-scheme: dark; }
:root[data-scheme="light"] { --bg: #F4F6FB; --band: #041B9C; --on-band: #FFFFFF; --surface: #FFFFFF; --soft: #F2F5F8; --field: #FFFFFF; --ink: #0A0D3A; --ink-2: #333640; --muted: #555969; --placeholder: #6B6F7E; --line: #E1E5EE; --field-line: #737681; --focus: #041B9C; --accent: #B45309; --accent-ink: #FFFFFF; --ok: #047857; --warn: #92400E; --err: #B91C1C; --live: #15803D; --badge-bg: #E00B0B; --badge-ink: #FFFFFF; --tabbar: #FFFFFF; --tab-ink: #5F6372; --tab-on: #041B9C; --solid: #FFFFFF; --solid-ink: #000000; --solid-meta: #333640; --solid-btn: #F2F5F8; --tone-info-bg: #E0F2FE; --tone-info-ink: #075985; --tone-net-bg: #FCE7F3; --tone-net-ink: #9D174D; --tone-pin-bg: #FFF1D6; --tone-pin-ink: #7A4B00; --tone-fresh: #ECFDF5; --blob-1: #E7116C; --blob-2: #1A98FC; --blob-o: 0; --text: #0A0D3A; --text-2: #555969; --text-3: #555969; --glass: #FFFFFF; --glass-line: #E1E5EE; --tile: #B45309; --tile-ink: #FFFFFF; --chart-1: #0072B2; --chart-2: #D55E00; --chart-3: #007A5A; --chart-4: #B03A78; --chart-5: #1A1A1A; --chart-6: #858585; --hero-a: color-mix(in srgb, #041B9C 14%, #F4F6FB); --hero-b: color-mix(in srgb, #041B9C 5%, transparent); --hero-ink: #0A0D3A; color-scheme: light; }
/* THEME:neutral:END */
:root {
  --font: Inter, "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* glass blur and the label tones that are the same in every theme */
  --glass-blur: 10px;
  /* space (shape tokens --r, --r-sm, --r-tile, --r-pill live in the theme block) */
  --r-avatar: 12px; --gutter: 20px; --pad: 20px; --gap: 14px; --shadow: none;
  --top-h: 56px;
}
/* Organiser + staff pages stay light, sharing type, radii and pills. */
body.wide {
  --bg: #F4F6FB; --surface: #fff; --ink: #0A0D3A; --ink-2: #333640; --muted: #5B5F70; --line: #E1E5EE;
  --soft: #F2F5F8; --field: #fff; --field-line: #D3D8E4; --placeholder: #8A8FA0; --focus: #041B9C;
  --ok: #047857; --warn: #92400E; --err: #B91C1C; --live: #16A34A;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; font: 1rem/1.25 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
/* Large blurred colour fields behind the content (dark theme only). */
body.dark::before, body.dark::after { content: ""; position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(90px); opacity: var(--blob-o, .42); }
body.dark::before { width: 460px; height: 460px; inset-inline-start: -220px; bottom: -120px; background: var(--blob-1); }
body.dark::after { width: 420px; height: 420px; inset-inline-end: -240px; top: 28%; background: var(--blob-2); opacity: calc(var(--blob-o, .42) * .76); }
[hidden] { display: none !important; }
/* The icon sprite (ICON_SPRITE in src/views.ts): out of the flow, never painted; its <symbol>s stay usable. */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
a { color: inherit; }
img, svg { max-width: 100%; }
svg { height: auto; }
main { max-width: 600px; margin: 0 auto; padding: 0 var(--gutter) 40px; }
body.wide main { max-width: 1100px; padding-top: 12px; }
h1 { font-size: var(--fs-h1, 1.625rem); line-height: 1.2; font-weight: var(--head-weight, 700); letter-spacing: var(--head-track, -.02em); margin: 20px 0 12px; font-family: var(--font-head, inherit); }
h2 { font-size: var(--fs-h2, 1.25rem); line-height: 1.3; font-weight: var(--head-weight, 700); margin: 0 0 12px; letter-spacing: -.01em; font-family: var(--font-head, inherit); }
h3 { font-size: var(--fs-h3, 1.125rem); line-height: 1.3; font-weight: var(--head-weight, 700); margin: 0 0 10px; font-family: var(--font-head, inherit); }
body.wide { --font-head: var(--font); --fs-h1: 1.625rem; --fs-h2: 1.25rem; --fs-h3: 1.125rem; --head-weight: 700; --icon-w: 1.8; }

p { line-height: 1.4; }
.muted { color: var(--muted); } .small { font-size: 0.875rem; } .tiny { font-size: 0.75rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.center { text-align: center; } .warn-text { color: var(--warn); }
.sr, .dsub { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: #fff; color: #000; padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* icons */
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: var(--icon-w, 1.8); stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.ic.sm { width: 18px; height: 18px; } .ic.lg { width: 40px; height: 40px; stroke-width: 1.5; }

/* header band */
.top { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: calc(var(--top-h) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--gutter) 0; background: var(--band); color: #fff; }
.top nav { display: flex; gap: 4px; align-items: center; font-size: 0.875rem; font-weight: 500; }
.top nav a, .top nav button.link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: #fff; white-space: nowrap; }
@media (max-width: 420px) { .top { gap: 4px; } .top nav { gap: 0; } .top nav a, .top nav button.link { padding: 0 9px; } .logo { height: 26px; } }
.top nav a:hover, .top nav button.link:hover { background: rgba(255,255,255,.12); }
.top button.link { text-decoration: none; color: #fff; }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.logo { display: block; height: 28px; width: auto; }
.brandpic { display: block; line-height: 0; } /* <picture> around the wordmark (brandLogo in src/views.ts) */
.top :focus-visible { outline-color: #fff; }
.foot { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 12px; text-align: center; color: var(--muted); font-size: 0.8125rem; padding: 24px var(--gutter) 32px; }
.foot a { color: var(--ink-2); }
body:has(.tabbar) .foot { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
/* QA F17: footer feedback link meets the 44px touch-target minimum. */
.foot a.footlink { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 12px; }
/* QA F12: one-tap feedback in the event header. */
.evbar .fbbtn { margin-inline-start: auto; }
/* QA F8: agenda regrouped by the viewer's local day. */
.localagenda > .tiny { margin: 4px 0 8px; }
/* QA F9: optional public name field in the wall composer. */
.wallform input[name="display_name"] { flex: 1 1 100%; min-height: 44px; }

/* cards: glass on dark, white on light */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--pad); margin: var(--gap) 0; box-shadow: var(--shadow); color: var(--ink);
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur)); }
body.wide .card { -webkit-backdrop-filter: none; backdrop-filter: none; }
.card.narrow { max-width: 440px; margin: 28px auto; }
.card > :first-child { margin-top: 0; } .card > :last-child { margin-bottom: 0; }
.card.accent { background: linear-gradient(150deg, var(--band), #0A0D3A); color: #fff; border-color: transparent; --muted: rgba(255,255,255,.72); --focus: #fff; }
.card.accent .muted, .card.accent .tiny { color: rgba(255,255,255,.72); }
.card.accent code { background: rgba(255,255,255,.12); color: #fff; }
body.wide .card.accent a:not(.btn) { color: #fff; }
html { scrollbar-gutter: stable; } /* QA U12: the bottom nav doesn't shift when a scrollbar appears */
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .row.between { justify-content: space-between; } .row > label { flex: 1 1 9.5rem; min-width: 0; }
.row > label > .field-error { margin-inline-start: 0; }
.row:has(> label > .field-error) { align-items: flex-start; }
.stack { display: grid; gap: var(--gap); }
.stack > h1, .stack > h2, .stack > h3, .stack > p { margin: 0; }
.inline { display: inline; }
.grid2 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .grid2 { grid-template-columns: 1.6fr 1fr; } }

/* form controls */
label { display: grid; gap: 6px; font-size: 0.875rem; color: var(--muted); font-weight: 500; }
/* Text-like fields only: :where() keeps specificity at a bare `input` so component overrides still win. */
input:where(:not([type=checkbox], [type=radio], [type=range], [type=file], [type=color])), textarea, select { font: inherit; font-size: 1rem; color: var(--ink); width: 100%; min-height: 52px; padding: 0 20px; border: 1px solid var(--field-line); border-radius: 999px; background: var(--field); }
/* U4: checkboxes and radios are 20px native controls with the brand accent and a clear focus ring. */
/* min-width keeps 20px even where a feature stylesheet sets `width: auto` on its checkboxes. */
input:where([type=checkbox], [type=radio]) { width: 20px; min-width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; flex: none; vertical-align: middle; accent-color: var(--band); cursor: pointer; }
/* E2MAI-175: a checkbox or radio inside a label keeps its tap size. Feature rules such as .net-check input { width: auto } used to win over the rule above and left a 13px native box. */
input[type=time], input[type=date], input[type=datetime-local], input[type=number] { min-width: 0; max-width: 100%; }
label input[type=checkbox], label input[type=radio] { width: 22px; min-width: 22px; height: 22px; min-height: 0; flex: none; }
input:where([type=checkbox], [type=radio]):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
input:where([type=checkbox], [type=radio]):disabled { cursor: not-allowed; opacity: .6; }
label:has(> input:where([type=checkbox], [type=radio])) { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-weight: 400; cursor: pointer; }
label.inline:has(> input:where([type=checkbox], [type=radio])) { display: inline-flex; margin-inline-end: 16px; }
input:where([type=range]) { width: 100%; min-height: 0; padding: 0; accent-color: var(--band); }
input:where([type=file]) { font: inherit; font-size: 0.875rem; color: var(--ink); max-width: 100%; min-height: 0; padding: 0; }
input:where([type=range], [type=file]):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
body.dark input:where([type=checkbox], [type=radio], [type=range]) { accent-color: var(--accent); }
textarea { padding: 14px 18px; border-radius: var(--r); line-height: 1.4; resize: vertical; min-height: 88px; }
select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
option { color: #000; background: #fff; }
::placeholder { color: var(--placeholder); opacity: 1; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
input[type=hidden] { display: none; }
input.otp { font-size: 2rem; font-weight: 600; letter-spacing: .5em; text-indent: .5em; text-align: center; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; min-height: 72px; font-variant-numeric: tabular-nums; }
input.sm { min-height: 44px; padding: 0 16px; width: 170px; }

/* buttons */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; font: inherit; font-size: 1rem; font-weight: 600; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--accent); color: var(--accent-ink); cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .12s ease, filter .12s ease; }
.btn:hover { filter: brightness(1.06); } .btn:active { transform: scale(.98); }
.btn.sm { padding: 0 16px; font-size: 0.875rem; }
.btn.block { width: 100%; min-height: 56px; }
.btn.ghost { background: var(--soft); color: var(--ink); border-color: var(--line); }
.btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; transform: none; }
.btn[disabled]:not(.is-busy) { opacity: 1; background: transparent; color: var(--muted); border: 1px dashed currentColor; box-shadow: none; } /* QA U17 */
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); cursor: pointer; text-decoration: underline; min-height: 44px; }

/* notices, pills, badges */
.notice { padding: 12px 16px; border-radius: var(--r-sm); background: var(--soft); border: 1px solid var(--line); margin: 12px 0; font-size: 0.875rem; line-height: 1.4; }
/* warnings use the theme's warm tone pair (--tone-pin-bg / --tone-pin-ink, AA in every theme and mode: scripts/check_themes.ts),
   so they read on the dark page, on Noir's light sheets and in light themes alike (ATT-04's clash notice was pale on pale) */
.notice.warn { background: var(--tone-pin-bg); border-color: color-mix(in srgb, var(--tone-pin-ink) 35%, var(--tone-pin-bg)); color: var(--tone-pin-ink); }
.notice.warn a { color: inherit; }
.notice.error { background: rgba(255,16,16,.14); border-color: rgba(255,110,110,.5); color: #FFD6D6; }
body.wide .notice.warn { background: #FEF3C7; border-color: #FCD34D; color: #78350F; }
body.wide .notice.error { background: #FEE2E2; border-color: #FCA5A5; color: #7F1D1D; }
.notice.sticky { position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top)); z-index: 15; margin: 0 calc(-1 * var(--gutter)); border-radius: 0; border-width: 0 0 1px; background: #FFE2B8; color: #3A2200; font-weight: 600; text-align: center; text-wrap: balance; }
.pill { display: inline-flex; align-items: center; font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); background: var(--soft); color: var(--ink); white-space: nowrap; line-height: 1.2; }
.pill.s-live { background: #DCFCE7; color: #166534; } .pill.s-in_review { background: #FEF3C7; color: #92400E; } .pill.s-rejected { background: #FEE2E2; color: #991B1B; } .pill.s-draft { background: var(--soft); color: var(--ink-2); }
.pill.plan { background: var(--band); color: #fff; }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; min-height: 20px; padding: 0 6px; border-radius: 10px; background: var(--badge-bg); color: var(--badge-ink); font-size: 0.75rem; font-weight: 700; line-height: 1; }
.list { list-style: none; margin: 0; padding: 0; } .list > li { padding: 14px 0; border-top: 1px solid var(--line); } .list > li:first-child { border-top: 0; }
.list a { text-decoration: none; }

/* organiser bits (light pages) */
.stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.8125rem; color: var(--ink-2); margin-top: 8px; align-items: center; }
.stats.big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .stats.big b { font-size: 1.625rem; display: block; color: var(--ink); letter-spacing: -.02em; }
.bump { animation: bump .6s ease; } @keyframes bump { 0% { color: var(--live); transform: scale(1.25); } 100% { transform: none; } }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); display: inline-block; box-shadow: 0 0 0 0 rgba(22,163,74,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.copy { display: flex; gap: 8px; align-items: center; } .copy code { flex: 1; overflow-wrap: anywhere; font-size: 0.75rem; padding: 10px 12px; border-radius: var(--r-sm); }
.steps { padding-inline-start: 18px; } .steps li { margin: 8px 0; line-height: 1.4; }
.check { list-style: none; padding: 0; margin: 0 0 14px; } .check li { padding-block: 8px; padding-inline: 28px 0; position: relative; line-height: 1.4; }
.check li::before { position: absolute; inset-inline-start: 0; font-weight: 700; } .check .ok::before { content: "✓"; color: var(--ok); } .check .no::before { content: "○"; color: var(--err); } .check .opt::before { content: "–"; color: var(--muted); }
.traj { list-style: none; padding: 0; margin: 0; } .traj li { padding: 8px 0; border-top: 1px solid var(--line); }
details.card summary { cursor: pointer; min-height: 28px; }
body.wide a:not(.btn) { color: var(--band); }
body.wide .top a, body.wide .list a { color: inherit; }

/* ---------- sign in / verify (monochrome) ---------- */
body:has(.authwrap) { --bg: #0B0B0F; }
body:has(.authwrap)::before, body:has(.authwrap)::after { display: none; }
body:has(.authwrap) .top { background: transparent; }
.authwrap { display: grid; place-items: center; min-height: calc(100dvh - 160px); padding: 24px 0; }
.authcard { width: 100%; max-width: 420px; background: #F2F2F2; color: #000; border-radius: 24px; padding: 32px 24px 24px; --focus: #000; --muted: #3F3F46; }
.authmark { display: block; width: 56px; height: 56px; margin: 0 0 20px; border-radius: 16px; }
.authcard h1 { font-size: 1.875rem; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.03em; overflow-wrap: anywhere; }
.authsub { color: #3F3F46; margin: 0 0 20px; font-size: 1rem; line-height: 1.4; }
.authcard label { color: #3F3F46; }
.authcard input { min-height: 56px; background: #fff; border-color: #D4D4D8; color: #000; padding: 0 22px; }
.authcard input.otp { min-height: 72px; font-size: 2rem; }
.authcard ::placeholder { color: #8E8E96; }
.authcard .btn { background: #000; color: #fff; }
.authcard .notice { background: #fff; border: 1px dashed #A1A1AA; color: #18181B; }
.authcard .notice .mono { font-size: 1.125rem; letter-spacing: .12em; }
.authcard .notice.error { background: #FEE2E2; border: 1px solid #FCA5A5; color: #7F1D1D; }
.authcard button.link { color: #000; font-weight: 600; }
.authfoot, .resend { margin: 18px 0 0; font-size: 0.875rem; color: #52525B; text-align: center; }
.authfoot a { color: #000; font-weight: 600; display: inline-block; padding: 12px 0; }

/* ---------- home / directory ---------- */
.dhero { padding: 32px 0 8px; }
.dhero h1 { font-size: 1.875rem; line-height: 1.133; margin: 6px 0 10px; }
.lede { color: var(--muted); font-size: 1rem; line-height: 1.4; margin: 0 0 22px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 0.75rem; font-weight: 600; color: var(--muted); margin: 0; }
.joinbar { display: flex; align-items: center; gap: 6px; min-height: 56px; padding-block: 5px; padding-inline: 0 5px; border-radius: 999px; background: var(--field); border: 1px solid var(--field-line); }
.joinbar:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.joinbar input { border: 0; background: transparent; min-height: 44px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.joinbar input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; }
.joinbar input:focus { outline: 0; }
.dsect { margin-top: 28px; }
.sect { font-size: 1.25rem; margin: 0 0 var(--gap); }
.secthead { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: var(--gap); }
.secthead .sect { margin: 0; }
.minisearch { display: flex; align-items: center; gap: 8px; padding-inline-start: 14px; border-radius: 999px; background: var(--field); border: 1px solid var(--field-line); color: var(--muted); width: 170px; }
.minisearch:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.minisearch input { border: 0; background: transparent; min-height: 44px; padding-block: 0; padding-inline: 0 14px; }
.minisearch input:focus { outline: 0; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--gap); }
.evcard { display: flex; align-items: center; gap: 14px; margin: 0; padding-block: 14px; padding-inline: 14px 16px; text-decoration: none; transition: background .15s ease; }
.evcard:hover { background: var(--soft); }
.datetile { display: grid; place-items: center; align-content: center; flex: none; width: 58px; height: 58px; border-radius: 16px; background: var(--soft); line-height: 1; }
.datetile b { font-size: 1.375rem; } .datetile span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 4px; }
.evtext { display: grid; gap: 4px; flex: 1; min-width: 0; }
.evname { font-size: 1.0625rem; line-height: 1.294; }
.chev { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); flex: none; }
.card.cta { margin-top: 28px; text-align: center; padding: 28px var(--pad); background: linear-gradient(150deg, rgba(4,27,156,.85), rgba(26,152,252,.22)); }
.card.cta p { margin: 0 0 18px; }
.empty { display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--muted); padding: 40px 12px; }
.empty .ic.lg { opacity: .7; }
.empty p { margin: 0; color: var(--muted); max-width: 34ch; line-height: 1.45; }
.empty p b { display: block; color: var(--ink); font-size: 1.0625rem; margin-bottom: 4px; }
.empty a { color: inherit; font-weight: 600; }

/* ---------- attendee event app ---------- */
/* One-time event splash (static/splash.js shows it once per browser session, ~1 s after the page has loaded). */
.evsplash { display: none; }
.evsplash.on { display: flex; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; text-align: center;
  padding: calc(32px + env(safe-area-inset-top)) 28px calc(32px + env(safe-area-inset-bottom)); color: #fff;
  background: radial-gradient(120% 80% at 85% 0%, rgba(231,17,108,.45), rgba(231,17,108,0) 60%), linear-gradient(180deg, var(--band), var(--bg)); }
.evsplash.out { animation: evsplash-out .28s ease forwards; }
@keyframes evsplash-out { to { opacity: 0; visibility: hidden; } }
.evsplash .evcover { position: absolute; inset: 0; margin: 0; border-radius: 0; aspect-ratio: auto; box-shadow: none; background: none; }
.evsplash .evcover img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.evsplash-in { position: relative; z-index: 1; max-width: 520px; display: flex; flex-direction: column; align-items: center; }
.evsplash .evlogo { width: 96px; height: 96px; border-radius: 24px; background: #fff; object-fit: contain; padding: 10px; margin-bottom: 18px; }
.evsplash-name { font-size: 2rem; line-height: 1.12; font-weight: 700; margin: 6px 0 14px; overflow-wrap: anywhere; }
.evsplash .evmeta { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .evsplash.out { animation: none; display: none; } }
.evmeta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; color: var(--text-2); font-size: 0.875rem; }
.evmeta span { display: inline-flex; align-items: center; gap: 6px; }
.evbar { position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top)); z-index: 12; display: flex; align-items: center; gap: 8px; margin: 0 calc(-1 * var(--gutter)) 12px; padding: 8px var(--gutter);
  background: var(--bg); background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.evbar-t { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.evbar-logo { width: 32px; height: 32px; flex: none; border-radius: 9px; background: #fff; object-fit: contain; padding: 2px; }
.evbar-tt { min-width: 0; display: flex; flex-direction: column; }
.evname { font-size: 0.75rem; line-height: 1.333; color: var(--text-2); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evbar .screen { font-size: 1.25rem; line-height: 1.2; }
/* Event app pages (event home and detail pages): the event's own bar is the top bar, so the site header is hidden and
   that bar reaches into the status-bar area (the native app draws edge to edge on iOS). */
body:has(> main > .app:not(.is-preview)) { --top-h: 0px; }
body:has(> main > .app:not(.is-preview)) > .top { display: none; }
body:has(> main > .app:not(.is-preview)) :is(.evbar, .dt-top) { top: 0; padding-top: calc(8px + env(safe-area-inset-top)); }
.app.is-preview .evbar { position: static; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.screen { flex: 1; min-width: 0; font-size: 1.5rem; line-height: 1.2; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iconbtn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; color: var(--ink); text-decoration: none; background: var(--soft); border: 1px solid var(--line); }
.me { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; flex: none; background: var(--tile); color: var(--tile-ink, #fff); font-weight: 700; font-size: 0.9375rem; }
.pill-link { display: inline-flex; flex: none; white-space: nowrap; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--band); font-weight: 600; font-size: 0.875rem; text-decoration: none; }

.sharebtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 14px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 0.875rem; font-weight: 600;
  color: var(--ink); background: var(--soft); border: 1px solid var(--line); cursor: pointer; }
.sharebtn:hover { background: var(--line); }

/* bottom tab bar */
.tabbar { position: fixed; z-index: 30; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 600px); display: flex;
  background: var(--tabbar); border-radius: 15px 15px 0 0; padding: 3px 3px calc(3px + env(safe-area-inset-bottom)); --focus: var(--tab-on);
  box-shadow: 0 -4px 16px color-mix(in srgb, var(--solid-ink) 28%, transparent), 0 -1px 4px color-mix(in srgb, var(--solid-ink) 16%, transparent); }
.tabbar :is(button, a) { position: relative; text-decoration: none; flex: 1 1 0; -webkit-tap-highlight-color: transparent; min-width: 0; min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font: inherit; font-size: 0.6875rem; font-weight: 500; color: var(--tab-ink); background: none; border: 0; border-radius: 12px; cursor: pointer; padding: 6px 2px; }
.tabbar :is(button, a) .lbl { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabbar :is(button, a).on, .tabbar button.sub { color: var(--tab-on); font-weight: 600; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tab-ink) 30%, transparent); }
.tabbar .badge { position: absolute; top: 4px; inset-inline-start: 50%; margin-inline-start: 6px; min-width: 18px; min-height: 18px; font-size: 0.6875rem; padding: 0 5px; }
.panel { display: none; } .panel.on { display: block; }
.panel > .card:first-child { margin-top: 0; }

/* agenda */
.days { display: flex; gap: 10px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 12px; padding: 3px var(--gutter); scrollbar-width: none; scroll-snap-type: x proximity; }
.days::-webkit-scrollbar { display: none; }
.dpill { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-weight: 500; font-size: 0.875rem; text-decoration: none; white-space: nowrap; scroll-snap-align: start; }
.dpill.on { background: var(--accent); color: var(--accent-ink); font-weight: 600; box-shadow: none; }
.search { position: relative; display: flex; align-items: center; margin: 0 0 12px; color: var(--text-2); }
.search .ic { position: absolute; inset-inline-start: 16px; pointer-events: none; }
.search input { padding-inline-start: 50px; border-radius: 999px; background: var(--field); border-color: var(--field-line); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / 18px no-repeat; }
.tzrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 4px; min-height: 44px; }
/* UX-04: the line and the switch show only when the device's zone differs from the event's; the row's space is reserved, so revealing it never shifts the page */
.tzrow > * { visibility: hidden; } .tzrow.differs > * { visibility: visible; }
.tzrow b { color: var(--ink); font-weight: 600; }
.seg { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 0; }
.seg button { font: inherit; font-size: 0.8125rem; font-weight: 500; border: 0; background: none; min-height: 44px; padding: 0 14px; border-radius: 999px; cursor: pointer; color: var(--text-2); }
.seg .on { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
h3.day { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 22px 0 10px; }
.sessions { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--gap); }
.session { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; scroll-margin-top: calc(var(--top-h) + 84px + env(safe-area-inset-top)); padding: var(--pad); border-radius: var(--r-tile);
  background: var(--surface); border: 1px solid var(--line); -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur)); }
.session .what { min-width: 0; display: grid; gap: 6px; }
.session .time { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 0.8125rem; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.session .time .muted { color: var(--muted); }
.session .time .dash { color: var(--text-3); }
.session .time .pill { margin-inline-start: 4px; }
.stitle { font-size: 1.1875rem; line-height: 1.37; font-weight: 600; margin: 2px 0; overflow-wrap: anywhere; }
.meta { display: flex; align-items: flex-start; gap: 6px; font-size: 0.875rem; line-height: 1.286; color: var(--muted); margin: 0; }
.meta .ic { margin-top: 0; }
.star { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; text-decoration: none; background: var(--soft); color: var(--ink); transition: background .15s ease, transform .12s ease; }
.star .ic { width: 22px; height: 22px; }
.star:hover { background: var(--line); }
.star.on { background: var(--accent); color: var(--accent-ink); }
.star.on .ic { fill: currentColor; }
.star:active { transform: scale(.94); }
.bm { margin: 0; }
.nomatch { text-align: center; padding: 24px 0; }
.byday .dayg:not(.on) { display: none; }
.byday .dayg > h3.day { margin-top: 10px; }

/* speakers */
.people { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--gap); }
.people li { display: flex; gap: 12px; align-items: center; min-height: 100px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur)); }
.people li > div { display: grid; gap: 4px; min-width: 0; }
.people img, .avatar { width: 70px; height: 70px; border-radius: var(--r-avatar); object-fit: cover; flex: none; background: var(--soft); }
.avatar { display: grid; place-items: center; background: var(--tile); color: var(--tile-ink, #fff); font-weight: 700; font-size: 1.375rem; }
.pname { font-size: 1.0625rem; line-height: 1.294; font-weight: 600; }
.ptitle { font-size: 0.875rem; line-height: 1.43; color: var(--muted); }
.pco { font-size: 0.8125rem; line-height: 1.385; color: var(--muted); text-transform: uppercase; }

/* sponsors */
.chips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.chips li, .chips li > a { display: grid; justify-items: center; align-content: center; gap: 8px; text-align: center; }
.chips li { min-height: 132px; padding: 18px 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur)); font-weight: 600; }
.chips li > a { text-decoration: none; margin: -18px -12px; padding: 18px 12px; min-height: 132px; border-radius: inherit; }
.slogo { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-sm); background: #fff; color: var(--band); font-weight: 700; font-size: 1.125rem; letter-spacing: -.02em; border: 1px solid var(--line); }
.sname { font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; }

/* social wall */
.composer { display: flex; align-items: flex-end; gap: 10px; margin: 0 0 var(--gap); padding: 12px; border-radius: var(--r); background: var(--solid); color: var(--solid-ink); --focus: var(--band); }
.composer p { margin: 0; align-self: center; color: var(--solid-meta); }
.composer a { color: var(--band); font-weight: 600; }
.composer textarea { flex: 1; min-height: 44px; height: 44px; padding: 11px 16px; border-radius: 22px; resize: none; background: #fff; color: #000; border: 1px solid #C9CDE0; }
.composer textarea:focus { height: 88px; }
.composer textarea::placeholder { color: #6B6F7E; }
.av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; flex: none; background: var(--band); color: #fff; font-weight: 700; font-size: 0.9375rem; }
.wall { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--gap); }
.wall li { padding: 16px var(--pad) 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur)); }
.phead { display: flex; align-items: center; gap: 12px; }
.phead .av { width: 40px; height: 40px; font-size: 0.875rem; background: var(--tile); }
.phead b { font-size: 1rem; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.wall p { margin: 12px 0 0; font-size: 1rem; line-height: 1.375; color: var(--ink-2); overflow-wrap: anywhere; white-space: pre-line; }
.wall li.fresh { animation: fresh 1.4s ease; } @keyframes fresh { from { background: rgba(255,158,24,.22); } }

/* more: feature tiles */
.tiles { list-style: none; padding: 0; margin: 0 0 var(--gap); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 12px; }
.tile { position: relative; width: 100%; display: grid; justify-items: center; align-content: start; gap: 8px; padding: 0; font: inherit; font-size: 0.75rem; font-weight: 500; line-height: 1.25; text-align: center;
  color: var(--ink); text-decoration: none; border-radius: var(--r-sm); background: none; border: 0; cursor: pointer; }
/* a 72px square at most, holding a 28px icon (both percentages resolve against the tile's width) */
.tile .ic { box-sizing: border-box; width: min(100%, 72px); height: auto; aspect-ratio: 1; padding: calc((min(100%, 72px) - 28px) / 2); border-radius: var(--r-sm);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.tile:hover .ic { background: var(--soft); }
.tile.on .ic { box-shadow: inset 0 0 0 2px var(--ink); }
.tile .badge { position: absolute; top: -6px; inset-inline-end: max(0px, calc(50% - 42px)); }
.about p { margin: 0 0 10px; line-height: 1.45; color: var(--ink-2); }
.about .meta { margin: 8px 0 0; align-items: center; }
.about .sharebtn { margin-top: 16px; }
.acct-row { display: flex; flex-wrap: wrap; gap: 8px; }
.acct .small { margin: 0 0 10px; }
.fbform h3 { margin: 0; }

/* comfortable widths */
@media (min-width: 640px) {
  .notice.sticky { margin: 0; border-radius: 0 0 var(--r-sm) var(--r-sm); }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; --pad: 16px; }
  .minisearch { width: 130px; }
}

/* ---------- polish: shared micro-UX ---------- */
main:focus { outline: none; }
.top { transition: box-shadow .2s ease; }
.top.scrolled { box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 8px 24px rgba(0,0,0,.18); }
.foot span { padding: 0 4px; }
.optional { font-weight: 400; color: var(--muted); }
.hint { margin: -6px 0 0; font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }
.trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: 0.875rem; color: #3F3F46; }
.trust .ic { flex: none; }
.center-row { justify-content: center; }

/* inline validation */
.req { color: var(--err); font-weight: 700; }
.field-error { display: flex; align-items: center; gap: 6px; margin-block: 2px 0; margin-inline: 4px 0; font-size: 0.8125rem; font-weight: 500; color: var(--err); }
.field-error::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--err); color: var(--bg); font-size: 0.6875rem; font-weight: 800; flex: none; }
[aria-invalid="true"] { border-color: var(--err) !important; }
.authcard .field-error { color: #B91C1C; } .authcard .field-error::before { background: #B91C1C; color: #fff; }
.authcard [aria-invalid="true"] { border-color: #DC2626 !important; }

/* busy buttons: spinner + disabled, no double submits */
.btn.is-busy, button.link.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-busy > *, button.link.is-busy > * { visibility: hidden; }
.btn.is-busy::after, button.link.is-busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--accent-ink); border-inline-end-color: transparent; animation: spin .7s linear infinite; }
.authcard .btn.is-busy::after { border-color: #fff; border-inline-end-color: transparent; }
.btn.ghost.is-busy::after, button.link.is-busy::after { border-color: var(--ink); border-inline-end-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

/* toasts */
.toasts { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 8px; width: min(calc(100% - 32px), 420px); pointer-events: none; }
body:has(.tabbar) .toasts { bottom: calc(96px + env(safe-area-inset-bottom)); }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #fff; color: #0A0D3A; font-size: 0.9375rem; font-weight: 500; line-height: 1.35;
  box-shadow: 0 10px 30px rgba(4,6,40,.35); pointer-events: auto; animation: toast-in .22s ease both; }
body.wide .toast { background: #0A0D3A; color: #fff; }
.toast .ic { width: 20px; height: 20px; color: var(--live); flex: none; }
.toast.err .ic { color: #DC2626; }
.toast.out { animation: toast-out .2s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(6px); } }

/* offline banner */
.offline { position: fixed; z-index: 70; top: 0; inset-inline-start: 0; inset-inline-end: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: calc(8px + env(safe-area-inset-top)) 16px 8px; background: #FFC56B; color: #2B1700; font-size: 0.875rem; font-weight: 600; text-align: center; }

/* PWA install prompt */
.install { position: fixed; z-index: 40; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom)); width: min(calc(100% - 24px), 560px);
  display: flex; align-items: center; gap: 12px; padding-block: 10px; padding-inline: 12px 8px; border-radius: 20px; background: #fff; color: #0A0D3A; box-shadow: 0 12px 40px rgba(4,6,40,.4); --focus: #041B9C; }
body:has(.tabbar) .install { bottom: calc(92px + env(safe-area-inset-bottom)); }
.install img { border-radius: 12px; flex: none; }
.install-t { display: grid; gap: 2px; flex: 1; min-width: 0; font-size: 0.8125rem; line-height: 1.3; color: #333640; }
.install-t b { font-size: 0.9375rem; color: #0A0D3A; }
.install .iconbtn { color: #333640; background: #F2F5F8; border-color: transparent; }

/* skeleton placeholders */
.skel { background: linear-gradient(100deg, var(--soft) 30%, var(--line) 50%, var(--soft) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s ease-in-out infinite; }
.skel.loaded { animation: none; background: none; }
body.wide .skel { background-image: linear-gradient(100deg, #EEF1F7 30%, #F8F9FC 50%, #EEF1F7 70%); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* agenda: now line, live / next badges, session actions */
.sact { display: grid; gap: 8px; justify-items: center; align-self: start; }
.cal { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink-2); text-decoration: none; }
.cal:hover { background: var(--soft); }
.lbadge { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 6px; padding: 3px 10px; border-radius: var(--r-label); font-size: 0.75rem; font-weight: 700; letter-spacing: .02em; line-height: 1.3; }
.lbadge.live { background: #DCFCE7; color: #14532D; }
.lbadge.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #16A34A; animation: pulse 2s infinite; }
.lbadge.next { background: rgba(255,158,24,.18); color: #FFD9A3; border: 1px solid rgba(255,158,24,.45); }
@property --live-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.session.is-live { border: 2px solid transparent; padding: calc(var(--pad) - 1px); animation: live-border-spin 6s linear infinite;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(var(--bg), var(--bg)) padding-box,
    conic-gradient(from var(--live-angle, 0deg), color-mix(in srgb, var(--live) 18%, transparent) 0deg 270deg, color-mix(in srgb, var(--live) 55%, transparent) 290deg, var(--live) 315deg, color-mix(in srgb, var(--live) 55%, transparent) 340deg, color-mix(in srgb, var(--live) 18%, transparent) 360deg) border-box; }
@keyframes live-border-spin { to { --live-angle: 360deg; } }
.session.is-past { opacity: .62; }
.session.is-past:hover, .session.is-past:focus-within { opacity: 1; }
.nowline { list-style: none; display: flex; align-items: center; gap: 10px; margin: -4px 0; color: var(--accent); font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.nowline::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,158,24,.22); flex: none; }
.nowline::after { content: ""; height: 2px; flex: 1; border-radius: 2px; background: linear-gradient(90deg, var(--accent), rgba(255,158,24,0)); }

/* system pages: 404, 410, 500, thank-you */
.errwrap { display: grid; place-items: center; min-height: calc(100dvh - 200px); padding: 32px 0; }
.errcard { width: 100%; max-width: 460px; text-align: center; padding: 36px 24px 28px; border-radius: var(--r-tile); background: var(--surface); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur)); }
.errcard h1 { margin: 6px 0 10px; font-size: 1.625rem; }
.errcard > p.muted { margin: 0 auto 22px; max-width: 36ch; line-height: 1.5; }
.erricon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 14px; border-radius: 24px; background: var(--soft); color: var(--accent); }
.errcard.ok .erricon { color: var(--live); }
.errcard .row { gap: 10px; }

/* organiser: page head, event list, admin IA */
.pagehead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin: 20px 0 8px; }
.pagehead h1 { margin: 4px 0 6px; }
.pagehead p.muted { margin: 0; font-size: 0.9375rem; }
.pagehead .pill { margin-top: 8px; }
.crumbs { margin: 16px 0 0; font-size: 0.875rem; }
.crumbs a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 600; text-decoration: none; }
.evlist > li { display: grid; gap: 6px; }
.evrow { display: flex; align-items: center; gap: 12px; min-height: 52px; border-radius: var(--r-sm); margin: -6px -8px; padding: 6px 8px; }
.evrow:hover { background: var(--soft); }
.evrow .evtext { flex: 1; } .evrow .evname { font-size: 1rem; line-height: 1.375; color: var(--ink); font-weight: 700; } /* rem + unitless (SCN-J3): same 16/22 px, doubles at 200% text */
body.wide .chev { background: var(--soft); }
.emptycard { text-align: center; display: grid; justify-items: center; gap: 6px; padding: 32px var(--pad); }
.emptycard .ic.lg { color: var(--band); margin-bottom: 6px; }
.emptycard p { max-width: 52ch; }
details.card > summary { list-style: none; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; min-height: 44px; align-content: center; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary::after { content: "+"; margin-inline-start: auto; font-size: 1.375rem; font-weight: 500; line-height: 1; color: var(--muted); }
details.card[open] > summary::after { content: "–"; }
details.card[open] > summary { margin-bottom: var(--gap); }
.steps.numbered { list-style: none; counter-reset: step; padding: 0; margin: 14px 0; display: grid; gap: 12px; }
.steps.numbered li { counter-increment: step; position: relative; padding-inline-start: 36px; margin: 0; }
.steps.numbered li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: -1px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-size: 0.8125rem; font-weight: 700; }
.steps.numbered .copy { margin-top: 8px; }
.card.accent .tiny a, .card .tiny a { display: inline-block; padding: 6px 0; }
.card.accent details summary { cursor: pointer; padding: 10px 0; }
progress.progress { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 8px; margin: 4px 0 14px; border: 0; border-radius: 999px; background: var(--soft); overflow: hidden; color: var(--live); }
progress.progress::-webkit-progress-bar { background: var(--soft); border-radius: 999px; }
progress.progress::-webkit-progress-value { background: var(--live); border-radius: 999px; transition: width .4s ease; }
progress.progress::-moz-progress-bar { background: var(--live); border-radius: 999px; }
.quick .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.quick .btn .ic, .card .btn .ic { margin-inline-start: -4px; }
.adminsec { margin-top: 28px; }
.sechead { display: flex; align-items: center; gap: 12px; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 4px; }
.sechead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cardgrid { column-count: 1; column-gap: 20px; }
@media (min-width: 900px) { .cardgrid { column-count: 2; } }
.cardgrid > .card { display: block; width: 100%; margin: var(--gap) 0 0; break-inside: avoid; -webkit-column-break-inside: avoid; }
.card.center svg { width: 180px; height: 180px; margin: 4px auto 0; display: block; border-radius: 12px; }
.check li.ok { color: var(--ink); } .check li.no { color: var(--ink); } .check li.opt { color: var(--ink-2); }

/* staff review queue */
.rq > li { display: grid; gap: 12px; }
.rqform { display: grid; gap: 10px; }
.rqform input { min-height: 44px; }
.pill.s-draft { background: #E0E7FF; color: #1E3A8A; }

/* accessibility preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* Neutral dark has see-through cards; with reduced transparency they become a solid navy. Only there: every other theme
   and mode already has solid cards of its own colour. */
@media (prefers-reduced-transparency: reduce) {
  body.dark { --glass-blur: 0px; }
  :root:is(:not([data-theme]), [data-theme="neutral"])[data-scheme="dark"] body.dark { --surface: #1B1F55; }
  @media (prefers-color-scheme: dark) { :root:is(:not([data-theme]), [data-theme="neutral"]):not([data-scheme]) body.dark { --surface: #1B1F55; } }
  body.dark::before, body.dark::after { display: none; }
}
@media (forced-colors: active) {
  .card, .session, .people li, .wall li, .tile, .dpill, .star { border: 1px solid CanvasText; }
  .tabbar :is(button, a).on, .dpill.on { outline: 2px solid Highlight; }
}

/* In-app navigation inside an event (static/nav.js): a thin progress bar while a page loads (only if it takes a moment),
   and a short slide for the new screen. Transforms go on the content, never on <main>, so the fixed tab bar stays put. */
.navbar-progress { position: fixed; z-index: 200; top: 0; inset-inline-start: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: 0 50%;
  transform: scaleX(0); opacity: 0; transition: opacity .15s; pointer-events: none; }
.navbar-progress.on { opacity: 1; animation: nav-progress 1.2s ease-out forwards; }
@keyframes nav-progress { from { transform: scaleX(.08); } to { transform: scaleX(.85); } }
.nav-in { animation: nav-in .2s ease-out; }
.nav-back { animation: nav-back .18s ease-out; }
@keyframes nav-in { from { opacity: .4; transform: translateX(28px); } }
@keyframes nav-back { from { opacity: .6; transform: translateX(-20px); } }
@media (prefers-reduced-motion: reduce) { .nav-in, .nav-back, .navbar-progress.on { animation: none; } }

/* ---- relative times (ALRT-08): a quiet chip after the exact time; the live badge replaces "Live now" on running sessions ---- */
.rel { font-size: 0.8125rem; font-weight: 500; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.session .time .rel { margin-inline-start: 2px; }
.session.is-live .time .rel { display: none; }
.rel.is-live { color: var(--ok); font-weight: 600; }

/* ---- Now / Next row (ATT-01): every track's live session side by side; swipe sideways on a phone ---- */
.nowrow { margin: 0 0 12px; }
.nowlead { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.nowlead .rel { font-size: inherit; font-weight: 600; color: var(--accent); }
.nowrow-h { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nowrow-h b { color: var(--accent); }
.nowchips { list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.nowchips::-webkit-scrollbar { display: none; }
.nowchip { flex: 0 0 min(78%, 280px); scroll-snap-align: start; }
.nowchip > a, .nowchip > div { display: grid; gap: 4px; min-height: 44px; padding: 12px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); height: 100%; }
.nowchip.live > a, .nowchip.live > div { border-color: var(--live); }
.nowchip-t { font-size: 1rem; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.nowchip-m { font-size: 0.8125rem; color: var(--muted); }
.nowchip-r .rel { color: var(--ink-2); }
.nowchip.live .nowchip-r .rel { color: var(--ok); font-weight: 600; }
@media (min-width: 640px) { .nowchips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 2px 0 6px; } .nowchip { flex-basis: calc(50% - 5px); } }

/* ---- pinned announcements (ALRT-09): a banner on every tab until the pin expires ---- */
.pinbanners { display: grid; gap: 8px; margin: 0 0 12px; }
.pinbanner { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--accent); border-radius: var(--r); background: var(--tone-pin-bg); color: var(--tone-pin-ink); font: inherit; font-size: 0.9375rem; font-weight: 600; text-align: start; cursor: pointer; }
.pinbanner-t { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pinbanner .ic { flex: none; }

/* ---- Text at 200% (SCN-J3). Type is in rem, so a larger browser text size or a doubled root size scales it. static/app.js adds
   .bigtext on <html> when the root size reaches 24px (150%): five tab labels cannot fit a phone then, so the tab bar shows its icons
   and keeps the labels as the buttons' accessible names; titles wrap instead of being cut with an ellipsis. ---- */
.bigtext .tabbar .lbl { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bigtext .tabbar button { min-height: 56px; }
.bigtext .tabbar .ic { width: 28px; height: 28px; }
.bigtext .evbar .evname, .bigtext .evbar .screen { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.bigtext .evbar { flex-wrap: wrap; align-items: center; }
.bigtext .evbar-t { order: 3; flex: 1 1 100%; }
.bigtext .evbar .fbbtn { margin-inline-start: auto; }
.bigtext .session { grid-template-columns: 1fr; }
.bigtext .session .sact { display: flex; gap: 12px; justify-items: initial; }
.bigtext .nowchip { flex-basis: min(92%, 320px); }
/* UX-12: chips for the panels inside one tab (Home: Alerts, Live Q&A, Watch; Expo: Exhibitors, Sponsors, Products; Network: People, Meetings, Connections) */
.subnav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 12px calc(-1 * var(--gutter)) 4px; padding: 0 var(--gutter) 4px; }
.subnav::-webkit-scrollbar { display: none; }
.subchip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--soft); color: var(--ink); font: inherit; font-size: 0.9375rem; font-weight: 500; cursor: pointer; white-space: nowrap; }
/* Text on an ink-coloured pill (a selected chip or segment). The page background by default; a mode with card tokens
   (Noir dark: light cards on a black page) sets it to the card's own surface inside cards, so it never matches the pill. */
:root { --on-ink: var(--bg); }
.subchip.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); font-weight: 600; }
.subchip .badge { position: static; }
.moved-hint { position: fixed; z-index: 31; left: 50%; transform: translateX(-50%); bottom: calc(92px + env(safe-area-inset-bottom)); width: min(calc(100% - 24px), 560px); box-shadow: 0 8px 24px rgba(0,0,0,.25); display: flex; align-items: center; gap: 8px; margin: 0; padding-block: 8px; padding-inline: 14px 8px; border-radius: var(--r-sm); background: var(--tone-info-bg); color: var(--tone-info-ink); font-size: 0.875rem; line-height: 1.35; }
.moved-hint .iconbtn { color: var(--tone-info-ink); background: transparent; border-color: transparent; margin-inline-start: auto; }
/* Home: now and next, alerts, shortcuts */
.homenow h3 { margin-bottom: 6px; }
.hnlist { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; gap: 8px; }
.hn > a, .hn > div { display: grid; grid-template-columns: 4.5rem 1fr; gap: 2px 12px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--soft); text-decoration: none; color: var(--ink); }
.hn-k { grid-row: span 2; font-weight: 700; font-size: 0.875rem; color: var(--muted); align-self: center; }
.hn.live .hn-k { color: var(--ok); }
.hn-t { font-weight: 600; line-height: 1.3; }
.homealerts { display: flex; align-items: center; gap: 14px; width: 100%; text-align: start; font: inherit; color: var(--ink); cursor: pointer; }
.homealerts .ha-t { display: grid; gap: 2px; flex: 1; }
.homealerts .badge { position: static; }
.appearance .seg button { min-height: 44px; padding: 0 16px; border: 0; background: transparent; color: var(--ink); font: inherit; border-radius: 999px; cursor: pointer; }
.appearance .seg button.on { background: var(--ink); color: var(--on-ink); font-weight: 600; }
/* SCN-O5 token bridge: a few module stylesheets (details.css, wall.css) were written for the dark page only. These rules give the
   same parts theme tokens (in the Neutral dark mode the tokens equal the old values, so nothing changes there); ":root" raises them
   above the module rule. New module CSS should use the tokens directly. */
:root .dt-top { background: var(--bg); background: color-mix(in srgb, var(--bg) 82%, transparent); }
:root .dt-seg { background: linear-gradient(180deg, var(--bg) 70%, transparent); }
:root .dt-seg a, :root .dt-link { color: var(--ink); background: var(--soft); border-color: var(--line); }
:root .dt-link:hover { background: var(--line); }
:root .dt-seg a.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
:root .dt-chip { color: var(--ink); border-color: var(--line); background: var(--soft); }
:root .dt-sheet { background: var(--surface); }
:root .dt-sheet::before { background: var(--line); }
:root .star.dt-save { border-color: var(--line); }
:root .session:has(.rowlink:hover), :root .people li:has(.rowlink:hover) { border-color: var(--muted); }
:root .roomlink { text-decoration-color: var(--muted); }
:root a.dt-card:hover, :root .dt-card.dt-stretch:has(.dt-cardlink:hover) { border-color: var(--muted); background: var(--soft); }
:root .wtags .wchip.tag { background: var(--soft); }
:root .wsx .seg .on { background: var(--ink); color: var(--on-ink); }
:root .dt-hero { background: linear-gradient(180deg, var(--hero-a) 0%, var(--hero-b) 62%, transparent 100%); color: var(--hero-ink); --ink: var(--hero-ink); }
:root .dt-hero .dt-chip.dt-track { color: var(--hero-ink); }
:root .dt-hero .dt-chip.dt-soon, :root .dt-chip.dt-tier { color: var(--tone-pin-ink); background: var(--tone-pin-bg); border-color: transparent; }
/* DEMO-01: the detail pane exists only from 768 px landscape / 1024 px up (static/desktop.css, loaded with a media query so phones
   never wait for it). At min-width: 1024px the app becomes three panes: navigation, list and detail. */
.detailpane { display: none; }
.kbdopt { display: flex; gap: 8px; align-items: center; margin-top: 12px; min-height: 44px; }
@media (min-width: 1024px) { .kbdopt { display: flex; } }
@media (max-width: 1023px) { .kbdopt { display: none; } }
/* kiosk (?kiosk=1, static/theme.js): a help-desk laptop or hall screen. No sign-in, nothing personal, larger type. */
:root[data-kiosk] { font-size: 112.5%; }
:root[data-kiosk] :is(.pill-link, .me, .acct, .fbbtn, .install, [href*="/login"], .star, .bmtog, .cal, .appearance, [data-tab="myagenda"], [data-tab="meet"], [data-tab="connections"]) { display: none !important; }
/* UX-08 login help (src/features/help.ts) inside the light sign-in card */
.loginhelp { margin-top: 16px; border-top: 1px solid #D4D4D8; padding-top: 12px; }
.loginhelp summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-weight: 600; }
.lh-in { display: grid; gap: 10px; }
.lh-topics { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.authcard .lh-topics .tchip { background: #FFFFFF; color: #000000; border: 1px solid #A1A1AA; min-height: 36px; }
.lh-answer:not(:empty) { padding: 10px 12px; border-radius: 12px; background: #FFFFFF; border: 1px solid #D4D4D8; }
.lh-answer p { margin: 0 0 6px; }
.authcard .lh-form .btn { justify-self: start; }
.evbar .helpbtn { margin-inline-start: auto; }
.evbar .helpbtn + .fbbtn { margin-inline-start: 0; }

/* Form groups that can be switched off as a whole (new event at the plan limit: QA H3). */
fieldset.plain { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.plain[disabled] { opacity: .55; }
/* Delete this draft (QA H2): tucked away under Event details. */
details.danger-zone { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
details.danger-zone > summary { cursor: pointer; }

/* ---------- Santanu's Lovable layout (UI-v2), fitted to the approved tabs ---------- */
/* Home: the "Explore" tile screen */
.tiles-h { margin: 20px 0 10px; font-size: var(--fs-h3, 1.125rem); }
/* title bar: alerts one tap away, with the unread count */
.evbell { position: relative; }
.evbell .badge { position: absolute; top: -2px; inset-inline-end: -2px; min-width: 18px; min-height: 18px; padding: 0 5px; font-size: 0.6875rem; }
/* More: the profile card (who is signed in, title and company from their networking profile, sign in or out) */
.profilecard { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 14px; }
.profilecard .pc-av { width: 56px; height: 56px; border-radius: var(--r-sm); font-size: 1.25rem; }
.profilecard .pc-t { display: grid; gap: 2px; min-width: 0; }
.profilecard .pc-t b { font-size: 1.0625rem; overflow-wrap: anywhere; }
.profilecard .pc-act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.profilecard .pc-act form { margin: 0; }
:root[data-kiosk] .profilecard { display: none !important; }
/* agenda: Full agenda / By track, one card per track, and a coloured track label on every session (tone pairs: AA in every theme) */
.agview { margin: 0 0 8px; }
.trackcards { display: none; list-style: none; margin: 0 0 var(--gap); padding: 0; gap: var(--gap); }
[data-panel="agenda"].tracks-on .trackcards { display: grid; }
[data-panel="agenda"].tracks-on > :not(.subnav, .agview, .trackcards, script) { display: none !important; }
.trackcard { display: grid; grid-template-columns: 6px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; width: 100%; min-height: 64px; padding: 14px 16px; text-align: start;
  font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
.trackcard .tbar { grid-row: 1 / 3; align-self: stretch; border-radius: 3px; }
.trackcard b { font-size: 1.0625rem; font-weight: 600; overflow-wrap: anywhere; }
.trackcard:hover { background: var(--soft); }
.strack { justify-self: start; max-width: 100%; padding: 2px 10px; border-radius: var(--r-sm); font-size: 0.75rem; font-weight: 600; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strack.tc-0 { background: var(--tone-info-bg); color: var(--tone-info-ink); } .strack.tc-1 { background: var(--tone-net-bg); color: var(--tone-net-ink); }
.strack.tc-2 { background: var(--tone-pin-bg); color: var(--tone-pin-ink); } .strack.tc-3 { background: var(--soft); color: var(--ink); }
.tbar.tc-0 { background: var(--tone-info-ink); } .tbar.tc-1 { background: var(--tone-net-ink); } .tbar.tc-2 { background: var(--tone-pin-ink); } .tbar.tc-3 { background: var(--ink); }
/* phones: the title bar has five buttons (back, search, alerts, help, feedback); keep room for the screen title */
@media (max-width: 400px) { .evbar { gap: 4px; } .evbar .iconbtn { width: 40px; height: 40px; } }
/* Home: greeting and the "ask" bar that opens the event's assistant (Santanu, UI-v2) */
.hgreet { display: grid; gap: 10px; margin: 4px 0 var(--gap); }
.hgreet-t { margin: 0; font-family: var(--font-head, inherit); font-size: var(--fs-h2, 1.25rem); font-weight: var(--head-weight, 700); }
.hask { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 16px; font: inherit; font-size: 0.9375rem; text-align: start; color: var(--muted);
  background: var(--field); border: 1px solid var(--field-line); border-radius: var(--r-pill); cursor: pointer; }
.hask .ic { color: var(--accent); }
.hask:hover { background: var(--soft); }

/* ---------- Santanu's UI-v2 restyle, re-landed on the theme tokens ----------
   His look (cards, labels, the brand strip, Home's next-session card, My Badge's pass, the event list) for every theme:
   all colours come from the theme tokens (src/themes.ts), so Neutral stays design-neutral and Noir is his black monochrome
   look. Derived tokens (no new colours): --popover is an opaque sheet surface lifted slightly off the page, --upcoming the
   theme's warning tone; --r-sheet and --r-label are his sheet and label corners. */
:root { --popover: color-mix(in srgb, var(--bg) 94%, var(--ink)); --upcoming: var(--warn); --r-sheet: 24px; --r-label: 6px; }
/* brand strip: the organiser's logo (or the event's name), "Powered by e2m.live" on the right */
.evbrand { position: relative; z-index: 13; display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 0 calc(-1 * var(--gutter)) 0;
  padding: env(safe-area-inset-top) var(--gutter) 0; background: var(--band); color: var(--on-band); border-radius: 0 0 14px 14px; }
.evbrand-logo { width: 32px; height: 32px; flex: none; border-radius: 8px; background: var(--solid); object-fit: contain; padding: 2px; }
.evbrand-name { flex: 1; min-width: 0; font-size: 0.8125rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evbrand-logo + .evbrand-name { display: none; } /* the logo stands for the event; its name shows only when there is no logo */
.evbrand-by { display: inline-flex; align-items: center; gap: 8px; flex: none; margin-inline-start: auto; }
.evbrand-by > span { font-size: 0.5625rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.evbrand-e2m { display: block; height: 16px; width: auto; }
/* the strip names the event, so the title bar carries the screen title (the name stays in the markup for screen readers) */
body:has(> main > .app:not(.is-preview)) :is(.evbar, .dt-top) { padding-top: 8px; }
.evbar .evbar-logo, .evbar .evname { display: none; }
.evbar .screen { font-size: 1.5rem; line-height: 1.17; font-weight: 600; }
.evbar .iconbtn, .dt-top .iconbtn { background: none; border-color: transparent; }
/* phones: the header carries back, search, alerts, help and feedback; with no gaps between the (still 44 px) buttons the
   screen title keeps ~40 px more before it ellipsises (the icons sit 20 px apart inside their own boxes anyway) */
@media (max-width: 420px) { .evbar { gap: 0; } .evbar-t { margin-inline-start: 8px; } }
/* inside an event the page ends at the tab bar: the space the footer kept clear moves to the page */
body:has(> main > .app:not(.is-preview)) > .foot { display: none; }
body:has(> main > .app:not(.is-preview)) > main { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }

/* Home: greeting with the event's name, ask bar, the featured session, Explore */
.hgreet { gap: 0; }
.hgreet-t { font-size: 1.6875rem; line-height: 1.15; overflow-wrap: anywhere; }
.hgreet-e { margin: 8px 0 0; font-size: 0.75rem; line-height: 1.3; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hask { padding-block: 0; padding-inline: 16px 6px; margin: 0 0 16px; }
.hask-b { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 0.9375rem; text-align: start; cursor: pointer; }
.hask-b > .ic { width: 22px; height: 22px; color: var(--ink); }
.hask-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hfeat { margin: 0 0 22px; padding: 16px 24px; }
.hfeat-k { margin: 0 0 10px; font-size: 0.75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.slabels { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.sstat { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 24px; margin-inline-start: auto; padding: 0 8px; border-radius: var(--r-label);
  font-size: 0.625rem; font-weight: 600; text-transform: uppercase; white-space: nowrap; background: var(--tone-pin-bg); color: var(--tone-pin-ink); }
.sstat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sstat.is-live { background: var(--tone-fresh); color: var(--ok); }
.sstat.is-live::before { animation: live-dot-blink 1.8s ease-in-out infinite; }
@keyframes live-dot-blink { 50% { opacity: .25; } }
.hfeat-t { display: block; color: inherit; text-decoration: none; }
.hfeat-t h4 { margin: 0; font-size: 1.25rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.hfeat-time { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 12px 0 0; font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.hfeat-room { display: inline-flex; align-items: center; gap: 4px; }
.hfeat .hnlist { margin: 14px 0 0; }
.hfeat-act { display: flex; gap: 8px; margin-top: 14px; }
.hfeat-act > * { flex: 1 1 0; min-width: 0; margin: 0; }
.star.hfeat-add, .hfeat-all { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 44px; padding: 0 12px; border-radius: 999px;
  font: inherit; font-size: 0.8125rem; font-weight: 600; white-space: nowrap; text-decoration: none; cursor: pointer; }
.star.hfeat-add, .star.hfeat-add:hover { background: var(--accent); color: var(--accent-ink); }
.star.hfeat-add.on, .star.hfeat-add.on:hover { background: var(--soft); color: var(--ink); }
.hfeat-add > span { display: inline-flex; align-items: center; gap: 8px; }
.hfeat-add .ic, .hfeat-add.on .ic { width: 18px; height: 18px; fill: none; }
.hfeat-add .is-on, .hfeat-add.on .is-off { display: none; }
.hfeat-add.on .is-on { display: inline-flex; }
.hfeat-all { border: 1px solid var(--line); background: none; color: var(--ink); font-weight: 500; }
.hfeat-all:hover { background: var(--soft); }
@media (max-width: 360px) { .hfeat { padding: 16px; } .hfeat-act { flex-direction: column; } }
.star.on .ic, .savebtn.on .ic, .dt-fabsave.on .ic { animation: bookmark-pop .42s cubic-bezier(.3,.7,.4,1.2); transform-origin: 50% 40%; } /* a gentle pop as the saved state appears */
@keyframes bookmark-pop { 0% { transform: scale(1); } 35% { transform: scale(1.28) rotate(-6deg); } 65% { transform: scale(.94) rotate(2deg); } 100% { transform: scale(1) rotate(0); } }
.nowline { color: var(--upcoming); }
.nowline::before { background: var(--upcoming); box-shadow: 0 0 0 4px color-mix(in srgb, var(--upcoming) 22%, transparent); }
.nowline::after { background: linear-gradient(90deg, var(--upcoming), transparent); }

/* My Badge: the ticket-style pass (src/views.ts passCard); Bookmarks; notes on his honest placeholder screens */
.pass-wrap { display: grid; justify-items: center; gap: 16px; padding: 8px 0; }
.pass { position: relative; width: min(100%, 320px); overflow: hidden; border-radius: 24px; background: var(--surface); color: var(--ink); text-align: center;
  border: 1px solid var(--line); box-shadow: 0 18px 30px color-mix(in srgb, var(--solid-ink) 35%, transparent); }
.pass-h { height: 96px; background: radial-gradient(120% 140% at 0% 0%, var(--chart-1), transparent 60%), radial-gradient(120% 140% at 100% 0%, var(--chart-4), transparent 60%), linear-gradient(135deg, var(--chart-3), var(--chart-2)); }
.pass-tab { display: inline-block; padding: 8px 24px; border-radius: 0 0 16px 16px; background: var(--solid); color: var(--solid-ink); font-size: 0.75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.pass-ph { position: relative; display: grid; place-items: center; width: 88px; height: 88px; margin: -48px auto 0; border-radius: 16px; border: 3px solid var(--solid); background: var(--tile); color: var(--tile-ink); font-size: 1.75rem; font-weight: 700; object-fit: cover; }
.pass-n { margin: 12px 24px 0; font-size: 1.5rem; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.pass-l { margin: 2px 24px 0; font-size: 0.9375rem; }
.pass-l2 { color: var(--muted); }
.pass-tear { position: relative; margin: 18px 36px; border-top: 2px dashed var(--line); }
.pass-tear::before, .pass-tear::after { content: ""; position: absolute; top: -17px; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); }
.pass-tear::before { inset-inline-start: -52px; } .pass-tear::after { inset-inline-end: -52px; }
.pass-qrw { width: 190px; max-width: 60%; margin: 0 auto; padding: 12px; border-radius: 12px; background: var(--solid); } /* a QR code keeps a light quiet zone in every theme */
.pass-qrw svg { display: block; width: 100%; height: auto; }
.pass-strip { height: 8px; margin-top: 18px; background: linear-gradient(90deg, var(--chart-1), var(--chart-2), var(--chart-3), var(--chart-4)); }
.ph-note { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; font-size: 0.75rem; line-height: 1.4; color: var(--muted); }
.ph-note .ic { flex: none; margin-top: 1px; }
.bmk { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bmk li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.bmk-b { flex: 1; min-width: 0; display: grid; gap: 2px; }
.bmk-k { font-size: 0.75rem; color: var(--muted); }
.bmk-n { font-size: 1rem; font-weight: 600; color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bmk-m { font-size: 0.8125rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bmk-i { flex: none; fill: currentColor; }

/* event list: title bar with search, status pills, cover cards, the filter button and its sheet (static/events.js) */
.swx { padding-top: 0; }
.swbar { display: flex; align-items: center; gap: 4px; min-height: 56px; }
.swbar .screen { font-size: 1.5rem; line-height: 1.17; font-weight: 600; margin: 0; }
.swbar .swsearch { flex: 1; width: auto; min-width: 0; }
.swx.js .swbar .swsearch { display: none; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.swx.js .swbar .swsearch .ic { display: none; }
.swx.js.searching .swbar .swsearch { display: flex; } .swx.js.searching .swbar .screen { display: none; }
.swsearch-btn .ic + .ic { display: none; }
.swx.searching .swsearch-btn .ic { display: none; } .swx.searching .swsearch-btn .ic + .ic { display: block; }
.swx .lede { margin: 4px 0 16px; }
.swpills { margin: 16px calc(-1 * var(--gutter)) 0; }
button.dpill { border: 0; font: inherit; font-size: 0.875rem; font-weight: 500; cursor: pointer; }
.swn { margin-inline-start: 8px; }
.evcard { position: relative; display: block; padding: 0; overflow: hidden; transition: opacity .2s ease, transform .12s ease; }
.evcard:active { transform: scale(.98); }
.evc-img { display: block; width: 100%; height: 80px; object-fit: cover; background: var(--soft); }
.evc-ph { background: linear-gradient(135deg, var(--soft), var(--line)); }
.evcard .evtext { display: grid; gap: 8px; padding: 20px 20px 16px; }
.evc-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 1.1875rem; font-weight: 600; line-height: 1.375; }
.evc-d { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--muted); }
.evc-d .ic.sm { width: 16px; height: 16px; }
.evc-load { display: none; position: absolute; inset-inline-start: 0; inset-inline-end: 0; bottom: 0; height: 6px; overflow: hidden; background: var(--soft); } /* a tapped card shows it is opening */
.evc-load i { display: block; height: 100%; transform-origin: 0 50%; background: var(--accent); animation: evc-progress 2.4s cubic-bezier(.2,.6,.3,1) forwards; }
.evcard.is-loading .evc-load { display: block; }
.cards.is-opening li:not(:has(.is-loading)) .evcard { opacity: .4; }
@keyframes evc-progress { 0% { transform: scaleX(0); } 35% { transform: scaleX(.48); } 75% { transform: scaleX(.85); } 100% { transform: scaleX(1); } }
.card.cta { background: var(--popover); border-color: var(--line); }
.fab { position: fixed; z-index: 25; inset-inline-end: max(20px, calc(50% - 280px)); bottom: calc(24px + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: var(--r-sm);
  background: var(--accent); color: var(--accent-ink); cursor: pointer; box-shadow: 0 5px 18px color-mix(in srgb, var(--solid-ink) 38%, transparent); transition: transform .32s ease, opacity .28s ease; }
.fab.is-off { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
.fab.on::after { content: ""; position: absolute; top: -4px; inset-inline-end: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--badge-bg); box-shadow: 0 0 0 2px var(--bg); }
.bsheet { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; background: color-mix(in srgb, var(--solid-ink) 70%, transparent); }
.bsheet-in { width: min(100%, 600px); max-height: 86dvh; overflow-y: auto; padding: 20px 24px calc(24px + env(safe-area-inset-bottom)); border-radius: var(--r-sheet) var(--r-sheet) 0 0; background: var(--popover); color: var(--ink); animation: bsheet-in .22s ease; }
@keyframes bsheet-in { from { transform: translateY(40px); opacity: .4; } }
.bsheet-bar { display: block; width: 40px; height: 6px; margin: 0 auto 18px; border-radius: 3px; background: var(--line); }
.bsheet-in h3 { margin: 0 0 12px; font-size: 1.125rem; }
.bsheet-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.bsheet-list { display: grid; margin: 0 0 24px; }
.bsheet-list button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; text-align: start; cursor: pointer; }
.bsheet-list button .ic { visibility: hidden; }
.bsheet-list button[aria-pressed="true"] .ic { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .fab { transition: none; } .bsheet-in { animation: none; } .evc-load i { animation: none; transform: scaleX(.8); } }

/* ---------- The revised mockup (attendee app gaps) ----------
   Agenda: the session card reads top to bottom like the mockup (track and status labels, title, time and room, then the
   save and calendar actions on the right), and the filters live in a bottom sheet opened by a floating button. The sheet is
   static/agenda-sheet.js's: without script (or before it has added .js) the same controls stay inline. Theme tokens only. */
.session > .slabels { grid-column: 1 / -1; margin: 0 0 -4px; min-height: 0; }
.session > .slabels:empty { display: none; }
.session .slabels .strack { min-width: 0; }
.session .sact { align-self: end; }
.sstat.is-ended { background: var(--soft); color: var(--muted); }
.sstat.is-ended::before { background: var(--muted); }
.session .lbadge.live { display: none; } /* the status label at the top already says Live */
.agf:not(.js) .agf-h, .agf:not(.js) .agf-act { display: none; }
.agf.js { display: none; }
.agf.js.open { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; background: color-mix(in srgb, var(--solid-ink) 70%, transparent); }
.agf.js .agf-in { width: min(100%, 600px); max-height: 86dvh; overflow-y: auto; overscroll-behavior: contain; padding: 12px 24px calc(24px + env(safe-area-inset-bottom));
  border-radius: var(--r-sheet) var(--r-sheet) 0 0; background: var(--popover); color: var(--ink); }
.agf.js .agf-in:focus { outline: none; }
.agf.js .agf-in:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; }
@media (prefers-reduced-motion: no-preference) { .agf.js.open .agf-in { animation: bsheet-in .22s ease; } }
.agf-h { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 8px; margin: 0 0 12px; }
.agf-h .bsheet-bar { grid-column: 1 / -1; margin: 0 auto 6px; }
.agf-t { margin: 0; font-size: 1.125rem; }
.agf.js .search { position: relative; top: auto; margin: 0 0 12px; padding: 0; }
.agf.js .trackchips { flex-wrap: wrap; overflow: visible; gap: 8px; padding: 0 0 12px; }
.agf.js .tchip { min-height: 44px; }
.agf.js .ff { margin: 0 0 8px; }
.agf.js .ff select { max-width: 100%; min-height: 44px; }
.agf.js .tzrow { margin: 4px 0 0; }
.agf-act { display: flex; gap: 12px; margin-top: 20px; }
.agf-act .btn { flex: 1 1 0; min-height: 48px; }
.agf-fab { bottom: calc(84px + env(safe-area-inset-bottom)); }
.agf-n { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--badge-bg); color: var(--badge-ink);
  font-size: 0.6875rem; font-weight: 700; line-height: 1; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--bg); }
.agf-n[hidden] { display: none; }
html.agf-lock { overflow: hidden; }
/* the mockup's bookmark icon at the top right of speaker and exhibitor cards (src/views.ts bookmarkToggle) */
.bmtog-f { margin: 0; }
.people li > .bmtog, .people li > .bmtog-f, .ops-xlist li > .bmtog, .ops-xlist li > .bmtog-f { position: absolute; z-index: 1; top: 8px; inset-inline-end: 8px; }
.bmtog { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; text-decoration: none; }
.bmtog .ic { width: 22px; height: 22px; }
.bmtog:hover { background: var(--soft); }
.bmtog.on .ic { fill: currentColor; }
.bmtog:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.people li:has(> .bmtog, > .bmtog-f) { padding-inline-end: 56px; }
.ops-xlist li:has(> .bmtog, > .bmtog-f) .ops-xcard { padding-inline-end: 56px; }
/* My Badge: the line under the pass (the mockup's "Present the QR code…") */
.pass-note { max-width: 320px; margin: 4px auto 16px; text-align: center; font-size: 0.875rem; line-height: 1.45; color: var(--muted); }
/* the Now / Next row scrolls sideways on a phone: its screen-reader text (.sr, absolutely positioned) must stay inside the
   scroller, or a chip off to the right widens the page and the phone zooms the whole app out */
.nowchips { position: relative; }

/* ---------- UI-v2 navigation (Santanu's final design): the menu button, the side menu, the Alerts back arrow ----------
   src/views.ts eventAppPage, static/menu.js. Colours are theme tokens, so the menu follows every theme and both modes. */
.evbar .evmenu-btn { position: relative; margin-inline-start: -10px; }
.evbar .evmenu-btn .badge { position: absolute; top: 2px; inset-inline-end: 0; min-width: 18px; min-height: 18px; padding: 0 5px; font-size: 0.6875rem; }
.evbar .evback { display: none; margin-inline-start: -10px; }
.app[data-screen="alerts"] .evbar .evmenu-btn { display: none; }
.app[data-screen="alerts"] .evbar .evback { display: grid; }
.evmenu { position: fixed; inset: 0; z-index: 80; background: transparent; transition: background .2s ease; }
.evmenu.on { background: color-mix(in srgb, var(--solid-ink) 70%, transparent); }
.evmenu-in { position: relative; display: flex; flex-direction: column; width: min(90%, 375px); height: 100%; overflow: hidden;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); background: var(--bg); color: var(--ink); border-inline-end: 1px solid var(--line);
  transform: translateX(-100%); transition: transform .22s ease; }
.evmenu.on .evmenu-in { transform: none; }
/* the close button sits on the profile row (top right), not on a row of its own */
.evmenu-h { position: absolute; z-index: 1; top: env(safe-area-inset-top); inset-inline-end: 0; padding: 12px; }
.evmenu-h .iconbtn { background: none; border-color: transparent; }
.evmenu-h .iconbtn .ic { width: 28px; height: 28px; stroke-width: 1.4; }
.evmenu-me { display: flex; align-items: center; gap: 16px; flex: none; padding-block: 20px 12px; padding-inline: 20px 64px; }
.evmenu-me .me { width: 70px; height: 70px; border-radius: var(--r-sm); font-size: 1.5rem; }
.evmenu-me p { margin: 0; min-width: 0; display: grid; gap: 2px; justify-items: start; }
.evmenu-me b { font-size: 1.125rem; font-weight: 600; overflow-wrap: anywhere; }
.evmenu-me p > span { font-size: 0.9375rem; color: var(--ink-2); }
.evmenu-h + :not(.evmenu-me) { margin-top: 64px; }
.evmenu-ev { display: flex; align-items: center; gap: 12px; flex: none; margin: 16px 20px 0; padding: 12px 16px; border-radius: var(--r-sm); text-decoration: none;
  color: var(--ink); background: var(--soft); border: 1px solid var(--line); }
.evmenu-evt { flex: 1; min-width: 0; display: grid; }
.evmenu-evt span { font-size: 0.75rem; color: var(--muted); }
.evmenu-evt b { font-size: 0.9375rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evmenu-sw { flex: none; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.75rem; font-weight: 500; }
/* the profile row and the foot (theme, sign out) stay put; only the list of sections scrolls */
.evmenu-nav { flex: 1; min-height: 0; display: grid; align-content: start; padding: 12px 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.evmenu-nav::-webkit-scrollbar { display: none; }
.evmenu-nav button, .evmenu-f a, .evmenu-f button { position: relative; display: flex; align-items: center; gap: 20px; width: 100%; min-height: 52px; padding: 0 24px; border: 0; border-radius: 0; background: none;
  color: var(--ink); font: inherit; font-size: 1.125rem; font-weight: 600; text-align: start; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.evmenu-nav .ic, .evmenu-f .ic { stroke-width: 1.4; }
.evmenu-nav button:hover, .evmenu-f a:hover, .evmenu-f button:hover { background: var(--soft); }
.evmenu-nav button.on { font-weight: 700; }
.evmenu-nav .badge { margin-inline-start: auto; }
.evmenu-f { flex: none; padding: 12px 0; border-top: 1px solid var(--line); }
.evmenu-f form { margin: 0; }
html.evmenu-open { overflow: hidden; }
html.evmenu-open :is(.install, .fab, .toasts, .moved-hint) { display: none; }
@media (prefers-reduced-motion: reduce) { .evmenu, .evmenu-in { transition: none; } }
@media print { .evmenu { display: none; } }

/* Theme row in the side menu (UI-v2): one round button per page colour; the chosen one carries a ring (static/menu.js keeps
   the choice on the device, static/theme.js applies it before the first paint as data-sw on <html>). It belongs to the Noir
   look, in light and dark, and never overrides an organiser's brand colour. Every swatch is a full, AA-checked token set in
   both modes (src/swatches.ts, scripts/check_themes.ts); the light cards and the tab bar keep Noir's own tokens. */
.evmenu-theme { display: none; align-items: center; justify-content: space-between; gap: 12px; flex: none; padding: 16px 24px; border-top: 1px solid var(--line); font-size: 1.125rem; font-weight: 600; }
:root[data-theme="noir"]:not([data-brand]) .evmenu-theme { display: flex; }
.evmenu-sws { display: flex; align-items: center; gap: 8px; }
.evmenu-sws button { width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--field-line); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.evmenu-sws button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.evmenu-sws button:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
/* A picked colour (static/menu.js: data-sw and .themed on <html>): the page takes that swatch's AA-checked tokens (the
   generated block below, src/swatches.ts). The light cards and the tab bar keep Noir's own card tokens. */
/* On the light cards and the tab bar the picked colour is the accent: filled buttons, the selected tab, focus rings. */
html.themed :is(.card, .session, .people li, .chips li, .nowchip, .pass, .bmk li, .tabbar, .composer, .dt-sheet, .net-person, .net-item, .net-thread li, .alert, .ops-xcard, .ops-xlist li, .ops-scard, .trackcard, .profilecard) { --accent: var(--sw-accent, var(--bg)); --accent-ink: #FFFFFF; --tab-on: var(--sw-accent, var(--bg)); --focus: var(--sw-accent, var(--bg)); --tile: var(--sw-accent, var(--bg)); --tile-ink: #FFFFFF; }
/* ---------- Home, after the Lovable design (e2m-live-v2: routes/event.$eventId.tsx, styles.css) ----------
   The card has no visible heading (it stays for screen readers); "Add to agenda" is the filled accent button and "View all
   agenda" the outline one beside it. The ask bar ends in a round mic button. */
.hfeat-all { border-color: color-mix(in srgb, var(--ink) 20%, transparent); }
.hask-mic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; padding: 0; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); cursor: pointer; }
.hask-mic:hover { background: var(--line); }
.hfeat .hfeat-t h4 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.hfeat .hfeat-time { font-size: 0.8125rem; color: var(--ink); }
.tiles-h { margin: 24px 0 12px; font-size: 1rem; font-weight: 600; }
.hometiles .tile { font-size: 0.6875rem; }
/* The satin page of the design: a soft highlight top right and a diagonal sheen over the black page, fixed to the screen.
   Noir dark only (the black page); the sticky title bar carries the same surface so content scrolls under it cleanly. */
:root { --sheen: radial-gradient(60% 30% at 85% 20%, color-mix(in oklab, var(--ink) 10%, transparent), transparent 70%),
    linear-gradient(120deg, transparent 8%, color-mix(in oklab, var(--ink) 16%, transparent) 28%, transparent 55%),
    linear-gradient(180deg, color-mix(in oklab, var(--bg) 92%, white) 0%, var(--bg) 45%, color-mix(in oklab, var(--bg) 85%, black) 100%); }
@media (prefers-color-scheme: dark) { :root[data-theme="noir"]:not([data-scheme="light"]) body.dark { 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; } }
:root[data-theme="noir"][data-scheme="dark"] body.dark { 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; }
/* Ask bar: the design's 2px outline with a light that travels round it (UI-v2). Under "reduce motion" the page-wide rule
   stops the travel and the outline stays still. */
@property --hask-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.hask, .hask:hover { border: 2px solid transparent; padding-block: 0; padding-inline: 14px 4px;
  background: linear-gradient(var(--field), var(--field)) padding-box, linear-gradient(var(--bg), var(--bg)) padding-box,
    conic-gradient(from var(--hask-a, 0deg), color-mix(in srgb, var(--ink) 14%, transparent) 0deg 250deg, color-mix(in srgb, var(--ink) 60%, transparent) 290deg, var(--ink) 320deg, color-mix(in srgb, var(--ink) 60%, transparent) 345deg, color-mix(in srgb, var(--ink) 14%, transparent) 360deg) border-box;
  animation: hask-glow 4s linear infinite; }
@keyframes hask-glow { to { --hask-a: 360deg; } }
/* ---------- Agenda, after the Lovable design (routes/event.$eventId_.agenda.tsx, components/agenda-tabs.tsx) ----------
   "Full agenda / By track" is one full-width control; on a session card the time sits on the bottom line with the save and
   calendar buttons beside it, as plain icons. */
.seg.agview { display: flex; width: 100%; margin: 0 0 16px; padding: 4px; border-radius: var(--r); background: var(--soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 20%, transparent); }
.seg.agview button { flex: 1 1 0; min-height: 40px; border-radius: var(--r-sm); font-size: 0.875rem; color: var(--ink); }
.seg.agview .on { background: var(--accent); color: var(--accent-ink); }
.session { align-items: end; }
.session .what { display: flex; flex-direction: column; gap: 6px; }
.session .what > .time { order: 9; margin-top: 10px; color: var(--ink-2); }
.session .sact { display: flex; align-items: center; gap: 2px; align-self: end; margin-block: 0 -10px; margin-inline: 0 -10px; }
.session .sact .star { width: auto; height: auto; min-width: 44px; min-height: 44px; background: none; }
.session .sact .star:hover, .session .sact .star.on:hover { background: var(--soft); }
.session .sact .star.on { background: none; color: var(--ink); }
.session .sact :is(.star, .cal) .ic { width: 24px; height: 24px; stroke-width: 1.5; }/* "Up next" on a session card: readable on the light Noir card as well as on dark ones (it was pale orange text made for a dark card) */
.session .lbadge.next { margin-inline-start: 0; background: var(--tone-pin-bg); color: var(--tone-pin-ink); border-color: transparent; }/* a picked colour also dresses the brand strip (a darker shade of it), as in the design */
html.themed .evbrand { background: var(--band); color: #FFFFFF; }

/* Track colours of the Lovable design (styles.css --category-*): five solid labels with dark text, the same in every theme.
   tc-0…tc-4 follow the order tracks first appear in the agenda (src/views.ts). */
:root { --cat-0: #8DA2F7; --cat-1: #F26B82; --cat-2: #3FE4F2; --cat-3: #7FE894; --cat-4: #E3996B; --cat-ink: #0B0B0B; }
.strack { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-label, 4px); font-size: 0.6875rem; font-weight: 400; line-height: 1; }
.strack.tc-0, .tbar.tc-0 { background: var(--cat-0); color: var(--cat-ink); } .strack.tc-1, .tbar.tc-1 { background: var(--cat-1); color: var(--cat-ink); }
.strack.tc-2, .tbar.tc-2 { background: var(--cat-2); color: var(--cat-ink); } .strack.tc-3, .tbar.tc-3 { background: var(--cat-3); color: var(--cat-ink); }
.strack.tc-4, .tbar.tc-4 { background: var(--cat-4); color: var(--cat-ink); }
/* ---------- The Lovable design: only what it shows ----------
   <html data-lovable> is set on every attendee page (src/views.ts layout). Controls the design does not have are hidden
   here and in static/lovable-*.css, not removed: each comes back by deleting its rule once its design exists.
   Never hidden: anything an attendee needs to reach (Help, Feedback, save, the day of a session, the venue's own floor plan);
   scripts/smoke_lovable_restore.ts checks that each one is on screen. */
:root[data-lovable] .app[data-screen="home"] .evbar [data-global-search] { display: none; }
:root[data-lovable] .evbar .evbell { margin-inline-start: auto; }
:root[data-lovable] .hometiles .x-extra { display: none; }
:root[data-lovable] [data-panel="agenda"] :is(.nowrow, .nowlead, .nowline, .session .meta, .session .rel, .session .time .pill, .session .lbadge, .session [data-nextday]) { display: none; }
:root[data-lovable] .evmenu-nav button:not([data-tab="sponsors"], [data-tab="myagenda"], [data-tab="people"], [data-tab="saved"], [data-tab="bookmarks"], [data-tab="live"], [data-tab="speakers"], [data-tab="wall"], [data-tab="meet"]) { display: none; }/* title-bar search field (the Lovable design): the title gives way to an underlined field, the search icon becomes an X */
.evsearch { flex: 1; min-width: 0; min-height: 40px; margin-block: 0; margin-inline: 10px 8px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1rem; }
.evsearch:focus, .evsearch:focus-visible { outline: 0; box-shadow: none; border-bottom-color: var(--ink); }
.evsearch::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.evsearch-btn .ic + .ic { display: none; }
.app.searching .evsearch-btn .ic { display: none; } .app.searching .evsearch-btn .ic + .ic { display: block; }
.app.searching .evbar-t { display: none; }
:root[data-lovable] .days:has(.dpill:only-child) { display: none; }
/* a one-day event needs no date heading; with several days the headings and the day pills stay */
:root[data-lovable] [data-panel="agenda"]:has(.days .dpill:only-child) h3.day { display: none; }/* status labels in the design's own colours (styles.css --session-upcoming / --session-live / --session-ended on an 18% tint).
   The orange text is below AA contrast; it is the design's own colour. */
:root { --st-up: #FFA909; --st-live: #25AB3A; --st-end: #A4A4A4; }
:root[data-lovable] .sstat { background: color-mix(in oklab, var(--st-up) 18%, transparent); color: var(--st-up); }
:root[data-lovable] .sstat.is-live { background: color-mix(in oklab, var(--st-live) 18%, transparent); color: var(--st-live); }
:root[data-lovable] .sstat.is-ended { background: color-mix(in oklab, var(--st-end) 18%, transparent); color: var(--st-end); }/* Explore tiles: a see-through icon box with a faint outline, as in the design (bg foreground/5, border foreground/20) */
:root[data-lovable] .tile .ic { background: color-mix(in srgb, var(--ink) 5%, transparent); border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); }
:root[data-lovable] .tile:hover .ic { background: color-mix(in srgb, var(--ink) 10%, transparent); }
/* ---------- The Lovable design, rules shared by every screen ----------
   Title bar: it sits straight on the page (no band, no line under it). Once content has scrolled under it, it becomes a
   dark frosted strip so the title stays readable (html.ev-scrolled, static/menu.js). */
:root[data-lovable] body:has(> main > .app:not(.is-preview)) :is(.evbar, .dt-top) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; box-shadow: none; }
/* (scrolled state: see "Scrolling" below) */
/* Boxes drawn on the dark page are see-through with a faint outline (design: bg foreground/5, border foreground/20): the
   agenda tabs, the ask bar, pills, fields and tiles. Light cards keep their own solid tokens. */
/* Only these page-level boxes; drawers, sheets, menus and toasts keep their solid surfaces. */
:root[data-lovable] :is(.seg.agview, .days .dpill:not(.on), .hask-mic) { background: color-mix(in srgb, var(--ink) 5%, transparent); }
:root[data-lovable] .days .dpill:not(.on) { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 20%, transparent); }
/* the ask bar's fill must be solid, or the travelling light of its outline shows through it */
:root[data-lovable] { --hask-fill: color-mix(in srgb, var(--ink) 6%, var(--bg)); }
:root[data-lovable].themed { --hask-fill: var(--soft); } /* the swatch's checked soft tint: its text stays AA */
:root[data-lovable] .hask, :root[data-lovable] .hask:hover { background: linear-gradient(var(--hask-fill), var(--hask-fill)) padding-box,
    conic-gradient(from var(--hask-a, 0deg), color-mix(in srgb, var(--ink) 14%, transparent) 0deg 250deg, color-mix(in srgb, var(--ink) 60%, transparent) 290deg, var(--ink) 320deg, color-mix(in srgb, var(--ink) 60%, transparent) 345deg, color-mix(in srgb, var(--ink) 14%, transparent) 360deg) border-box; }
/* Agenda: the tabs sit straight under the title bar, as in the design (no gap between them) */
:root[data-lovable] [data-panel="agenda"] { margin-top: -10px; }/* Detail pages: the same title bar rule as the event screens. It sits straight on the page with no band or gap, and
   turns frosted only once content has scrolled under it. (!important: each screen group gave this bar its own surface.) */
:root[data-lovable] .dt .dt-top { -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; box-shadow: none; }
:root:root:root[data-lovable] .dt:not(.dt-expanded) .dt-top { background: transparent !important; background-image: none !important; } /* wins over each screen group's own bar surface: at rest the bar is never a band */
/* Detail drawers are overlays, on every detail page: the top area (hero) stays where it is and the sheet slides up over
   it, so nothing of the hero travels under the title bar. Once the sheet is raised the bar is solid. */
:root[data-lovable] .dt .dt-hero { position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top) + 104px); z-index: 0; } /* 48px brand strip + 56px title bar */
:root[data-lovable] .dt .dt-sheet { position: relative; z-index: 2; }
:root[data-lovable] .dt.dt-expanded .dt-top { background: var(--bg) !important; }
/* A saved bookmark is filled with the accent of the surface it sits on: black on a light card, and the picked theme
   colour once one is chosen (html.themed gives cards that accent). */
:root[data-lovable] :is(.bmtog.on, .session .sact .star.on, .bmk-i, .dt-fabsave.on, .savebtn.on) { color: var(--accent); }
:root[data-lovable] :is(.bmtog.on, .session .sact .star.on, .dt-fabsave.on, .savebtn.on) .ic, :root[data-lovable] .ic.bmk-i { fill: currentColor; }
/* Theme row in the side menu: every page colour is offered again (the single "Blue theme" switch hid four of them). *//* No square flash when a button, link or card is tapped (the browser's tap highlight). Keyboard focus rings stay. */
:root[data-lovable] *, :root[data-lovable] *::before, :root[data-lovable] *::after { -webkit-tap-highlight-color: transparent; }
:root[data-lovable] :is(a, button, summary, label, [role="tab"], [role="button"]):focus:not(:focus-visible) { outline: 0; }
/* ---------- Scrolling, on every event screen (the Lovable design) ----------
   The brand strip and the title bar stay fixed at the top. Once content has scrolled under the bar it gets the page's own
   surface and a soft fade below it (html.ev-scrolled). The row of tabs or pills under the bar, and the floating filter
   button, slide away on the way down and come back on the way up (html.ev-down). static/menu.js sets both classes. */
:root[data-lovable] body:has(> main > .app:not(.is-preview)) .evbrand { position: sticky; top: env(safe-area-inset-top); z-index: 14; }
:root[data-lovable] body:has(> main > .app:not(.is-preview)) .evbar { top: calc(47px + env(safe-area-inset-top)); } /* 1px under the 48px strip, so no sliver of content shows between them */
:root[data-lovable] .app:not(.dt) .evbar::after { content: ""; position: absolute; inset-inline-start: 0; inset-inline-end: 0; top: 100%; height: 24px; pointer-events: none; opacity: 0;
  background: linear-gradient(var(--bg), transparent); transition: opacity .28s ease; }
:root[data-lovable].ev-scrolled .app:not(.dt) .evbar { 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; }
:root[data-lovable].ev-scrolled .app:not(.dt) .evbar::after { opacity: 1; }
:root[data-lovable] .app:not(.dt) :is(.seg.agview, .days, .lv-tabs, .d-nfilter) { position: sticky; top: calc(104px + env(safe-area-inset-top)); z-index: 11; transition: transform .32s ease, opacity .28s ease; }
:root[data-lovable].ev-down .app:not(.dt) :is(.seg.agview, .days, .lv-tabs, .d-nfilter) { transform: translateY(calc(-100% - 24px)); opacity: 0; pointer-events: none; }
:root[data-lovable] .fab { transition: transform .32s ease, opacity .28s ease; }
:root[data-lovable].ev-down .fab { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { :root[data-lovable] :is(.seg.agview, .days, .lv-tabs, .d-nfilter, .fab), :root[data-lovable] .evbar::after { transition: none; } }
/* Home card: the room sits on its own line under the time */
:root[data-lovable] .hfeat .hfeat-room { flex-basis: 100%; }
/* A card opens its page from anywhere on it, not only from the title; the buttons on it keep their own action. */
:root[data-lovable] .hfeat { position: relative; }
:root[data-lovable] .hfeat a.hfeat-t { position: static; }
:root[data-lovable] .hfeat a.hfeat-t::after, :root[data-lovable] .session .rowlink::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
:root[data-lovable] .session .rowlink { position: static; }
:root[data-lovable] .hfeat :is(.hfeat-act > *, .hnlist), :root[data-lovable] .session :is(.sact, .roomlink) { position: relative; z-index: 1; }
/* Speaker and attendee pages: the photo backdrop runs up behind the title bar, so the top area is pinned under the brand
   strip (48px), not under the bar. */
:root[data-lovable] .dt:has(.dt-back:is([href$="#speakers"], [href$="#people"])) .dt-hero { top: calc(48px + env(safe-area-inset-top)); }
/* Ask bar hint (the live design's ai-placeholder-wipe): each prompt rises in from below, holds, and leaves at the top */
:root[data-lovable] .hask .hask-t { position: relative; height: 1.25rem; overflow: hidden; white-space: nowrap; }
:root[data-lovable] .hask .hask-w { position: absolute; inset: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.25rem; animation: placeholder-wipe 2.6s ease-in-out both; }
@keyframes placeholder-wipe { 0% { opacity: 0; clip-path: inset(100% 0 0); transform: translateY(100%); } 12%, 88% { opacity: 1; clip-path: inset(0); transform: translateY(0); } to { opacity: 0; clip-path: inset(0 0 100%); transform: translateY(-100%); } }
@media (prefers-reduced-motion: reduce) { :root[data-lovable] .hask .hask-w { animation: none !important; } }

/* E2MAI-169: short fields side by side (state and place of supply, price and currency, sales dates). A grid, so labels with a hint line cannot push one box lower than its neighbour, and two boxes can never overlap on a phone. */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.fields > label { min-width: 0; }
.fields > label:last-child:nth-child(odd) { grid-column: 1 / -1; }
.fields input, .fields select { min-width: 0; max-width: 100%; }
@media (min-width: 640px) { .fields.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fields.three > label:last-child:nth-child(odd) { grid-column: auto; } }
@media (max-width: 520px) { .fields.long { grid-template-columns: minmax(0, 1fr); } } /* text fields (a state, a place) need the full width on a phone */
/* swatches:begin (generated from src/swatches.ts; scripts/check_themes.ts --write) */
:root[data-theme="noir"]:not([data-brand])[data-sw="navy"] { --bg: #EDEFF8; --band: #010937; --surface: #FFFFFF; --soft: #DEE1F2; --field: #FFFFFF; --line: #C8CDE9; --ink: #0B0B0B; --ink-2: #020C46; --muted: #020C46; --placeholder: #020C46; --field-line: #041B9C; --focus: #0B0B0B; --text: #0B0B0B; --text-2: #020C46; --text-3: #020C46; --glass: #FFFFFF; --glass-line: #C8CDE9; --hero-ink: #0B0B0B; --sw-accent: #041B9C; }
@media (prefers-color-scheme: dark) { :root[data-theme="noir"]:not([data-brand]):not([data-scheme="light"])[data-sw="navy"] { --bg: #041B9C; --band: #03167D; --surface: #1D32A6; --soft: #3144AE; --field: #03157A; --line: #5464BC; --ink: #FFFFFF; --ink-2: #EBEDF7; --muted: #BEC4E5; --placeholder: #BEC4E5; --field-line: #6D7BC6; --focus: #FFFFFF; --text: #FFFFFF; --text-2: #BEC4E5; --text-3: #BEC4E5; --glass: #1D32A6; --glass-line: #5464BC; --hero-ink: #FFFFFF; --sw-accent: #041B9C; } }
:root[data-theme="noir"][data-scheme="dark"]:not([data-brand])[data-sw="navy"] { --bg: #041B9C; --band: #03167D; --surface: #1D32A6; --soft: #3144AE; --field: #03157A; --line: #5464BC; --ink: #FFFFFF; --ink-2: #EBEDF7; --muted: #BEC4E5; --placeholder: #BEC4E5; --field-line: #6D7BC6; --focus: #FFFFFF; --text: #FFFFFF; --text-2: #BEC4E5; --text-3: #BEC4E5; --glass: #1D32A6; --glass-line: #5464BC; --hero-ink: #FFFFFF; --sw-accent: #041B9C; }
:root[data-theme="noir"]:not([data-brand])[data-sw="orange"] { --bg: #FDF3F1; --band: #4F1D14; --surface: #FFFFFF; --soft: #FBE9E5; --field: #FFFFFF; --line: #F9D9D3; --ink: #0B0B0B; --ink-2: #662619; --muted: #662619; --placeholder: #662619; --field-line: #E25438; --focus: #0B0B0B; --text: #0B0B0B; --text-2: #662619; --text-3: #662619; --glass: #FFFFFF; --glass-line: #F9D9D3; --hero-ink: #0B0B0B; --sw-accent: #833120; }
@media (prefers-color-scheme: dark) { :root[data-theme="noir"]:not([data-brand]):not([data-scheme="light"])[data-sw="orange"] { --bg: #833120; --band: #69271A; --surface: #8F4636; --soft: #995648; --field: #662619; --line: #AB7367; --ink: #FFFFFF; --ink-2: #FFFFFF; --muted: #F3EAE9; --placeholder: #F3EAE9; --field-line: #BF948B; --focus: #FFFFFF; --text: #FFFFFF; --text-2: #F3EAE9; --text-3: #F3EAE9; --glass: #8F4636; --glass-line: #AB7367; --hero-ink: #FFFFFF; --sw-accent: #833120; } }
:root[data-theme="noir"][data-scheme="dark"]:not([data-brand])[data-sw="orange"] { --bg: #833120; --band: #69271A; --surface: #8F4636; --soft: #995648; --field: #662619; --line: #AB7367; --ink: #FFFFFF; --ink-2: #FFFFFF; --muted: #F3EAE9; --placeholder: #F3EAE9; --field-line: #BF948B; --focus: #FFFFFF; --text: #FFFFFF; --text-2: #F3EAE9; --text-3: #F3EAE9; --glass: #8F4636; --glass-line: #AB7367; --hero-ink: #FFFFFF; --sw-accent: #833120; }
:root[data-theme="noir"]:not([data-brand])[data-sw="crimson"] { --bg: #F7EEF0; --band: #33030E; --surface: #FFFFFF; --soft: #F1DFE3; --field: #FFFFFF; --line: #E7C9CF; --ink: #0B0B0B; --ink-2: #420412; --muted: #420412; --placeholder: #420412; --field-line: #930827; --focus: #0B0B0B; --text: #0B0B0B; --text-2: #420412; --text-3: #420412; --glass: #FFFFFF; --glass-line: #E7C9CF; --hero-ink: #0B0B0B; --sw-accent: #930827; }
@media (prefers-color-scheme: dark) { :root[data-theme="noir"]:not([data-brand]):not([data-scheme="light"])[data-sw="crimson"] { --bg: #930827; --band: #76061F; --surface: #9E213D; --soft: #A6344E; --field: #73061E; --line: #B6576C; --ink: #FFFFFF; --ink-2: #FFFFFF; --muted: #ECD3D8; --placeholder: #ECD3D8; --field-line: #CB8897; --focus: #FFFFFF; --text: #FFFFFF; --text-2: #ECD3D8; --text-3: #ECD3D8; --glass: #9E213D; --glass-line: #B6576C; --hero-ink: #FFFFFF; --sw-accent: #930827; } }
:root[data-theme="noir"][data-scheme="dark"]:not([data-brand])[data-sw="crimson"] { --bg: #930827; --band: #76061F; --surface: #9E213D; --soft: #A6344E; --field: #73061E; --line: #B6576C; --ink: #FFFFFF; --ink-2: #FFFFFF; --muted: #ECD3D8; --placeholder: #ECD3D8; --field-line: #CB8897; --focus: #FFFFFF; --text: #FFFFFF; --text-2: #ECD3D8; --text-3: #ECD3D8; --glass: #9E213D; --glass-line: #B6576C; --hero-ink: #FFFFFF; --sw-accent: #930827; }
:root[data-theme="noir"]:not([data-brand])[data-sw="blue"] { --bg: #EEF3FF; --band: #051C58; --surface: #FFFFFF; --soft: #E0E8FE; --field: #FFFFFF; --line: #CAD9FE; --ink: #0B0B0B; --ink-2: #072471; --muted: #072471; --placeholder: #072471; --field-line: #0F50FB; --focus: #0B0B0B; --text: #0B0B0B; --text-2: #072471; --text-3: #072471; --glass: #FFFFFF; --glass-line: #CAD9FE; --hero-ink: #0B0B0B; --sw-accent: #0B3DBF; }
@media (prefers-color-scheme: dark) { :root[data-theme="noir"]:not([data-brand]):not([data-scheme="light"])[data-sw="blue"] { --bg: #0B3DBF; --band: #093199; --surface: #2350C5; --soft: #3760CB; --field: #093095; --line: #597BD3; --ink: #FFFFFF; --ink-2: #FFFFFF; --muted: #E2E8F7; --placeholder: #E2E8F7; --field-line: #859EDF; --focus: #FFFFFF; --text: #FFFFFF; --text-2: #E2E8F7; --text-3: #E2E8F7; --glass: #2350C5; --glass-line: #597BD3; --hero-ink: #FFFFFF; --sw-accent: #0B3DBF; } }
:root[data-theme="noir"][data-scheme="dark"]:not([data-brand])[data-sw="blue"] { --bg: #0B3DBF; --band: #093199; --surface: #2350C5; --soft: #3760CB; --field: #093095; --line: #597BD3; --ink: #FFFFFF; --ink-2: #FFFFFF; --muted: #E2E8F7; --placeholder: #E2E8F7; --field-line: #859EDF; --focus: #FFFFFF; --text: #FFFFFF; --text-2: #E2E8F7; --text-3: #E2E8F7; --glass: #2350C5; --glass-line: #597BD3; --hero-ink: #FFFFFF; --sw-accent: #0B3DBF; }
.sw-black { background: #000000; } .sw-navy { background: #041B9C; } .sw-orange { background: #E25438; } .sw-crimson { background: #930827; } .sw-blue { background: #0F50FB; }
/* swatches:end */

/* ---------- v4 attendee UX (workstream E) ---------- */
/* ATT-11: the language picker (plain links) and Devanagari, which needs more line height than Latin text */
.seg a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 0.875rem; font-weight: 500; color: var(--text-2); text-decoration: none; }
.seg a.on, .seg a[aria-current="true"] { background: var(--ink); color: var(--on-ink); font-weight: 600; } /* --on-ink, not --bg: on Noir's light cards --bg is black on --ink black */
.langcard .seg { margin-block-start: 8px; }
:root[lang="hi"] body { line-height: 1.4; }
:root[lang="hi"] :is(.tabbar .lbl, .evname, .screen) { line-height: 1.45; }
/* UX-04: the time-zone line sits on the agenda in one compact row (the hint wraps, the switch never drops below it) */
.app .panel > .tzrow { flex-wrap: nowrap; min-height: 40px; margin-block: 0 8px; }
.app .panel > .tzrow [data-tz-hint] { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.app .panel > .tzrow .seg { flex: none; }
.app .panel > .tzrow .seg button { min-height: 36px; padding-inline: 10px; }
/* ATT-04: the clash warning on every screen with a save button */
.clash-box { margin-block: 8px; }
.clash-box .row { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 8px; }
/* ATT-08: who can see my profile */
.pc-vis { flex-basis: 100%; grid-column: 1 / -1; margin: 0; } /* the profile card is a grid: without the span the note widened column one and squashed the name to nothing */
.profilecard .pc-vis .link { min-height: 24px; padding: 0; }
/* DEMO-01: the "Print my schedule" row */
.printrow { display: flex; justify-content: flex-end; margin-block: 0 8px; }
/* SCN-J2 simple mode: Home shows only Now, My schedule, Map and Help */
.simpletiles { display: none; }
:root[data-simple] .simpletiles { display: grid; }
:root[data-simple] :is(.hometiles:not(.simpletiles), .hask, .homealerts, #home-explore-h) { display: none; }
/* SCN-C3: the outage banner is a service issue, not the visitor's network */
.offline[data-kind="outage"] { background: var(--tone-info-bg); color: var(--tone-info-ink); }
/* DEMO-01 kiosk: the profile line and language stay out of the way of the next visitor */
:root[data-kiosk] :is(.pc-vis, .printrow, [data-simple-toggle]) { display: none !important; }
/* SCN-G6 right-to-left: the attendee CSS uses logical properties (margin-inline-start, inset-inline-end, text-align: start…),
   so a right-to-left language mirrors the layout. Icons that point a direction flip; times and numbers stay left-to-right. */
:root[dir="rtl"] svg.ic:has(> use:is([href="#i-back"], [href="#i-chevron"], [href="#i-arrow"], [href="#i-chevleft"])) { transform: scaleX(-1); }
:root[dir="rtl"] :is([data-ts], time, .mono, .rel, .dsub) { direction: ltr; unicode-bidi: isolate; }

