:root {
  --brand-950: var(--brand-950);
  --brand-900: #0b2039;
  --brand-850: #102a4a;
  --brand-800: #17375f;
  --brand-700: #244f80;
  --primary-600: #2f6fa6;
  --primary-500: #4785b8;
  --primary-200: rgba(255,255,255,.82);
  --primary-100: #e4f0f7;
  --primary-50: #f1f7fb;
  --accent-600: #b98a12;
  --accent-500: #d9aa24;
  --accent-300: #f0cf69;
  --accent-100: #fbf0c9;
  --success: #218462;
  --success-soft: #e4f5ef;
  --warning: #9f6810;
  --warning-soft: #fff2d7;
  --danger: #b34848;
  --danger-soft: #fdeaea;

  --bg: #f2f5f9;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-muted: #e9eff5;
  --surface-strong: #dce6ef;
  --ink: #0d1e32;
  --ink-soft: #334b63;
  --muted: #66798c;
  --faint: #8b9aaa;
  --line: #dbe3eb;
  --line-strong: #c9d4df;
  --glass: rgba(250, 252, 254, 0.86);
  --glass-strong: rgba(255, 255, 255, 0.94);
  --shadow-xs: 0 1px 2px color-mix(in srgb, var(--brand-900) 5%, transparent);
  --shadow-sm: 0 6px 20px color-mix(in srgb, var(--brand-900) 8%, transparent);
  --shadow-md: 0 18px 50px color-mix(in srgb, var(--brand-900) 14%, transparent);
  --shadow-lg: 0 28px 80px color-mix(in srgb, var(--brand-950) 23%, transparent);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --topbar-height: 58px;
  --tabbar-height: 64px;
  --content-max: 920px;
  --ease: cubic-bezier(.22, .72, .18, 1);
  --inverse-chip: #e8eef5;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #07121f;
  --surface: #0d1b2b;
  --surface-raised: #102237;
  --surface-muted: #14283d;
  --surface-strong: #1c3349;
  --ink: #eef5fb;
  --ink-soft: #c8d5e1;
  --muted: #93a7ba;
  --faint: #70869a;
  --line: #21374b;
  --line-strong: #31495e;
  --glass: rgba(9, 23, 39, 0.84);
  --glass-strong: rgba(13, 27, 43, 0.95);
  --primary-50: #10253a;
  --primary-100: #17334c;
  --primary-200: #234762;
  --accent-100: #3a3015;
  --success-soft: #12362c;
  --warning-soft: #3d2b12;
  --danger-soft: #3b2023;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .16);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, .22);
  --shadow-md: 0 20px 55px rgba(0, 0, 0, .34);
  --shadow-lg: 0 32px 90px rgba(0, 0, 0, .48);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
button { color: inherit; }
a { color: inherit; }
img, svg { display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--accent-300); color: var(--brand-950); }

.skip-link {
  position: fixed;
  z-index: 500;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: .7rem 1rem;
  border-radius: 12px;
  background: var(--brand-900);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.boot-splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 32%, color-mix(in srgb, var(--primary-500) 28%, transparent), transparent 34%),
    linear-gradient(145deg, var(--brand-950), var(--brand-800));
  color: #fff;
  transition: opacity .34s var(--ease), visibility .34s var(--ease);
}
.boot-splash.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-splash img { width: 86px; height: 86px; border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.boot-splash strong { margin-top: 8px; font-size: 1.4rem; letter-spacing: -.02em; }
.boot-splash span { color: rgba(255,255,255,.82); font-size: .88rem; }
.boot-progress { width: 132px; height: 3px; margin-top: 16px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.16); }
.boot-progress i { display: block; width: 52%; height: 100%; border-radius: inherit; background: var(--accent-500); animation: boot 1.15s ease-in-out infinite alternate; }
@keyframes boot { from { transform: translateX(-60%); } to { transform: translateX(100%); } }

.offline-banner {
  position: fixed;
  z-index: 180;
  top: calc(var(--safe-top) + 6px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-950) 92%, transparent);
  color: #fff;
  box-shadow: var(--shadow-md);
  font-size: .75rem;
  font-weight: 750;
  backdrop-filter: blur(18px);
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-500); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-500) 16%, transparent); }

.app-shell { min-height: 100dvh; }
.app-column { min-width: 0; min-height: 100dvh; }
.nav-rail { display: none; }

.topbar {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  min-height: calc(var(--topbar-height) + var(--safe-top));
  padding: var(--safe-top) max(12px, var(--safe-right)) 0 max(12px, var(--safe-left));
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: var(--glass);
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
}
.topbar-leading { min-width: 44px; }
.mobile-brand { display: block; width: 36px; height: 36px; border-radius: 11px; overflow: hidden; box-shadow: var(--shadow-xs); }
.mobile-brand img { width: 100%; height: 100%; }
.topbar-copy { min-width: 0; text-align: center; line-height: 1.15; }
.topbar-copy small { display: block; overflow: hidden; color: var(--muted); font-size: .63rem; font-weight: 760; letter-spacing: .055em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.topbar-copy strong { display: block; overflow: hidden; margin-top: 3px; font-size: .98rem; font-weight: 810; letter-spacing: -.018em; text-overflow: ellipsis; white-space: nowrap; }
.topbar-actions { display: flex; justify-content: flex-end; gap: 4px; }
.top-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}
.top-icon:hover { background: var(--surface-muted); }
.top-icon:active { transform: scale(.92); }
.top-icon svg { width: 21px; height: 21px; }
.back-button { margin-left: -4px; }

