/* C1 Transform 2026 attendee app.
   Tokens from the Claude Design handoff (design_handoff_transform_pwa/tokens.css).
   Dark by default; light only when the phone is set to light. */

:root {
  --c1-pink: #FF92EB;
  --c1-on-pink: #1B1A1E;
  --c1-violet: #7353FF;
  --c1-panel-tag: #C7EAE5;
  --c1-green: #007500;
  --c1-sand: #EBD5BF;
  --c1-sand-text: #3A363C;

  --bg: #1B1A1E;
  --surface: #232024;
  --surface-2: #2C292E;
  --line: #4A474D;
  --line-soft: #343137;
  --text: #F7F7F5;
  --text-2: #CFCDD2;
  --text-3: #A7A4AB;
  --heading: #8AF1D9;
  --link: #8AF1D9;
  --seg-active: #FF92EB;
  --live: #A6F700;
  --on-live: #1B1A1E;
  --track: rgba(247, 247, 245, .14);
  --tab-bg: #151417;
  --tab-idle: #A7A4AB;
  --tab-active: #FF92EB;
  --warn-bg: #2E2610; --warn-line: rgba(255, 198, 46, .35); --warn-fg: #FFC62E; --warn-text: #F7E3A6;
  --err: #FF9A5C;
  --inv-bg: #F7F7F5; --inv-fg: #1B1A1E;
  --scrim: rgba(0, 0, 0, .62);
  --sheet: #232024;
  --map-bg: #151417; --map-road: #343137; --map-road-2: #29262B; --map-label: #A7A4AB;
  --pin: #F7F7F5; --on-pin: #1B1A1E;
  --logo-w: block; --logo-b: none;

  --font-display: 'Anybody', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, sans-serif;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --header-h: 56px;
  --tabbar-h: 56px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root[data-theme='system'] {
    --bg: #F0EFEC; --surface: #FFFFFF; --surface-2: #E6E5E1;
    --line: #C9C7C3; --line-soft: #DEDCD8;
    --text: #1B1A1E; --text-2: #46434A; --text-3: #65626A;
    --heading: #1B1A1E; --link: #6421FF; --seg-active: #1B1A1E;
    --live: #007500; --on-live: #FFFFFF; --track: rgba(27, 26, 30, .12);
    --tab-bg: #FFFFFF; --tab-idle: #65626A; --tab-active: #1B1A1E;
    --warn-bg: #FFF3CC; --warn-line: #F0D27A; --warn-fg: #6B4E00; --warn-text: #4A3A00;
    --err: #B34700; --inv-bg: #1B1A1E; --inv-fg: #F7F7F5;
    --scrim: rgba(27, 26, 30, .45); --sheet: #FFFFFF;
    --map-bg: #E6E5E1; --map-road: #FFFFFF; --map-road-2: #F4F3F0; --map-label: #65626A;
    --pin: #1B1A1E; --on-pin: #FFFFFF;
    --logo-w: none; --logo-b: block;
    color-scheme: light;
  }
}

@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: .3 } }
@keyframes shimmer { 0%, 100% { opacity: .5 } 50% { opacity: 1 } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.sheet-open { overflow: hidden; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--link); }
button { font-family: var(--font-body); color: inherit; }
button, [data-act] { cursor: pointer; }
.ic { display: block; flex-shrink: 0; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Chrome ---------- */

.status-cover {
  position: fixed; top: 0; left: 0; right: 0; height: var(--sat);
  background: var(--bg); z-index: 25;
}
.app-header {
  position: fixed; top: var(--sat); left: 0; right: 0; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px 0 16px; background: var(--bg); border-bottom: 1px solid var(--line-soft); z-index: 20;
}
.logo { display: flex; align-items: center; min-height: 44px; }
.logo img { height: 22px; width: auto; }
.logo-w { display: var(--logo-w); }
.logo-b { display: var(--logo-b); }

.bell {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px;
  background: transparent; color: var(--text); padding: 0; position: relative; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.bell .dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; background: var(--live); box-shadow: 0 0 0 2px var(--bg); }

main {
  padding-top: var(--sat);
  padding-bottom: calc(var(--tabbar-h) + var(--sab));
  max-width: 560px; margin: 0 auto;
}
body.has-header main { padding-top: calc(var(--sat) + var(--header-h)); }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  height: calc(var(--tabbar-h) + var(--sab)); padding-bottom: var(--sab);
  background: var(--tab-bg); border-top: 1px solid var(--line-soft);
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: start;
}
.tabbar a {
  height: var(--tabbar-h); position: relative; text-decoration: none; color: var(--tab-idle);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font: 700 11px var(--font-body); letter-spacing: .04em; transition: color .12s;
}
.tabbar a[aria-current='page'] { color: var(--tab-active); }
.tabbar a[aria-current='page']::before {
  content: ''; position: absolute; top: -1px; left: 50%; width: 32px; height: 3px; margin-left: -16px; background: var(--c1-pink);
}