#app {
  min-height: calc(100dvh - var(--topbar-height) - var(--safe-top));
  padding-bottom: calc(var(--tabbar-height) + var(--safe-bottom) + 18px);
}
.page {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding: 22px 16px 42px;
  animation: page-in .28s var(--ease) both;
}
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.page.detail-page { max-width: 820px; padding-top: 12px; }
.page-title { margin: 0 0 4px; font-size: clamp(2rem, 9vw, 2.72rem); line-height: 1.02; letter-spacing: -.055em; }
.page-subtitle { margin: 0; color: var(--muted); font-size: .95rem; }
.large-title { padding: 8px 2px 18px; }
.large-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.large-title .count { color: var(--muted); font-size: .82rem; font-weight: 720; }
.eyebrow { color: var(--accent-600); font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.section { margin-top: 28px; }
.section:first-child { margin-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.section-head h2 { margin: 3px 0 0; font-size: 1.32rem; line-height: 1.15; letter-spacing: -.035em; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: .84rem; }
.text-action { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: var(--primary-600); font-size: .82rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.text-action svg { width: 16px; height: 16px; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow-xs);
}
.card.pressable { transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s ease; }
.card.pressable:hover { transform: translateY(-1px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.card.pressable:active { transform: scale(.992); }

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 348px;
  padding: 26px 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 96% 5%, rgba(255,255,255,.18), transparent 38%),
    linear-gradient(145deg, var(--brand-900), var(--brand-700));
  color: #fff;
  box-shadow: 0 18px 45px color-mix(in srgb, var(--brand-900) 22%, transparent);
}
.hero-card::after {
  content: "";
  position: absolute;
  right: -88px;
  bottom: -86px;
  width: 300px;
  height: 300px;
  background: var(--hero-pattern, none) center/contain no-repeat;
  opacity: .13;
  transform: rotate(-8deg);
}
.hero-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-edition { display: inline-flex; align-items: center; gap: 7px; font-size: .7rem; font-weight: 830; letter-spacing: .12em; text-transform: uppercase; }
.hero-edition i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-500); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-500) 12%, transparent); }
.hero-countdown { padding: 6px 9px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.09); color: rgba(255,255,255,.88); font-size: .67rem; font-weight: 760; backdrop-filter: blur(8px); }
.hero-card h1 { position: relative; z-index: 1; max-width: 520px; margin: 30px 0 12px; font-size: clamp(2.55rem, 12.5vw, 4.6rem); line-height: .91; letter-spacing: -.065em; }
.hero-card h1 span { display: block; color: rgba(255,255,255,.82); font-weight: 520; }
.hero-tagline { position: relative; z-index: 1; max-width: 430px; margin: 0; color: rgba(255,255,255,.86); font-size: .93rem; line-height: 1.55; }
.hero-facts { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-fact { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.96); font-size: .72rem; font-weight: 690; backdrop-filter: blur(8px); }
.hero-fact svg { width: 15px; height: 15px; color: var(--accent-300); }
.hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.button {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: .84rem;
  font-weight: 820;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.button:active { transform: scale(.975); }
.button svg { width: 18px; height: 18px; }
.button.primary { background: var(--brand-850); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--brand-900) 15%, transparent); }
.button.primary:hover { background: var(--brand-700); }
.button.gold { background: var(--accent-500); color: var(--brand-950); }
.button.gold:hover { background: var(--accent-300); }
.button.light { background: #fff; color: var(--brand-900); }
.button.outline { border-color: var(--line-strong); background: var(--surface); color: var(--ink); }
.button.outline:hover { background: var(--surface-muted); }
.button.ghost { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.1); color: #fff; backdrop-filter: blur(8px); }
.button.ghost:hover { background: rgba(255,255,255,.16); }
.button.full { width: 100%; }
.button.small { min-height: 38px; padding-inline: 12px; border-radius: 12px; font-size: .76rem; }

.quick-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick-action {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  text-decoration: none;
}
.quick-action-icon { width: 39px; height: 39px; display: grid; place-items: center; margin-bottom: auto; border-radius: 13px; background: var(--primary-100); color: var(--brand-700); }
.quick-action-icon.gold { background: var(--accent-100); color: var(--accent-600); }
.quick-action-icon svg { width: 20px; height: 20px; }
.quick-action strong { margin-top: 15px; font-size: .9rem; }
.quick-action small { margin-top: 3px; color: var(--muted); font-size: .72rem; line-height: 1.35; }

.now-card { overflow: hidden; }
.now-card-main { padding: 17px 18px; }
.now-card-time { display: flex; align-items: center; gap: 8px; color: var(--primary-600); font-size: .72rem; font-weight: 820; }
.now-card-time .live { display: inline-flex; align-items: center; gap: 5px; color: var(--danger); text-transform: uppercase; letter-spacing: .08em; }
.now-card-time .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 14%, transparent); }
.now-card h3 { margin: 8px 0 5px; font-size: 1.02rem; line-height: 1.28; letter-spacing: -.018em; }
.now-card p { margin: 0; color: var(--muted); font-size: .8rem; }
.now-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--primary-50); }
.now-card-footer span { color: var(--ink-soft); font-size: .72rem; font-weight: 720; }

.notice-list { display: grid; gap: 10px; }
.notice-card { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 15px; }
.notice-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--primary-100); color: var(--primary-600); }
.notice-card[data-level="success"] .notice-icon { background: var(--success-soft); color: var(--success); }
.notice-card[data-level="event"] .notice-icon { background: var(--accent-100); color: var(--accent-600); }
.notice-card[data-level="highlight"] { border: 2px solid var(--accent-600); background: var(--accent-100); }
.notice-card[data-level="highlight"] .notice-icon { background: var(--accent-600); color: #fff; }
.notice-card[data-level="highlight"] h3 { font-size: 1rem; font-weight: 850; letter-spacing: .02em; }
.notice-card[data-level="highlight"] p { color: var(--ink); font-size: .8rem; font-weight: 600; }
.notice-icon svg { width: 18px; height: 18px; }
.notice-card h3 { margin: 1px 0 3px; font-size: .86rem; }
.notice-card p { margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.notice-card time { color: var(--faint); font-size: .65rem; white-space: nowrap; }

.saved-strip { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.saved-strip::-webkit-scrollbar { display: none; }
.saved-card { flex: 0 0 min(82vw, 330px); scroll-snap-align: start; padding: 15px; text-decoration: none; }
.saved-card small { color: var(--primary-600); font-size: .67rem; font-weight: 820; text-transform: uppercase; }
.saved-card h3 { margin: 7px 0 6px; font-size: .9rem; line-height: 1.3; }
.saved-card p { margin: 0; color: var(--muted); font-size: .72rem; }

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--surface-muted);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.search-box:focus-within { border-color: var(--primary-500); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-500) 14%, transparent); }
.search-box svg { flex: 0 0 auto; width: 19px; height: 19px; color: var(--muted); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .9rem; }
.search-box input::placeholder { color: var(--faint); }
.search-clear { width: 25px; height: 25px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--surface-strong); color: var(--muted); cursor: pointer; }
.search-clear svg { width: 14px; height: 14px; }

.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 3px;
  padding: 3px;
  border-radius: 13px;
  background: var(--surface-muted);
}
.segmented button {
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 780;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.segmented button.active { background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-xs); }

.chip-row { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 7px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 760;
  cursor: pointer;
  white-space: nowrap;
}
.chip svg { width: 15px; height: 15px; }
.chip.active { border-color: var(--brand-800); background: var(--brand-800); color: #fff; }
.chip .chip-count { color: var(--faint); }
.chip.active .chip-count { color: rgba(255,255,255,.85); }

.sticky-controls {
  position: sticky;
  z-index: 70;
  top: calc(var(--topbar-height) + var(--safe-top));
  margin: 0 -16px 18px;
  padding: 10px 16px 11px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
.sticky-controls .search-box + .chip-row { margin-top: 9px; }

.programme-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.programme-summary span { color: var(--muted); font-size: .75rem; }
.programme-list { display: grid; gap: 16px; }
.session-card { overflow: hidden; }
.session-header { padding: 17px 17px 15px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, var(--primary-50), var(--surface)); }
.session-header small { color: var(--accent-600); font-size: .65rem; font-weight: 840; letter-spacing: .1em; text-transform: uppercase; }
.session-header h2 { margin: 5px 0 4px; font-size: 1.04rem; line-height: 1.25; letter-spacing: -.02em; }
.session-header p { margin: 0; color: var(--muted); font-size: .72rem; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 76px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.programme-entry { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) 34px; gap: 24px; padding: 15px 13px 15px 12px; border-bottom: 1px solid var(--line); cursor: pointer; }
.programme-entry:last-child { border-bottom: 0; }
.programme-entry:hover { background: var(--primary-50); }
.programme-entry.now { background: color-mix(in srgb, var(--accent-100) 48%, var(--surface)); }
.programme-time { padding-top: 1px; text-align: right; font-variant-numeric: tabular-nums; }
.programme-time strong { display: block; font-size: .78rem; }
.programme-time small { display: block; margin-top: 2px; color: var(--faint); font-size: .64rem; }
.timeline-dot { position: absolute; left: 72px; top: 20px; width: 9px; height: 9px; border: 2px solid var(--surface); border-radius: 50%; background: var(--primary-500); box-shadow: 0 0 0 1px var(--primary-500); }
.programme-entry[data-kind="keynote"] .timeline-dot { background: var(--accent-500); box-shadow: 0 0 0 1px var(--accent-500); }
.programme-entry[data-kind="break"] .timeline-dot,
.programme-entry[data-kind="registration"] .timeline-dot { background: var(--faint); box-shadow: 0 0 0 1px var(--faint); }
.programme-entry[data-kind="social"] .timeline-dot,
.programme-entry[data-kind="flash-session"] .timeline-dot { background: var(--success); box-shadow: 0 0 0 1px var(--success); }
.programme-copy { min-width: 0; }
.programme-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 5px; }
.badge { display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 0 8px; border-radius: 999px; background: var(--primary-100); color: var(--primary-600); font-size: .6rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.badge.gold { background: var(--accent-100); color: var(--accent-600); }
.badge.green { background: var(--success-soft); color: var(--success); }
.badge.gray { background: var(--surface-muted); color: var(--muted); }
.badge.red { background: var(--danger-soft); color: var(--danger); }
.badge svg { width: 12px; height: 12px; }
.programme-copy h3 { margin: 0; font-size: .9rem; line-height: 1.32; letter-spacing: -.012em; }
.programme-copy .speaker { margin: 5px 0 0; color: var(--ink-soft); font-size: .76rem; font-weight: 720; }
.programme-copy .affiliation { margin: 2px 0 0; color: var(--muted); font-size: .69rem; line-height: 1.35; }
.programme-copy .location { display: flex; align-items: center; gap: 5px; margin-top: 8px; color: var(--faint); font-size: .66rem; }
.programme-copy .location svg { width: 13px; height: 13px; }
.entry-action { align-self: start; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.entry-action:hover { background: var(--surface-muted); }
.entry-action.active { color: var(--accent-600); }
.entry-action svg { width: 19px; height: 19px; }
.empty-state { padding: 36px 22px; text-align: center; }
.empty-state-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 18px; background: var(--surface-muted); color: var(--muted); }
.empty-state-icon svg { width: 26px; height: 26px; }
.empty-state h3 { margin: 0; font-size: 1rem; }
.empty-state p { max-width: 390px; margin: 7px auto 0; color: var(--muted); font-size: .79rem; }

.abstract-list { display: grid; gap: 10px; }
.abstract-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 38px; gap: 12px; padding: 16px; text-decoration: none; }
.abstract-card-main { min-width: 0; }
.abstract-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 7px; }
.abstract-card h2 { margin: 0; font-size: .92rem; line-height: 1.34; letter-spacing: -.012em; }
.abstract-card .authors { margin: 7px 0 0; color: var(--ink-soft); font-size: .75rem; font-weight: 700; }
.abstract-card .abstract-meta { display: flex; flex-wrap: wrap; gap: 7px 12px; margin-top: 8px; color: var(--muted); font-size: .66rem; }
.abstract-card .abstract-meta span { display: inline-flex; align-items: center; gap: 4px; }
.abstract-card .abstract-meta svg { width: 12px; height: 12px; }
.abstract-card .chevron { align-self: center; color: var(--faint); }
.abstract-card .chevron svg { width: 19px; height: 19px; }
.abstract-bookmark { position: absolute; top: 10px; right: 9px; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--surface); color: var(--muted); cursor: pointer; }
.abstract-bookmark.active { color: var(--accent-600); }
.abstract-bookmark svg { width: 18px; height: 18px; }
.results-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 2px 12px; color: var(--muted); font-size: .72rem; }
.sort-select { border: 0; outline: 0; background: transparent; color: var(--primary-600); font-size: .72rem; font-weight: 800; }