.pane { padding: 20px 16px 32px; display: flex; flex-direction: column; gap: 28px; }
.pane.flat { padding-top: 0; gap: 20px; }

.picker {
  position: sticky; top: var(--sat); z-index: 5; background: var(--bg);
  display: flex; gap: 24px; border-bottom: 1px solid var(--line); padding-top: 8px;
}
.picker button {
  height: 48px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: 0;
  background: transparent; color: var(--text-3); font: 700 16px var(--font-body); white-space: nowrap;
}
.picker button[aria-selected='true'] { color: var(--seg-active); border-bottom-color: var(--c1-pink); }
.picker .bell { margin-left: auto; align-self: center; }

.offline {
  margin: 12px 16px 0; padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start;
  background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-fg);
  font-size: 14px; line-height: 20px;
}
.offline .ic { margin-top: 1px; }
.offline span { color: var(--warn-text); }
.offline strong { color: var(--warn-fg); }

/* ---------- Type ---------- */

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.eyebrow.soft { font-weight: 600; }
.meta { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.meta strong { color: var(--text); font-weight: 700; }
.display { font-family: var(--font-display); font-stretch: 110%; font-weight: 750; letter-spacing: -.02em; color: var(--heading); margin: 0; }
.h-section { font-size: 22px; line-height: 26px; }
.h-day { font-size: 26px; line-height: 30px; text-wrap: balance; }
.h-sheet { font-size: 28px; line-height: 32px; }
.h1 { font-size: 34px; line-height: 38px; font-weight: 800; letter-spacing: -.025em; }
.wordmark {
  font-family: var(--font-display); font-stretch: 100%; font-size: 52px; line-height: 54px; font-weight: 900; letter-spacing: -.03em;
  background: radial-gradient(circle, var(--text) .95px, transparent 1.25px) 0 0 / 3px 3px;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub { font-size: 14px; line-height: 20px; color: var(--text-2); }
.body { font-size: 15px; line-height: 22px; color: var(--text-2); margin: 0; }

/* ---------- Tags ---------- */

.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; white-space: nowrap;
  font-family: var(--font-display); font-stretch: 115%; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.tag.sm { padding: 3px 7px; font-size: 10px; }
.tag.live { background: var(--live); color: var(--on-live); }
.tag.keynote, .tag.talk { background: var(--c1-pink); color: var(--c1-on-pink); }
.tag.fireside { background: var(--c1-violet); color: #FFFFFF; }
.tag.panel { background: var(--c1-panel-tag); color: #1B1A1E; }
.pulse { width: 6px; height: 6px; background: currentColor; display: inline-block; flex-shrink: 0; animation: blink 1.6s ease-in-out infinite; }
.tags { display: flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: wrap; }

/* ---------- Cards ---------- */

.card { background: var(--surface); border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.card.live { border-color: var(--live); gap: 14px; }
.card.plain { background: transparent; gap: 10px; }
.card .row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card .row-base { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.left { font-size: 13px; font-weight: 600; color: var(--text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.title-lg { font-size: 23px; line-height: 29px; font-weight: 700; letter-spacing: -.01em; text-wrap: pretty; }
.title-md { font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -.01em; text-wrap: pretty; }
.place { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); }

.speakers { display: flex; flex-direction: column; gap: 6px; }
.spk { display: grid; grid-template-columns: 7px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; line-height: 21px; }
.spk::before { content: ''; width: 7px; height: 7px; background: var(--c1-pink); margin-top: 7px; }
.spk strong { font-weight: 700; }
.spk span { color: var(--text-2); }
.speakers.sm { gap: 4px; }
.speakers.sm .spk { font-size: 14px; line-height: 20px; gap: 10px; }
.speakers.sm .spk::before { width: 6px; height: 6px; }

.progress { display: flex; flex-direction: column; gap: 8px; }
.bar { height: 3px; background: var(--track); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--live); transition: width .3s; }
.progress .meta { display: flex; justify-content: space-between; gap: 8px; }

.rate { border-top: 1px solid var(--line-soft); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.rate-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 700; }
.rate-head span { font-size: 12px; font-weight: 400; color: var(--text-3); }
.stars { display: flex; gap: 4px; margin-left: -8px; }
.star {
  width: 48px; height: 48px; border: 0; background: transparent; padding: 0; color: var(--text-3);
  display: flex; align-items: center; justify-content: center; transition: color .12s;
}
.star.on { color: var(--c1-pink); }
.stars.lg { gap: 6px; }
.stars.lg .star { width: 52px; height: 52px; }
.stars.off { opacity: .45; }

.sand { background: var(--c1-sand); color: #1B1A1E; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.sand b { font-size: 15px; }
.sand .caps { font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.sand p { margin: 0; font-size: 14px; line-height: 20px; color: var(--c1-sand-text); }

.green { background: var(--c1-green); color: #FFFFFF; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.green .eyebrow { color: #FFFFFF; }
.green .h-rec { font-family: var(--font-display); font-stretch: 110%; font-size: 26px; line-height: 30px; font-weight: 800; letter-spacing: -.02em; }
.green .strong { font-size: 14px; line-height: 20px; font-weight: 600; }
.green p { margin: 0; font-size: 14px; line-height: 21px; }

.alert-card { background: var(--surface); border: 1px solid var(--line); padding: 16px 8px 16px 16px; display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; align-items: start; }
.alert-card .head { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 20px; font-weight: 700; }
.alert-card p { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--text-2); }
.alert-card .x { width: 44px; height: 44px; margin-top: -10px; border: 0; background: transparent; color: var(--text-3); display: flex; align-items: center; justify-content: center; padding: 0; }

.btn { height: 48px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 700 15px var(--font-body); display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; padding: 0 18px; }
.btn.semi { font-weight: 600; }
.btn.pink { background: var(--c1-pink); color: var(--c1-on-pink); border: 0; }
.btn.small { height: 44px; align-self: flex-start; margin-top: 10px; font-size: 14px; }
.btn.big { height: 52px; font-size: 16px; }
.link-btn { height: 44px; border: 0; background: transparent; color: var(--link); padding: 0; display: flex; align-items: center; gap: 6px; font: 700 12px var(--font-body); letter-spacing: .16em; text-transform: uppercase; align-self: flex-start; }

/* ---------- Lists ---------- */

.list { border: 1px solid var(--line); display: flex; flex-direction: column; }
.list > * { border-bottom: 1px solid var(--line); background: var(--surface); }
.next-row { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; }
.next-row .top { display: flex; justify-content: space-between; gap: 8px; }
.next-row .t { font-size: 16px; line-height: 22px; font-weight: 700; text-wrap: pretty; }
.next-row .s { font-size: 13px; line-height: 18px; color: var(--text-2); }
.chip-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; min-height: 44px; }
.chip-row .t { font-size: 15px; line-height: 21px; font-weight: 700; text-wrap: pretty; }
.chip-row .s { font-size: 13px; color: var(--text-2); }
.chip { font-size: 13px; font-weight: 700; padding: 8px 12px; white-space: nowrap; border: 1px solid var(--c1-pink); background: var(--c1-pink); color: var(--c1-on-pink); }
.chip.done { background: transparent; color: var(--text); border-color: var(--line); }
.chip.sm { padding: 6px 10px; align-self: flex-start; }

/* Agenda rows */
.a-session { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; }
.a-session.live { background: var(--surface-2); }
.a-session .top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.a-session .t { font-size: 17px; line-height: 23px; font-weight: 700; text-wrap: pretty; }
.a-session.past .t, .a-session.past .spk strong, .a-session.past .time strong { color: var(--text-2); }
.a-session .time { color: var(--text-3); font-variant-numeric: tabular-nums; }
.a-session .time strong { color: var(--text); font-weight: 700; }
.a-compact { display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.a-compact .top { display: flex; align-items: center; gap: 8px; }
.a-compact .time strong { color: var(--text-2); font-weight: 700; }
.a-compact .t { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.list > .a-reception { background: var(--c1-green); color: #FFFFFF; padding: 18px 16px; display: flex; flex-direction: column; gap: 8px; }
.a-reception .top { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.a-reception .tag.live { background: #FFFFFF; color: var(--c1-green); }
.a-reception .t { font-size: 19px; line-height: 24px; font-weight: 700; }
.a-reception .v { font-size: 14px; line-height: 20px; font-weight: 600; }
.a-reception .v span { font-weight: 400; }
.a-reception p { margin: 0; font-size: 14px; line-height: 21px; }
.list > .now-line { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--bg); }
.now-line::before { content: ''; width: 8px; height: 8px; background: var(--live); }
.now-line b { font-size: 12px; color: var(--live); letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.now-line::after { content: ''; flex: 1; height: 1px; background: var(--live); opacity: .6; }
.footnote { margin: 0; font-size: 13px; line-height: 19px; color: var(--text-3); }

/* ---------- Maps ---------- */

.map { position: relative; aspect-ratio: 358 / 232; overflow: hidden; background: var(--map-bg); border: 1px solid var(--line); }
.map > svg { display: block; width: 100%; height: 100%; }
.map .scale { position: absolute; right: 10px; top: 8px; font-size: 11px; color: var(--map-label); }
.pin-hit { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 0; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; }
.pin { width: 30px; height: 30px; background: var(--pin); color: var(--on-pin); font: 700 14px var(--font-body); display: flex; align-items: center; justify-content: center; transition: background .15s; flex-shrink: 0; }
.pin-hit .pin { box-shadow: 0 0 0 3px var(--map-bg); }
.pin.sel { background: var(--c1-pink); color: var(--c1-on-pink); }
.list > .venue { padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; transition: background .15s; }
.list > .venue.sel { background: var(--surface-2); }
.venue .who { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
.venue .who > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.venue .name { font-size: 17px; font-weight: 700; }
.venue .role { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.venue .addr { font-size: 14px; color: var(--text-2); margin-top: 2px; }
.venue .dirs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.venue .dirs a { height: 44px; border: 1px solid var(--line); color: var(--text); font-size: 14px; font-weight: 700; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 6px; }
.empty { border: 1px dashed var(--line); padding: 28px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--text-3); }
.empty span { font-size: 14px; line-height: 20px; color: var(--text-2); max-width: 240px; }
.floor { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border: 1px solid var(--line); background: var(--surface); display: block; }
.poi { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 14px 16px; }
.poi b { font-size: 15px; }
.poi .note { font-size: 13px; color: var(--text-2); }
.poi .where { font-size: 13px; color: var(--text-3); text-align: right; }

/* ---------- Floating ---------- */

.jump {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h) + var(--sab) + 16px); z-index: 22;
  height: 44px; padding: 0 18px; border: 0; background: var(--live); color: var(--on-live);
  font: 700 14px var(--font-body); display: flex; align-items: center; gap: 8px; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.toast {
  position: fixed; left: 16px; right: 16px; bottom: calc(var(--tabbar-h) + var(--sab) + 12px); z-index: 40;
  max-width: 528px; margin: 0 auto; padding: 14px 16px; background: var(--inv-bg); color: var(--inv-fg);
  font-size: 14px; font-weight: 600; display: flex; gap: 10px; align-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.toast.err { color: var(--err); }

/* ---------- Sheet ---------- */

.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 50; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; max-height: 88dvh; z-index: 51; max-width: 560px; margin: 0 auto;
  background: var(--sheet); border-top: 1px solid var(--line); border-radius: 16px 16px 0 0; display: flex; flex-direction: column;
}
.sheet .grab { display: flex; justify-content: center; padding-top: 8px; }
.sheet .grab span { width: 36px; height: 5px; border-radius: 3px; background: var(--line); }
.sheet .close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--text-2); display: flex; align-items: center; justify-content: center; padding: 0; }
.sheet-body { overflow-y: auto; padding: 20px 20px calc(44px + var(--sab)); display: flex; flex-direction: column; gap: 18px; overscroll-behavior: contain; }
.sheet .intro { display: flex; flex-direction: column; gap: 10px; padding-right: 36px; }
.sheet .intro.tight { gap: 12px; }
.sheet h2.title { margin: 0; font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -.01em; text-wrap: pretty; }
.facts { display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); }
.facts > * { display: flex; gap: 10px; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.facts .ic { color: var(--text-3); }
.facts .go { color: var(--link); font-weight: 700; margin-left: auto; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.facts .status { font-weight: 600; color: var(--text-2); }
.facts .status.live, .facts .status.live .ic { color: var(--live); }
.abstract { margin: -6px 0 0; font-size: 15px; line-height: 23px; color: var(--text-2); }
.rate-box { border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.rate-box b { font-size: 15px; }
.eyebrow.live { color: var(--live); display: flex; align-items: center; gap: 8px; }
.eyebrow.err { color: var(--err); display: flex; align-items: center; gap: 8px; }
.eyebrow.icon { display: flex; align-items: center; gap: 8px; }
.sample { border-radius: 14px; background: var(--surface-2); padding: 12px 14px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; font-family: -apple-system, system-ui, sans-serif; font-size: 14px; line-height: 19px; }
.sample img { width: 34px; height: 34px; border-radius: 8px; }
.sample .top { display: flex; justify-content: space-between; font-weight: 600; }
.sample .top span { color: var(--text-3); font-size: 12px; font-weight: 400; }
.sample p { margin: 1px 0 0; color: var(--text-2); }
.fine { margin: -6px 0 0; font-size: 13px; line-height: 19px; color: var(--text-3); text-align: center; }
.steps > * { display: grid; grid-template-columns: 28px minmax(0, 1fr) 36px; gap: 12px; align-items: center; padding: 14px 16px; border-bottom-color: var(--line-soft); font-size: 15px; line-height: 21px; }
.steps .n { width: 28px; height: 28px; background: var(--c1-pink); color: var(--c1-on-pink); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps .ios { width: 36px; height: 36px; border-radius: 8px; background: rgba(10, 132, 255, .14); color: #0A84FF; display: flex; align-items: center; justify-content: center; }
.hint { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); justify-content: center; }
.sched > * { display: grid; grid-template-columns: 86px minmax(0, 1fr) 18px; gap: 10px; align-items: center; padding: 12px 14px; border-bottom-color: var(--line-soft); background: transparent; }
.sched .w { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.sched .t { font-size: 14px; }
.sched .sent .t { color: var(--text-3); }
.sched .ic { color: var(--text-3); }
.paths > * { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-bottom-color: var(--line-soft); background: transparent; }
.paths .l { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.paths .p { font-size: 15px; line-height: 21px; }

/* ---------- Loading ---------- */

.skeleton { gap: 14px; animation: shimmer 1.4s ease-in-out infinite; }
.sk { background: var(--surface-2); }
.sk.card-sk { background: var(--surface); border: 1px solid var(--line-soft); }

@media (prefers-reduced-motion: reduce) {
  .pulse, .skeleton { animation: none; }
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ---------- Layout helpers ---------- */

.stack2, .stack3, .stack4, .stack6, .stack8, .stack12, .section { display: flex; flex-direction: column; min-width: 0; }
.stack2 { gap: 2px; } .stack3 { gap: 3px; } .stack4 { gap: 4px; } .stack6 { gap: 6px; } .stack8 { gap: 8px; } .stack12 { gap: 12px; }
.section > .display { margin-bottom: 12px; }
.nowrap { white-space: nowrap; }
.hero { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; }
.hero-sub { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); line-height: 20px; }
.thanks { font-family: var(--font-display); font-stretch: 110%; font-size: 40px; line-height: 44px; font-weight: 800; letter-spacing: -.03em; }
.id-note { display: flex; gap: 10px; align-items: flex-start; border-top: 1px solid var(--line-soft); padding-top: 14px; font-size: 15px; line-height: 21px; font-weight: 600; }
.id-note .ic { margin-top: 1px; }
.live-count { font-size: 12px; font-weight: 700; color: var(--live); white-space: nowrap; }
.sheet .speakers { gap: 8px; }

/* ---------- Live map (Leaflet over the schematic) ---------- */

#live-map, .live-map { position: absolute; inset: 0; }
.live-map { background: var(--map-bg); z-index: 1; }
.map.is-live > svg, .map.is-live > .pin-hit, .map.is-live > .scale { display: none; }
.map .leaflet-container { font-family: var(--font-body); background: var(--map-bg); }
/* Dark mode: invert the standard OSM tiles into a muted dark basemap. */
.map .osm-tiles { filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.9) saturate(.35); }
@media (prefers-color-scheme: light) {
  :root[data-theme='system'] .map .osm-tiles { filter: saturate(.6); }
  :root[data-theme='system'] .map .leaflet-control-attribution { background: rgba(255, 255, 255, .75) !important; }
}
.map .pin-marker { background: none; border: 0; display: flex; align-items: center; justify-content: center; }
.map .pin-marker .pin { box-shadow: 0 0 0 3px var(--map-bg); }
.map .leaflet-bar { border: 1px solid var(--line) !important; border-radius: 0 !important; box-shadow: none !important; }
.map .leaflet-bar a, .map .leaflet-bar a:hover {
  width: 36px; height: 36px; line-height: 36px; border-radius: 0 !important;
  background: var(--surface); color: var(--text); border-bottom-color: var(--line);
}
.map .leaflet-control-attribution { background: rgba(0, 0, 0, .55) !important; color: var(--text-3); font-size: 10px; }
.map .leaflet-control-attribution a { color: var(--text-2); }

/* Agenda "Rate" chip: outlined, with the pink only on the star. */
:root { --rate-star: #FF92EB; }
@media (prefers-color-scheme: light) { :root[data-theme='system'] { --rate-star: #C4239F; } }
.rate-chip {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border: 1px solid var(--line); background: transparent;
  color: var(--text); font-size: 13px; font-weight: 700; white-space: nowrap;
}
.rate-chip .star-ic { color: var(--rate-star); }