.detail-hero { padding: 20px 18px 18px; }
.detail-actions { display: flex; justify-content: flex-end; gap: 6px; margin-bottom: 10px; }
.detail-actions .top-icon { background: var(--surface-muted); }
.detail-hero .badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.detail-hero h1 { margin: 0; font-size: clamp(1.65rem, 7vw, 2.45rem); line-height: 1.08; letter-spacing: -.045em; }
.detail-authors { margin: 17px 0 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.55; }
.detail-authors .presenting { font-weight: 800; color: var(--ink); }
.presenter-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--muted); font-size: .68rem; }
.presenter-note svg { width: 14px; height: 14px; color: var(--accent-600); }
.detail-grid { display: grid; gap: 14px; margin-top: 14px; }
.info-card { padding: 16px; }
.info-card h2 { margin: 0 0 10px; font-size: .92rem; }
.info-card p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.schedule-info { display: grid; gap: 10px; }
.schedule-line { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: start; }
.schedule-line-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--primary-100); color: var(--primary-600); }
.schedule-line-icon svg { width: 16px; height: 16px; }
.schedule-line strong { display: block; font-size: .76rem; }
.schedule-line span { display: block; margin-top: 2px; color: var(--muted); font-size: .7rem; }
.affiliation-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.affiliation-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.affiliation-list sup { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 8px; background: var(--surface-muted); color: var(--ink-soft); font-size: .62rem; font-weight: 820; top: 0; }
.abstract-body { margin-top: 14px; padding: 22px 18px; }
.abstract-body h2 { margin: 0 0 18px; font-size: 1.05rem; }
.abstract-body p { margin: 0 0 16px; color: var(--ink-soft); font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif; font-size: .99rem; line-height: 1.7; }
.abstract-body p:last-child { margin-bottom: 0; }
.abstract-body p strong.section-label { color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; font-size: .82rem; letter-spacing: .02em; text-transform: uppercase; }
.keyword-list { display: flex; flex-wrap: wrap; gap: 7px; }
.keyword { padding: 6px 9px; border-radius: 999px; background: var(--surface-muted); color: var(--ink-soft); font-size: .67rem; font-weight: 700; }
.detail-footer-actions { display: grid; gap: 9px; margin-top: 14px; }
.detail-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.detail-nav a { min-width: 0; padding: 14px; text-decoration: none; }
.detail-nav small { display: block; color: var(--muted); font-size: .63rem; font-weight: 800; text-transform: uppercase; }
.detail-nav strong { display: -webkit-box; overflow: hidden; margin-top: 6px; font-size: .73rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.explore-tabs { margin-bottom: 16px; }
.venue-stack { display: grid; gap: 14px; }
.venue-card { overflow: hidden; }
.venue-visual { position: relative; height: 210px; overflow: hidden; background: linear-gradient(145deg, var(--brand-850), var(--brand-700)); }
.venue-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.venue-visual::after { content: ""; position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(transparent, color-mix(in srgb, var(--brand-950) 74%, transparent)); }
.venue-label { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; color: #fff; }
.venue-label small { color: rgba(255,255,255,.82); font-size: .65rem; font-weight: 780; text-transform: uppercase; }
.venue-label h2 { margin: 4px 0 0; font-size: 1.22rem; }
.venue-content { padding: 16px; }
.venue-address { display: flex; gap: 9px; color: var(--ink-soft); font-size: .75rem; line-height: 1.45; }
.venue-address svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; color: var(--primary-600); }
.venue-content p { margin: 12px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.venue-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; }
.route-card { padding: 17px; }
.route-card h2 { margin: 0; font-size: 1rem; }
.route-card > p { margin: 5px 0 0; color: var(--muted); font-size: .74rem; }
.route-steps { display: grid; gap: 0; margin-top: 17px; }
.route-step { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding-bottom: 18px; }
.route-step:last-child { padding-bottom: 0; }
.route-step:not(:last-child)::before { content: ""; position: absolute; left: 18px; top: 38px; bottom: 0; width: 2px; background: var(--line); }
.route-number { width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid var(--surface); border-radius: 13px; background: var(--brand-850); color: #fff; box-shadow: 0 0 0 1px var(--brand-850); font-size: .72rem; font-weight: 850; }
.route-step strong { display: block; padding-top: 1px; font-size: .8rem; }
.route-step p { margin: 3px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.travel-grid { display: grid; gap: 12px; }
.travel-card { padding: 16px; }
.travel-card-head { display: flex; align-items: center; gap: 11px; }
.travel-card-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: var(--primary-100); color: var(--primary-600); }
.travel-card-icon svg { width: 20px; height: 20px; }
.travel-card h2 { margin: 0; font-size: .9rem; }
.travel-card ul { margin: 14px 0 0; padding: 0 0 0 18px; color: var(--muted); font-size: .74rem; line-height: 1.55; }
.travel-card li + li { margin-top: 7px; }
.link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 14px; }

.grouped-list { display: grid; gap: 18px; }
.list-group > h2 { margin: 0 0 8px 12px; color: var(--muted); font-size: .68rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.list-card { overflow: hidden; }
.list-row { min-height: 56px; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 9px 13px; border-bottom: 1px solid var(--line); text-decoration: none; }
.list-row:last-child { border-bottom: 0; }
button.list-row { width: 100%; border-top: 0; border-left: 0; border-right: 0; background: var(--surface); color: inherit; text-align: left; cursor: pointer; }
.list-row:hover { background: var(--primary-50); }
.list-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--primary-100); color: var(--primary-600); }
.list-icon.gold { background: var(--accent-100); color: var(--accent-600); }
.list-icon.green { background: var(--success-soft); color: var(--success); }
.list-icon.red { background: var(--danger-soft); color: var(--danger); }
.list-icon svg { width: 18px; height: 18px; }
.list-copy { min-width: 0; }
.list-copy strong { display: block; font-size: .79rem; }
.list-copy small { display: block; overflow: hidden; margin-top: 2px; color: var(--muted); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.list-trailing { display: flex; align-items: center; gap: 7px; color: var(--faint); font-size: .69rem; }
.list-trailing svg { width: 17px; height: 17px; }
.toggle { position: relative; width: 46px; height: 28px; border: 0; border-radius: 999px; background: var(--surface-strong); cursor: pointer; transition: background .2s ease; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.toggle.active { background: var(--success); }
.toggle.active::after { transform: translateX(18px); }

.people-grid { display: grid; gap: 9px; }
.person-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 11px; align-items: center; padding: 12px; }
.avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, var(--brand-700), var(--primary-500)); color: #fff; font-size: .72rem; font-weight: 850; }
.person-card strong { display: block; font-size: .78rem; }
.person-card small { display: block; margin-top: 2px; color: var(--muted); font-size: .68rem; }

.install-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 17px; background: linear-gradient(135deg, var(--brand-900), var(--brand-700)); color: #fff; }
.install-card img { width: 56px; height: 56px; border-radius: 16px; }
.install-card h2 { margin: 0; font-size: 1rem; }
.install-card p { margin: 4px 0 12px; color: rgba(255,255,255,.84); font-size: .72rem; }

.tabbar {
  position: fixed;
  z-index: 110;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--tabbar-height) + var(--safe-bottom));
  display: grid;
  grid-template-columns: repeat(var(--tab-count, 7), 1fr);
  padding: 5px max(2px, var(--safe-right)) var(--safe-bottom) max(6px, var(--safe-left));
  border-top: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: var(--glass-strong);
  backdrop-filter: saturate(170%) blur(24px);
  -webkit-backdrop-filter: saturate(170%) blur(24px);
}
.tabbar a { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 12px; color: var(--muted); text-decoration: none; }
.tabbar a::before { content: ""; position: absolute; top: 2px; width: 28px; height: 2px; border-radius: 999px; background: transparent; }
.tabbar a svg { width: 22px; height: 22px; stroke-width: 1.75; }
.tabbar a span { font-size: .58rem; font-weight: 720; letter-spacing: -.01em; white-space: nowrap; }
.tabbar a.active { color: var(--brand-700); }
.tabbar a.active::before { background: var(--accent-500); }
:root[data-theme="dark"] .tabbar a.active { color: var(--inverse-chip); }
body.detail-route .tabbar { transform: translateY(110%); transition: transform .25s var(--ease); }
body.detail-route #app { padding-bottom: calc(var(--safe-bottom) + 18px); }

.action-sheet, .native-dialog {
  border: 0;
  color: var(--ink);
}
.action-sheet {
  width: min(680px, 100%);
  max-height: min(88dvh, 760px);
  margin: auto auto 0;
  padding: 0 0 var(--safe-bottom);
  border-radius: 25px 25px 0 0;
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.action-sheet::backdrop, .native-dialog::backdrop { background: color-mix(in srgb, var(--brand-950) 56%, transparent); backdrop-filter: blur(3px); }
.action-sheet[open] { animation: sheet-in .3s var(--ease) both; }
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sheet-handle { width: 38px; height: 5px; margin: 9px auto 2px; border-radius: 999px; background: var(--line-strong); }
.sheet-body { max-height: calc(88dvh - 18px - var(--safe-bottom)); overflow-y: auto; overscroll-behavior: contain; }
.sheet-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 15px 18px 12px; }
.sheet-header small { color: var(--muted); font-size: .66rem; font-weight: 800; text-transform: uppercase; }
.sheet-header h2 { margin: 4px 0 0; font-size: 1.17rem; line-height: 1.25; letter-spacing: -.025em; }
.sheet-content { padding: 0 18px 20px; }
.sheet-content > p { color: var(--muted); font-size: .76rem; line-height: 1.5; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.sheet-meta-list { display: grid; gap: 10px; margin-top: 14px; }
.sheet-meta { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; align-items: start; }
.sheet-meta svg { width: 18px; height: 18px; margin-top: 1px; color: var(--primary-600); }
.sheet-meta strong { display: block; font-size: .75rem; }
.sheet-meta span { display: block; margin-top: 2px; color: var(--muted); font-size: .7rem; }
.contributor-list { display: grid; gap: 8px; margin-top: 13px; }
.contributor { padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.contributor-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.contributor strong { font-size: .77rem; }
.contributor small { display: block; margin-top: 2px; color: var(--muted); font-size: .66rem; }
.contributor-abstracts { display: grid; gap: 5px; margin-top: 9px; }
.contributor-abstracts a { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 8px 9px; border-radius: 10px; background: var(--surface-muted); color: var(--ink-soft); font-size: .68rem; font-weight: 700; text-decoration: none; }
.contributor-abstracts svg { flex: 0 0 auto; width: 15px; height: 15px; }

.native-dialog {
  width: min(520px, calc(100% - 26px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
}
.native-dialog[open] { animation: dialog-in .25s var(--ease) both; }
@keyframes dialog-in { from { opacity: 0; transform: scale(.94) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.dialog-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 20px 10px; }
.dialog-top small { color: var(--accent-600); font-size: .67rem; font-weight: 850; text-transform: uppercase; }
.dialog-top h2 { margin: 5px 0 0; font-size: 1.25rem; line-height: 1.2; }
#install-content { padding: 4px 20px 22px; }
.install-steps { display: grid; gap: 9px; margin-top: 13px; }
.install-step { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; padding: 11px; border-radius: 14px; background: var(--surface-muted); }
.install-step-index { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-850); color: #fff; font-size: .72rem; font-weight: 850; }
.install-step strong { display: block; font-size: .76rem; }
.install-step p { margin: 3px 0 0; color: var(--muted); font-size: .69rem; line-height: 1.4; }

.toast {
  position: fixed;
  z-index: 500;
  left: 50%;
  bottom: calc(var(--tabbar-height) + var(--safe-bottom) + 16px);
  transform: translate(-50%, 30px);
  width: max-content;
  max-width: calc(100% - 28px);
  padding: 10px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand-950) 94%, transparent);
  color: #fff;
  box-shadow: var(--shadow-md);
  font-size: .75rem;
  font-weight: 720;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s var(--ease);
  backdrop-filter: blur(16px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.detail-route .toast { bottom: calc(var(--safe-bottom) + 18px); }

.loading-state { display: grid; gap: 11px; padding: 28px 0; }
.skeleton { overflow: hidden; border-radius: 14px; background: var(--surface-muted); }
.skeleton::after { content: ""; display: block; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent); animation: shimmer 1.2s infinite; }
@keyframes shimmer { from { transform: translateX(-120%); } to { transform: translateX(320%); } }
.skeleton.title { width: 58%; height: 34px; }
.skeleton.card { height: 118px; }

@media (min-width: 700px) {
  .page { padding-inline: 24px; }
  .sticky-controls { margin-inline: -24px; padding-inline: 24px; }
  .chip-row, .saved-strip { margin-inline: -24px; padding-inline: 24px; }
  .quick-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quick-action { min-height: 145px; }
  .hero-card { min-height: 390px; padding: 34px 34px; }
  .hero-card::after { right: -20px; bottom: -80px; width: 390px; height: 390px; opacity: .17; }
  .hero-card h1 { margin-top: 48px; }
  .travel-grid { grid-template-columns: 1fr 1fr; }
  .venue-stack { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1.25fr .75fr; align-items: start; }
  .detail-grid .schedule-card { grid-column: 2; grid-row: 1 / span 2; }
  .people-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  :root { --topbar-height: 70px; --content-max: 980px; }
  .app-shell { display: grid; grid-template-columns: 92px minmax(0, 1fr); }
  .nav-rail {
    position: sticky;
    z-index: 120;
    top: 0;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 10px 16px;
    border-right: 1px solid var(--line);
    background: var(--surface);
  }
  .rail-brand { display: grid; justify-items: center; gap: 5px; color: var(--ink); text-decoration: none; }
  .rail-brand img { width: 45px; height: 45px; border-radius: 14px; box-shadow: var(--shadow-xs); }
  .rail-brand span { display: flex; align-items: baseline; gap: 3px; }
  .rail-brand strong { font-size: .72rem; }
  .rail-brand small { color: var(--muted); font-size: .6rem; }
  .rail-links { width: 100%; display: grid; gap: 7px; margin-top: 34px; }
  .rail-links a { min-height: 59px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 15px; color: var(--muted); font-size: .62rem; font-weight: 750; text-decoration: none; }
  .rail-links a svg { width: 22px; height: 22px; }
  .rail-links a:hover { background: var(--surface-muted); }
  .rail-links a.active { background: var(--brand-850); color: #fff; }
  .rail-install { width: 100%; min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin-top: auto; border: 0; border-radius: 15px; background: var(--accent-100); color: var(--accent-600); font-size: .6rem; font-weight: 800; cursor: pointer; }
  .rail-install svg { width: 20px; height: 20px; }
  .topbar { grid-template-columns: 54px minmax(0, 1fr) auto; padding-inline: 24px; }
  .mobile-brand { width: 40px; height: 40px; }
  .topbar-copy { text-align: left; }
  .topbar-copy small { font-size: .66rem; }
  .topbar-copy strong { font-size: 1.08rem; }
  .tabbar { display: none; }
  #app, body.detail-route #app { padding-bottom: 28px; }
  .page { padding: 30px 30px 60px; }
  .sticky-controls { top: var(--topbar-height); margin-inline: -30px; padding-inline: 30px; }
  .chip-row, .saved-strip { margin-inline: -30px; padding-inline: 30px; }
  .hero-card { min-height: 430px; }
  .programme-list { gap: 18px; }
  .session-card { border-radius: 24px; }
  .abstract-list { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .abstract-card { height: 100%; }
  body.detail-route .tabbar { transform: none; }
  .toast, body.detail-route .toast { bottom: 24px; }
}

@media (min-width: 1260px) {
  .app-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .nav-rail { align-items: stretch; padding: 22px 16px; }
  .rail-brand { grid-template-columns: 48px minmax(0, 1fr); justify-items: start; align-items: center; gap: 11px; }
  .rail-brand img { width: 48px; height: 48px; }
  .rail-brand span { display: block; }
  .rail-brand strong { display: block; font-size: .92rem; }
  .rail-brand small { display: block; margin-top: 2px; font-size: .68rem; }
  .rail-links a { min-height: 50px; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 0 14px; font-size: .76rem; }
  .rail-links a svg { width: 20px; height: 20px; }
  .rail-install { min-height: 48px; flex-direction: row; gap: 10px; font-size: .72rem; }
}

@media (max-width: 389px) {
  .page { padding-inline: 12px; }
  .sticky-controls { margin-inline: -12px; padding-inline: 12px; }
  .chip-row, .saved-strip { margin-inline: -12px; padding-inline: 12px; }
  .hero-card { padding: 22px 19px; border-radius: 24px; }
  .hero-card h1 { font-size: 2.42rem; }
  .hero-actions .button { width: 100%; }
  .quick-action { min-height: 125px; padding: 14px; }
  .programme-entry { grid-template-columns: 47px minmax(0,1fr) 30px; gap: 20px; padding-left: 8px; }
  .timeline::before { left: 65px; }
  .timeline-dot { left: 61px; }
  .sheet-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .topbar, .tabbar, .nav-rail, .offline-banner, .detail-actions, .detail-footer-actions, .detail-nav, .boot-splash { display: none !important; }
  .app-shell { display: block; }
  #app { padding: 0; }
  .page { width: 100%; max-width: none; padding: 0; }
  .card { border-color: #bbb; box-shadow: none; }
  .abstract-body p { color: #111; }
}

/* CME & sponsors */
.cme-hero { padding: 20px; }
.cme-hero-top { display: flex; align-items: center; gap: 13px; margin-bottom: 13px; }
.cme-hero-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--accent-100); color: var(--accent-600); }
.cme-hero-icon svg { width: 25px; height: 25px; }
.cme-hero-top small { color: var(--muted); font-size: .68rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.cme-hero-top h2 { margin: 2px 0 0; font-size: 1.22rem; letter-spacing: -.03em; }
.cme-hero > p { margin: 13px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.cme-reference { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 10px; margin-top: 17px; }
.cme-total, .cme-days > div { border-radius: 16px; background: var(--surface-muted); padding: 13px 14px; }
.cme-total strong { display: block; font-size: 2.3rem; line-height: 1; letter-spacing: -.05em; color: var(--brand-700); }
:root[data-theme="dark"] .cme-total strong { color: var(--inverse-chip); }
.cme-total span, .cme-days span { display: block; margin-top: 5px; color: var(--muted); font-size: .66rem; font-weight: 700; }
.cme-days { display: grid; gap: 10px; }
.cme-days strong { font-size: 1.15rem; }
.cme-vnr { display: block; margin-top: 6px; color: var(--muted); font-size: .64rem; font-weight: 700; letter-spacing: .02em; }
.cme-vnr b { display: block; color: var(--ink); font-size: .78rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0; overflow-wrap: anywhere; user-select: all; }
@media (max-width: 559px) { .cme-reference { grid-template-columns: minmax(0, 1fr); } }
.cme-note { display: flex; gap: 8px; align-items: flex-start; font-size: .72rem !important; }
.cme-note svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.cme-german { margin-top: 12px; padding: 14px 18px; }
.cme-german summary { cursor: pointer; font-size: .8rem; font-weight: 780; }
.cme-german p { margin: 11px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.sponsor-list { display: grid; gap: 10px; }
.sponsor-card { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; }
.sponsor-logo { display: grid; place-items: center; height: 60px; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.sponsor-logo img { max-width: 100%; max-height: 42px; object-fit: contain; }
.sponsor-copy { min-width: 0; display: grid; justify-items: start; gap: 6px; }
.sponsor-copy strong { font-size: .84rem; line-height: 1.25; }
.badge.silver { background: #e7ebf0; color: #4c5a69; }
:root[data-theme="dark"] .badge.silver { background: #26384b; color: #c8d3de; }
.sponsor-amount { text-align: right; font-variant-numeric: tabular-nums; }
.sponsor-amount strong { display: block; font-size: 1rem; }
.sponsor-amount small { color: var(--faint); font-size: .62rem; }
.sponsor-ad { margin-top: 14px; padding: 0; overflow: hidden; }
.sponsor-ad-label { display: flex; justify-content: space-between; gap: 10px; padding: 9px 14px; color: var(--faint); font-size: .62rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.sponsor-ad-label span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: .02em; text-transform: none; }
.sponsor-ad-image { display: block; background: var(--brand-900); }
.sponsor-ad-image img { width: 100%; height: auto; }
.sponsor-ad-image:focus-visible { outline: 3px solid var(--primary-500); outline-offset: -3px; }
.sponsor-ad-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; padding: 12px 14px; border-top: 1px solid var(--line); }
.sponsor-ad-actions p { margin: 0; color: var(--muted); font-size: .74rem; font-weight: 650; }
.sponsor-ad-actions div { display: flex; flex-wrap: wrap; gap: 8px; }
.sponsor-ad-actions .button svg { width: 16px; height: 16px; }
@media (max-width: 420px) { .sponsor-ad-actions div { width: 100%; } .sponsor-ad-actions .button { flex: 1; } }
@media (min-width: 820px) {
  .sponsor-ad { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr); }
  .sponsor-ad-label { grid-column: 1 / -1; }
  .sponsor-ad-actions { flex-direction: column; align-items: stretch; justify-content: center; gap: 14px; padding: 20px; border-top: 0; border-left: 1px solid var(--line); }
  .sponsor-ad-actions p { font-size: .82rem; line-height: 1.45; }
  .sponsor-ad-actions div { flex-direction: column; }
  .sponsor-ad-actions .button { width: 100%; }
}
@media (max-width: 389px) {
  .sponsor-card { grid-template-columns: 88px minmax(0, 1fr); }
  .sponsor-amount { grid-column: 2; text-align: left; }
  .tabbar a span { font-size: .56rem; }
}
@media (min-width: 700px) {
  .sponsor-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Poster session */
.poster-table-card { padding: 0; overflow: hidden; }
.poster-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.poster-table thead th { position: sticky; top: 0; padding: 11px 12px; background: var(--surface-muted); color: var(--muted); font-size: .62rem; font-weight: 850; letter-spacing: .07em; text-align: left; text-transform: uppercase; }
.poster-table .pt-group th { padding: 16px 14px 8px; border-top: 1px solid var(--line); text-align: left; }
.poster-table tbody:first-of-type .pt-group th { border-top: 0; }
.pt-group span { display: block; color: var(--accent-600); font-size: .66rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.pt-group small { display: block; margin-top: 2px; color: var(--faint); font-size: .66rem; font-weight: 700; }
.pt-row td { padding: 11px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.pt-row.linked { cursor: pointer; }
.pt-row.linked:hover, .pt-row.linked:focus-visible { background: var(--primary-50); outline: none; }
.pt-no { width: 58px; text-align: center !important; }
.poster-no { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 6px; border-radius: 11px; background: var(--brand-850); color: #fff; font-size: .92rem; font-weight: 850; font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .poster-no { background: var(--inverse-chip); color: var(--brand-950); }
.pt-title strong { display: block; font-size: .82rem; line-height: 1.35; font-weight: 720; }
.pt-author-inline { display: flex; align-items: center; gap: 5px; margin-top: 6px; color: var(--muted); font-size: .74rem; font-weight: 650; }
.pt-author-inline svg { width: 13px; height: 13px; flex: none; }
.pt-author { width: 22%; color: var(--ink); font-weight: 650; }
.pt-topic { width: 24%; color: var(--muted); font-size: .72rem; }
.poster-table .pt-author, .poster-table .pt-topic { display: none; }
@media (min-width: 820px) {
  .poster-table .pt-author, .poster-table .pt-topic { display: table-cell; }
  .pt-author-inline { display: none; }
}
@media (max-width: 389px) {
  .pt-no { width: 50px; }
  .pt-row td { padding: 10px 8px; }
}
.badge.poster-badge { background: var(--brand-850); color: #fff; text-decoration: none; }
:root[data-theme="dark"] .badge.poster-badge { background: var(--inverse-chip); color: var(--brand-950); }

.poster-format { margin-bottom: 16px; padding: 18px; }
.poster-format-head { display: flex; gap: 13px; align-items: flex-start; }
.poster-format-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 13px; background: var(--accent-100); color: var(--accent-600); }
.poster-format-icon svg { width: 22px; height: 22px; }
.poster-format h2 { margin: 1px 0 4px; font-size: 1.02rem; letter-spacing: -.02em; }
.poster-format-head p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.poster-format-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 15px; }
.poster-format-facts div { padding: 11px 12px; border-radius: 13px; background: var(--surface-muted); }
.poster-format-facts small { display: block; color: var(--muted); font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.poster-format-facts strong { display: block; margin-top: 4px; font-size: .84rem; font-variant-numeric: tabular-nums; }
.poster-format-note { display: flex; gap: 8px; align-items: flex-start; margin: 13px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.poster-format-note svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--success); }
@media (max-width: 389px) { .poster-format-facts strong { font-size: .76rem; } }

/* Poster voting */
.voting-card { margin-bottom: 16px; padding: 18px; border-color: color-mix(in srgb, var(--accent-500) 45%, var(--line)); }
.voting-head { display: flex; gap: 13px; align-items: flex-start; }
.voting-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 13px; background: var(--accent-100); color: var(--accent-600); }
.voting-icon svg { width: 22px; height: 22px; fill: currentColor; }
.voting-head h2 { margin: 1px 0 4px; font-size: 1.02rem; letter-spacing: -.02em; }
.voting-head p { margin: 0; color: var(--muted); font-size: .74rem; font-weight: 650; line-height: 1.45; }
.voting-card > .badge { margin-top: 13px; }
.voting-text { margin: 12px 0 0; color: var(--ink-soft); font-size: .8rem; line-height: 1.5; }
.voting-form { display: flex; gap: 8px; margin-top: 13px; }
.voting-form input { flex: 1; min-width: 0; min-height: 42px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.voting-form input::placeholder { color: var(--faint); font-weight: 600; letter-spacing: 0; text-transform: none; }
.voting-form input:focus { outline: 2px solid var(--primary-500); outline-offset: 1px; }
.voting-form .button { min-height: 42px; flex: none; }
.voting-error { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; color: var(--danger); font-size: .76rem; font-weight: 650; line-height: 1.45; }
.voting-error svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.voting-card > .button { margin-top: 12px; }
.voting-meter { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.voting-meter strong { font-size: .86rem; }
.voting-dots { display: flex; gap: 5px; }
.voting-dot { width: 12px; height: 12px; border: 2px solid var(--accent-500); border-radius: 50%; }
.voting-dot.used { background: var(--accent-500); }
.voting-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.voting-chip { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: var(--brand-850); color: #fff; font: inherit; font-size: .78rem; font-weight: 850; cursor: default; }
button.voting-chip { cursor: pointer; }
.voting-chip svg { width: 13px; height: 13px; opacity: .75; }
:root[data-theme="dark"] .voting-chip { background: var(--inverse-chip); color: var(--brand-950); }
.voting-code-line { margin: 12px 0 0; color: var(--faint); font-size: .7rem; font-weight: 650; }
.link-button { padding: 0; border: 0; background: none; color: var(--primary-600); font: inherit; text-decoration: underline; cursor: pointer; }
.pt-vote { width: 52px; text-align: center !important; }
.pt-row td.pt-vote { padding-left: 4px; padding-right: 8px; vertical-align: middle; }
.vote-button { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--muted); cursor: pointer; transition: transform .12s ease, background .12s ease; }
.vote-button svg { width: 20px; height: 20px; }
@media (hover: hover) { .vote-button:not(.voted):not(:disabled):hover { background: var(--accent-100); color: var(--accent-600); } }
.vote-button:active { transform: scale(.92); }
.vote-button.voted { border-color: var(--accent-500); background: var(--accent-500); color: var(--brand-950); }
.vote-button.voted svg { fill: currentColor; }
.vote-button.busy { opacity: .55; }
.vote-button:disabled { cursor: default; opacity: .45; }
.vote-button.voted:disabled { opacity: .8; }

/* Notice link button */
.notice-link { margin-top: 10px; }
.notice-link svg { width: 16px; height: 16px; }

/* Participant feedback */
.feedback-form { display: grid; gap: 18px; padding: 18px; }
.feedback-q { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.feedback-q legend, .feedback-label { padding: 0; margin-bottom: 8px; color: var(--ink); font-size: .86rem; font-weight: 750; }
.feedback-required { margin-left: 6px; color: var(--accent-600); font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.feedback-stars { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.feedback-star { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--faint); cursor: pointer; }
.feedback-star svg { width: 22px; height: 22px; }
.feedback-star.on { border-color: var(--accent-500); background: var(--accent-500); color: var(--brand-950); }
.feedback-star.on svg { fill: currentColor; }
.feedback-star:focus-visible { outline: 2px solid var(--primary-500); outline-offset: 2px; }
.feedback-scale { margin-left: 4px; color: var(--muted); font-size: .76rem; font-weight: 700; }
.chip-row.wrap { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
.feedback-q textarea { width: 100%; min-height: 96px; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: .88rem; line-height: 1.45; resize: vertical; }
.feedback-q textarea:focus { outline: 2px solid var(--primary-500); outline-offset: 1px; }
.feedback-privacy { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.feedback-privacy svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.feedback-error { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: var(--danger-soft); color: var(--danger); font-size: .82rem; font-weight: 650; }
.feedback-error svg { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.feedback-thanks { display: flex; gap: 14px; align-items: flex-start; padding: 20px; }
.feedback-thanks-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--success-soft); color: var(--success); }
.feedback-thanks-icon svg { width: 24px; height: 24px; }
.feedback-thanks h2 { margin: 2px 0 6px; font-size: 1.1rem; }
.feedback-thanks p { margin: 0 0 14px; color: var(--muted); font-size: .84rem; line-height: 1.5; }
@media (min-width: 700px) { .feedback-page { max-width: 760px; } }

/* ---------- Halltalk additions ---------- */
#confkit { min-height: 100dvh; }
.preview-banner {
  position: sticky;
  z-index: 130;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 12px;
  background: var(--accent-500);
  color: var(--brand-950);
  font-size: .7rem;
  font-weight: 800;
}
.preview-banner svg { width: 15px; height: 15px; }
.block-text { margin: 12px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.travel-card .block-text:first-child { margin-top: 0; }
.block-image { margin: 0; overflow: hidden; }
.block-image img { width: 100%; height: auto; }
.block-image figcaption { padding: 12px 16px; color: var(--muted); font-size: .74rem; }
.block-image figcaption strong { color: var(--ink); }
.sponsor-card.no-amount { grid-template-columns: 112px minmax(0, 1fr); }
.sponsor-copy small { color: var(--muted); font-size: .7rem; line-height: 1.4; }
.sponsor-initials { color: var(--brand-800); font-size: 1.1rem; font-weight: 850; letter-spacing: .04em; }
@media (max-width: 520px) { .sponsor-card.no-amount { grid-template-columns: 88px minmax(0, 1fr); } }
.brand-mono { display: grid; place-items: center; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(145deg, var(--brand-900), var(--brand-700)); color: #fff; font-size: .62rem; font-weight: 850; letter-spacing: .02em; }
.rail-brand .brand-mono { width: 45px; height: 45px; border-radius: 14px; font-size: .8rem; }
.install-card .brand-mono { width: 56px; height: 56px; border-radius: 16px; font-size: .9rem; }
