:root {
  --lmu-green: #00883a;
  --lmu-green-dark: #006b2e;
  --lmu-green-soft: rgba(0, 136, 58, 0.08);
  --mint: #e4eed9;
  --mint-soft: #f0f5eb;
  --orange: #e8601e;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --faint: #999999;
  --line: #e2e2e2;
  --surface: #ffffff;
  --soft: #f6f7f4;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.08);
  --header-height: 56px;
  --page-pad: max(20px, calc((100vw - 960px) / 2));
  --section-gap: clamp(48px, 8vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.94rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ─── Header ─── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(960px, calc(100% - 32px));
  min-height: var(--header-height);
  margin: 0 auto;
}

.brand { display: flex; align-items: center; min-width: 0; }
.brand img { display: block; max-width: 100%; height: auto; }
.brand-lmu img { width: 96px; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 180ms ease, color 180ms ease;
}
.lang-switch a:hover {
  color: var(--ink);
  background: var(--soft);
}
.lang-active {
  color: var(--lmu-green);
  padding: 4px 6px;
}

.brand-career { margin-left: auto; }
.brand-career img { width: 104px; mix-blend-mode: multiply; }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 1px;
  transition: transform 260ms cubic-bezier(0.4,0,0.2,1), opacity 200ms ease;
}
.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after  { top: 0; transform: rotate(-45deg); }

.main-nav {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0; right: 0;
  z-index: 90;
  flex-direction: column;
  padding: 4px 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.main-nav.is-open { display: flex; }

.main-nav a {
  display: block;
  padding: 13px 20px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--lmu-green-dark);
  background: var(--mint-soft);
}

@media (min-width: 821px) {
  :root { --header-height: 60px; }
  .nav-toggle { display: none; }
  .main-nav {
    display: flex; position: static;
    flex-direction: row; justify-content: center; flex: 1;
    gap: 2px; padding: 0;
    background: none; backdrop-filter: none; border-bottom: 0;
    font-size: 0.78rem;
  }
  .main-nav a {
    padding: 7px 14px;
    border-radius: 999px;
  }
  .main-nav a:hover, .main-nav a:focus-visible {
    color: #fff;
    background: var(--lmu-green);
    transform: translateY(-1px);
  }
  .brand-lmu img { width: 114px; }
  .brand-career img { width: 128px; }
}

/* ─── Typography ─── */

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.lead {
  max-width: 540px;
  margin-bottom: 24px;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--muted);
  line-height: 1.6;
}

.kicker, .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--lmu-green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.kicker::before, .label::before {
  content: "";
  width: 20px; height: 2px;
  background: currentColor;
}

/* ─── Buttons ─── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(0.4,0,0.2,1), background 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.button:hover, .button:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.button.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.button.primary.dark {
  background: var(--lmu-green);
  border-color: var(--lmu-green);
}
.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}
.button.secondary.light {
  border-color: var(--lmu-green);
  color: var(--lmu-green-dark);
  background: var(--surface);
}

.text-button {
  border: 0;
  padding: 8px 0;
  color: var(--lmu-green-dark);
  background: transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ─── Hero ─── */

.hero {
  background: var(--mint);
}

.hero-media {
  position: relative;
  min-height: 240px;
  aspect-ratio: 2.4 / 1;
  background: var(--mint);
  overflow: hidden;
}
.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  align-items: center;
  gap: clamp(24px, 4vw, 40px);
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) 0;
}

.hero-content {
  animation: rise-in 500ms ease-out both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.live-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--radius);
  border-left: 4px solid var(--lmu-green);
  box-shadow: var(--shadow-sm);
  animation: rise-in 600ms 100ms ease-out both;
}
.live-panel strong, .live-panel small, .live-panel a { display: block; }
.live-panel strong { margin-top: 2px; font-size: 1.15rem; line-height: 1.2; }
.live-panel small { margin-top: 4px; color: var(--muted); font-size: 0.82rem; }
.live-panel a { color: var(--lmu-green-dark); font-weight: 700; font-size: 0.88rem; }

.status-pill {
  justify-self: start;
  border-radius: 999px;
  padding: 5px 12px;
  color: #fff;
  background: var(--lmu-green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.panel-label {
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ─── Role entry ─── */

.role-entry {
  padding: var(--section-gap) var(--page-pad);
  background: var(--surface);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.role-card {
  display: grid;
  gap: 6px;
  padding: 24px;
  background: var(--soft);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  border: 1px solid transparent;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms cubic-bezier(0.4,0,0.2,1);
}
.role-card:hover, .role-card:focus-visible {
  border-color: var(--lmu-green);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.role-icon { font-size: 1.6rem; line-height: 1; margin-bottom: 4px; }
.role-card h3 { color: var(--lmu-green-dark); margin-bottom: 4px; }
.role-card p { color: var(--muted); margin-bottom: 0; font-size: 0.86rem; line-height: 1.5; }
.role-card-subtle { background: var(--surface); border: 1px solid var(--line); }

/* ─── Sections ─── */

.today-panel,
.content-band,
.agenda,
.registration-section {
  padding: var(--section-gap) var(--page-pad);
}

.today-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.next-box {
  display: grid;
  gap: 6px;
  padding: 20px;
  border-left: 4px solid var(--lmu-green);
  background: var(--soft);
  border-radius: var(--radius);
}
.next-box time { color: var(--lmu-green); font-size: 1.8rem; font-weight: 800; line-height: 1; }
.next-box strong { font-size: 1rem; }
.next-box span, .timeline span { color: var(--muted); font-size: 0.86rem; }

.content-band { background: var(--soft); }

.section-heading { max-width: 640px; margin-bottom: 24px; }
.section-heading p { color: var(--muted); font-size: 0.9rem; }

.notice-list, .directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.notice, .directory-grid article {
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.notice span { color: var(--lmu-green); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.notice.important { border-top: 3px solid var(--orange); }

.today-panel p, .notice p, .directory-grid p { color: var(--muted); margin-bottom: 0; font-size: 0.88rem; }

.agenda { background: var(--surface); }

.timeline {
  display: grid;
  gap: 0;
  max-width: 720px;
  margin: 0; padding: 0;
  list-style: none;
}
.timeline li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.timeline li:first-child { border-top: 1px solid var(--line); }
.timeline time { color: var(--lmu-green); font-weight: 800; font-size: 0.94rem; }
.timeline strong { display: block; margin-bottom: 2px; font-size: 0.94rem; }
.timeline .is-next {
  padding-left: 16px;
  border-left: 3px solid var(--lmu-green);
  background: linear-gradient(90deg, var(--lmu-green-soft), transparent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ─── Speakers ─── */

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.speaker-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.speaker-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.speaker-info { display: grid; gap: 4px; }
.speaker-info h3 { margin-bottom: 2px; }
.speaker-role { color: var(--muted); font-size: 0.82rem; }
.speaker-talk { display: block; margin-top: 8px; color: var(--lmu-green-dark); font-size: 0.9rem; }
.speaker-info p { color: var(--muted); font-size: 0.86rem; margin-top: 6px; margin-bottom: 0; line-height: 1.5; }
.speaker-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--lmu-green-dark);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Exhibitors ─── */

/* ─── Filter chips ─── */

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.filter-chip {
  padding: 7px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 180ms ease;
  -webkit-tap-highlight-color: transparent;
}
.filter-chip:hover { border-color: var(--lmu-green); color: var(--lmu-green-dark); }
.filter-chip.is-active {
  background: var(--lmu-green);
  border-color: var(--lmu-green);
  color: #fff;
}

/* ─── Agenda type badges ─── */

.agenda-type-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-left: 8px;
  vertical-align: middle;
}
.badge-talk { background: var(--lmu-green-soft); color: var(--lmu-green-dark); }
.badge-workshop { background: #ede9fe; color: #6d28d9; }
.badge-networking { background: #fef3c7; color: #92400e; }
.badge-break { background: var(--soft); color: var(--muted); }

.exhibitors { background: var(--mint); }

.exhibitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.exhibitor-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.exhibitor-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.exhibitor-card h3 { margin-bottom: 2px; }
.exhibitor-industry { display: block; color: var(--lmu-green); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.exhibitor-contact { display: block; color: var(--muted); font-size: 0.86rem; margin-top: 4px; }
.exhibitor-card p { color: var(--muted); font-size: 0.86rem; margin-top: 6px; margin-bottom: 0; line-height: 1.5; }

.exhibitor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--mint-soft);
  color: var(--lmu-green-dark);
  font-size: 0.74rem;
  font-weight: 600;
  border-radius: 999px;
}

.exhibitor-links {
  display: flex;
  gap: 12px;
}
.exhibitor-links a {
  color: var(--lmu-green-dark);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Contact organizer ─── */

.contact-section {
  padding: var(--section-gap) var(--page-pad);
  background: var(--surface);
}

.contact-organizer {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: start;
  max-width: 600px;
  padding: 24px;
  background: var(--soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.contact-photo {
  width: 140px;
  height: 140px;
  border-radius: var(--radius);
  object-fit: cover;
}

.contact-details {
  display: grid;
  gap: 4px;
}
.contact-details h3 { margin-bottom: 0; }
.contact-details span { color: var(--muted); font-size: 0.84rem; }
.contact-details a { color: var(--lmu-green-dark); font-weight: 700; font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; }
.contact-details p { color: var(--muted); font-size: 0.86rem; margin-top: 8px; margin-bottom: 0; }

/* ─── Events grid ─── */

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.event-card {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.event-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.event-card time {
  color: var(--lmu-green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.event-card h3 { font-size: 0.98rem; margin-bottom: 2px; }
.event-card p { color: var(--muted); font-size: 0.84rem; margin-bottom: 0; line-height: 1.5; }
.event-card.is-highlight {
  border-color: var(--lmu-green);
  border-width: 2px;
  background: var(--lmu-green-soft);
}

.directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.directory-grid article { background: var(--surface); }

.registration-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  background: var(--surface);
}
.registration-copy { position: sticky; top: calc(var(--header-height) + 20px); }

/* ─── Forms ─── */

.field { display: grid; gap: 6px; }
.field.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

label { font-size: 0.82rem; font-weight: 700; color: var(--ink); }

input[type="email"],
input[type="text"],
input[type="password"],
input[type="url"],
input[type="time"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.94rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
textarea { resize: vertical; min-height: 88px; }

input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 0;
  border-color: var(--lmu-green);
  box-shadow: 0 0 0 3px rgba(0,136,58,0.12);
}

.checkline {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 400;
}
.checkline input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--lmu-green); }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-status { min-height: 20px; margin: 0; color: var(--lmu-green-dark); font-weight: 700; font-size: 0.86rem; }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.checkbox-grid legend { padding: 0 6px; font-weight: 700; font-size: 0.86rem; }
.checkbox-grid label { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; font-weight: 400; font-size: 0.88rem; }
.checkbox-grid input { margin-top: 3px; accent-color: var(--lmu-green); }

/* ─── Wizard ─── */

.wizard { position: relative; }

.wizard-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.wizard-progress li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--faint);
  counter-increment: step;
}

.wizard-progress li::before {
  content: counter(step);
  flex: 0 0 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  margin-right: 8px;
  transition: background 260ms ease, color 260ms ease;
}

.wizard-progress li::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--line);
  margin: 0 8px;
  transition: background 260ms ease;
}
.wizard-progress li:last-child::after { display: none; }

.wizard-progress li.is-active { color: var(--ink); }
.wizard-progress li.is-active::before { background: var(--lmu-green); color: #fff; }
.wizard-progress li.is-done { color: var(--lmu-green-dark); }
.wizard-progress li.is-done::before { background: var(--lmu-green); color: #fff; content: "✓"; }
.wizard-progress li.is-done::after { background: var(--lmu-green); }

.wizard-step {
  display: none;
  animation: wizard-in 300ms ease-out both;
}
.wizard-step.is-active { display: block; }

.wizard-step .field { margin-bottom: 16px; }
.wizard-step .field:last-child { margin-bottom: 0; }

.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.wizard-step-hint {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 600;
}

@keyframes wizard-in {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ─── CSV Import ─── */

.import-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.import-toggle button {
  flex: 1;
  padding: 10px 16px;
  border: 0;
  background: var(--surface);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}
.import-toggle button.is-active {
  background: var(--lmu-green);
  color: #fff;
}

.csv-dropzone {
  display: grid;
  place-items: center;
  min-height: 140px;
  padding: 24px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease;
}
.csv-dropzone:hover, .csv-dropzone.is-over {
  border-color: var(--lmu-green);
  background: var(--lmu-green-soft);
}
.csv-dropzone input[type="file"] { display: none; }
.csv-dropzone strong { display: block; color: var(--ink); font-size: 0.94rem; margin-bottom: 4px; }

.csv-preview {
  max-height: 300px;
  overflow: auto;
  margin-top: 16px;
  border-radius: var(--radius-sm);
}

/* ─── Auth pages ─── */

.auth-main { background: var(--soft); }

.auth-hero,
.auth-grid,
.admin-stats,
.admin-table-section {
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.auth-hero {
  display: grid;
  align-items: end;
  min-height: 240px;
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: clamp(32px, 5vw, 56px);
  color: #fff;
  background: linear-gradient(135deg, var(--lmu-green-dark), var(--lmu-green));
}
.auth-hero.compact { min-height: 180px; }
.auth-hero h1 { max-width: 680px; font-size: clamp(1.8rem, 5vw, 2.8rem); }
.auth-hero p { max-width: 600px; margin-bottom: 0; font-size: 0.96rem; opacity: 0.9; }

.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  padding-top: clamp(28px, 5vw, 48px);
  padding-bottom: clamp(36px, 6vw, 64px);
}
.auth-grid.narrow { grid-template-columns: minmax(0, 640px); }

.backend-form, .backend-side, .admin-actions {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.backend-form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); }
.backend-side {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  padding: clamp(20px, 3vw, 28px);
}

.clean-list { display: grid; gap: 8px; margin: 14px 0 0; padding-left: 16px; color: var(--muted); font-size: 0.88rem; }

.role-fields { display: grid; gap: 16px; padding-top: 4px; }
.role-fields[hidden] { display: none !important; }

.registration-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.account-entry { grid-template-columns: 1fr; }
.account-entry article { display: grid; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.account-entry article:last-child { padding-bottom: 0; border-bottom: 0; }

.admin-hint, .message {
  margin: 0;
  padding: 12px 16px;
  background: var(--surface);
  border-left: 3px solid var(--lmu-green);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}
.message.error { border-color: #c53030; color: #c53030; background: #fff5f5; }
.message.success { border-color: var(--lmu-green); color: var(--lmu-green-dark); background: #f0fff4; }

/* ─── Admin ─── */

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: clamp(28px, 5vw, 48px);
}
.admin-stats article {
  display: grid; gap: 4px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.admin-stats span { color: var(--lmu-green); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1; }
.admin-stats strong { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

.admin-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin: clamp(16px, 3vw, 28px) var(--page-pad);
  padding: clamp(18px, 3vw, 28px);
}
.admin-actions p { margin-bottom: 0; color: var(--muted); font-size: 0.88rem; }

.admin-table-section {
  padding-top: clamp(24px, 4vw, 40px);
  padding-bottom: clamp(24px, 4vw, 40px);
}

/* ─── Connect now! ─── */

.connect-page {
  max-width: 480px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) var(--page-pad) clamp(36px, 6vw, 64px);
  display: grid;
  gap: 24px;
}

.connect-qr-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.connect-qr {
  display: grid;
  place-items: center;
  padding: 8px;
  background: var(--surface);
  border-radius: var(--radius-sm);
}
.connect-qr img { display: block; width: min(100%, 260px); height: auto; border-radius: var(--radius-sm); }

.connect-info { display: grid; gap: 6px; }
.connect-info h2 { font-size: 1.3rem; margin-bottom: 0; }

.connect-actions {
  display: grid;
  gap: 10px;
}

.connect-how {
  padding: 20px;
  background: var(--soft);
  border-radius: var(--radius);
}
.connect-how h3 { font-size: 0.95rem; margin-bottom: 14px; }

.connect-steps { display: grid; gap: 12px; }
.connect-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
}
.connect-step-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--lmu-green);
  color: #fff;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
}
.connect-step p { margin: 0; font-size: 0.88rem; color: var(--muted); }

.connect-saved { }
.connect-saved h3 { font-size: 0.95rem; margin-bottom: 12px; }

/* ─── Contact public (legacy) ─── */

.contact-card {
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.saved-contacts { padding-top: clamp(24px, 4vw, 40px); padding-bottom: clamp(36px, 6vw, 64px); padding-left: var(--page-pad); padding-right: var(--page-pad); }
.contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.contact-list article {
  display: grid; gap: 4px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.contact-list span { color: var(--muted); font-size: 0.86rem; }

.contact-public {
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--header-height));
  padding-top: clamp(28px, 5vw, 48px);
  padding-bottom: clamp(36px, 6vw, 64px);
  background: var(--mint);
}
.contact-card {
  width: min(100%, 540px);
  padding: clamp(24px, 5vw, 40px);
}
.contact-card h1 { margin-bottom: 0; font-size: clamp(1.8rem, 5vw, 3rem); }

/* ─── Tables ─── */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
table { width: 100%; min-width: 720px; border-collapse: collapse; background: var(--surface); }
th, td { border-bottom: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; font-size: 0.86rem; }
th { color: var(--lmu-green-dark); background: var(--soft); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
td { color: var(--muted); }

/* ─── Notification banners ─── */

#app-banners {
  padding: 12px var(--page-pad) 0;
}

.app-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
  background: var(--lmu-green-soft);
  border-left: 3px solid var(--lmu-green);
  border-radius: var(--radius-sm);
  animation: rise-in 300ms ease-out both;
}
.app-banner-content { flex: 1; }
.app-banner-content strong { font-size: 0.9rem; display: block; }
.app-banner-content p { margin: 3px 0 0; font-size: 0.84rem; color: var(--muted); }
.app-banner > button {
  flex: 0 0 auto;
  padding: 2px 8px;
  border: 0;
  background: transparent;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}
.app-banner.push-prompt {
  background: var(--mint-soft);
  border-color: var(--lmu-green);
}

.msg-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  position: absolute;
  top: 2px;
  right: 0;
  pointer-events: none;
}

/* ─── Cockpit ─── */

.cockpit-live-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cockpit-now, .cockpit-next {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.cockpit-now { border-left: 4px solid var(--orange); background: #fff7ed; }
.cockpit-next { border-left: 4px solid var(--lmu-green); }
.cockpit-now strong, .cockpit-next strong { font-size: 0.95rem; }
.cockpit-now span, .cockpit-next span { color: var(--muted); font-size: 0.82rem; }

@media (max-width: 820px) {
  .cockpit-live-bar { grid-template-columns: 1fr; }
}

/* ─── Event Switcher ─── */

.event-switcher {
  position: relative;
  padding: 8px var(--page-pad);
  background: var(--lmu-green-dark);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}
.event-switcher-label { cursor: pointer; }
.event-switcher-label::after { content: " ▾"; font-size: 0.7rem; }
.event-switcher-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  min-width: 240px;
  padding: 6px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.event-switcher:hover .event-switcher-options { display: block; }
.event-switcher-options a {
  display: block;
  padding: 10px 18px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.86rem;
  transition: background 160ms ease;
}
.event-switcher-options a:hover { background: var(--lmu-green-soft); }

/* ─── Dashboard ─── */

.dash-section {
  padding: clamp(24px, 4vw, 40px) var(--page-pad);
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.dash-card {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.dash-card:hover {
  border-color: var(--lmu-green);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.dash-card h3 { font-size: 0.98rem; margin-bottom: 2px; }
.dash-card span { color: var(--muted); font-size: 0.82rem; }
.dash-card p { color: var(--muted); font-size: 0.82rem; margin: 4px 0 0; font-style: italic; }

.dash-card.interested {
  border-color: var(--lmu-green);
  background: var(--lmu-green-soft);
}

.dash-card.match-card {
  border-color: var(--orange);
  border-width: 2px;
  background: #fff7ed;
}

.match-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  padding: 3px 10px;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
}

.score-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  padding: 3px 10px;
  background: var(--lmu-green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
}

.interest-mark {
  color: var(--lmu-green-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.dash-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ─── Attendance ─── */

.attendance-list {
  display: grid;
  gap: 8px;
  max-width: 700px;
}

.attendance-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 400;
  transition: background 180ms ease;
}
.attendance-item:hover { background: var(--lmu-green-soft); }
.attendance-item input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--lmu-green); }
.attendance-item strong { display: block; font-size: 0.9rem; }
.attendance-item span { color: var(--muted); font-size: 0.82rem; }

/* ─── Signup section ─── */

.signup-section {
  padding: var(--section-gap) var(--page-pad);
  background: var(--surface);
}

.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 700px;
}

.signup-card {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  border: 2px solid var(--line);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.signup-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.signup-icon { font-size: 1.6rem; line-height: 1; }
.signup-card h3 { margin-bottom: 2px; font-size: 1rem; }
.signup-card p { color: var(--muted); margin-bottom: 0; font-size: 0.84rem; line-height: 1.5; }

.signup-matorix {
  border-color: var(--lmu-green);
  background: var(--lmu-green-soft);
}
.signup-matorix:hover { border-color: var(--lmu-green-dark); }
.signup-matorix h3 { color: var(--lmu-green-dark); }

.signup-checkin {
  border-color: var(--orange);
  background: #fff7ed;
}
.signup-checkin:hover { border-color: #c2410c; }
.signup-checkin h3 { color: #c2410c; }

.agenda-prereg {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 12px;
  background: var(--orange);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: background 180ms ease;
}
.agenda-prereg:hover { background: #c2410c; }

@media (max-width: 820px) {
  .signup-grid { grid-template-columns: 1fr; }
  .signup-section { padding-left: 16px; padding-right: 16px; }
}

/* ─── Buddy section ─── */

.buddy-section {
  padding: var(--section-gap) var(--page-pad);
  background: linear-gradient(135deg, var(--lmu-green-dark), var(--lmu-green));
  color: #fff;
}

.buddy-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: 960px;
}

.buddy-intro .label { color: rgba(255,255,255,0.7); }
.buddy-intro .label::before { background: rgba(255,255,255,0.7); }
.buddy-intro h2 { color: #fff; }
.buddy-intro p { color: rgba(255,255,255,0.85); max-width: 400px; }
.buddy-intro .button { margin-top: 8px; }

.buddy-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.buddy-chip {
  padding: 10px 18px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.buddy-chip:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-1px);
}

@media (max-width: 820px) {
  .buddy-card { grid-template-columns: 1fr; }
  .buddy-section { padding-left: 16px; padding-right: 16px; }
}

/* ─── Chat widget ─── */

.chat-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--lmu-green);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 200ms ease, box-shadow 200ms ease;
  -webkit-tap-highlight-color: transparent;
  animation: fab-in 600ms 1s ease-out both;
}
.chat-fab:hover { transform: scale(1.04); box-shadow: 0 6px 28px rgba(0,0,0,0.25); }
.chat-fab.is-hidden { display: none; }
.chat-fab-label { white-space: nowrap; }

@keyframes fab-in {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-panel {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 210;
  width: min(400px, 100vw);
  height: min(560px, calc(100dvh - 20px));
  display: none;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.15);
  overflow: hidden;
}
.chat-panel.is-open { display: flex; }

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--lmu-green);
  color: #fff;
}
.chat-header strong { font-size: 0.95rem; }
.chat-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--soft);
}

.chat-msg-user,
.chat-msg-bot {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 1.5;
  word-break: break-word;
}
.chat-msg-user {
  align-self: flex-end;
  background: var(--lmu-green);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg-bot {
  align-self: flex-start;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.chat-typing {
  color: var(--muted);
  border: 0;
  background: transparent;
  padding: 4px 0;
}
.typing-dots span {
  display: inline-block;
  animation: typing-bounce 1.2s infinite;
  font-size: 1.4rem;
  line-height: 1;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 0;
}
.chat-suggestion {
  padding: 7px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--lmu-green-dark);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}
.chat-suggestion:hover {
  background: var(--lmu-green-soft);
  border-color: var(--lmu-green);
}

.chat-subtitle {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.75;
}

.chat-input {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.chat-input input {
  flex: 1;
  min-height: 40px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-size: 0.88rem;
  background: var(--soft);
}
.chat-input input:focus-visible {
  outline: 0;
  border-color: var(--lmu-green);
}
.chat-input button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--lmu-green);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 180ms ease;
}
.chat-input button:hover { background: var(--lmu-green-dark); }

@media (max-width: 480px) {
  .chat-panel {
    width: 100vw;
    height: calc(100dvh - var(--header-height));
    border-radius: 0;
  }
  .chat-fab { bottom: 16px; right: 16px; }
}

/* ─── Footer ─── */

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 24px var(--page-pad);
  color: rgba(255,255,255,0.85);
  background: var(--lmu-green-dark);
  font-size: 0.82rem;
}
.site-footer a { font-weight: 600; color: #fff; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }

/* ─── Status / Bautafel ─── */

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.status-card {
  display: grid;
  gap: 4px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.status-icon { font-size: 1.3rem; line-height: 1; }
.status-card h3 { font-size: 0.95rem; margin-bottom: 2px; }
.status-card p { color: var(--muted); font-size: 0.84rem; margin-bottom: 0; line-height: 1.5; }

.status-card.done { border-left: 3px solid var(--lmu-green); }
.status-card.upcoming { border-left: 3px solid var(--orange); background: #fff7ed; }

.status-banner {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.status-banner strong { display: block; margin-bottom: 8px; font-size: 1rem; }
.status-banner p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.status-banner ul { color: var(--muted); font-size: 0.88rem; line-height: 1.7; margin: 12px 0; padding-left: 20px; }

.beta-banner {
  border-left: 4px solid var(--orange);
  background: #fff7ed;
}

.ai-banner {
  border-left: 4px solid #6366f1;
  background: #f5f3ff;
}

.privacy-banner {
  border-left: 4px solid var(--lmu-green);
  background: var(--lmu-green-soft);
}

.privacy-content h2 { margin-top: 24px; font-size: 1.1rem; }
.privacy-content p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.privacy-content ul { color: var(--muted); font-size: 0.9rem; line-height: 1.6; padding-left: 20px; }
.privacy-content a { color: var(--lmu-green-dark); text-decoration: underline; }

/* ─── Animations ─── */

@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Mobile ─── */

@media (max-width: 820px) {
  .hero { display: block; }
  .hero-media { min-height: 160px; max-height: 220px; }
  .hero-shell {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 960px);
    padding: 24px 0 28px;
  }
  h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hero-actions .button { width: 100%; }

  .role-grid { grid-template-columns: 1fr 1fr; }

  .today-panel,
  .notice-list,
  .directory-grid,
  .timeline li,
  .registration-section,
  .field.two-col,
  .auth-grid,
  .checkbox-grid,
  .admin-stats,
  .admin-actions,
  .qr-layout,
  .qr-card,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .role-entry,
  .today-panel,
  .content-band,
  .agenda,
  .registration-section,
  .auth-hero,
  .auth-grid,
  .admin-stats,
  .admin-table-section,
  .qr-layout,
  .saved-contacts,
  .contact-public {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-organizer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .contact-section { padding-left: 16px; padding-right: 16px; }
  .registration-copy, .backend-side { position: static; }
  .admin-actions { margin-left: 16px; margin-right: 16px; }
  .timeline .is-next { padding-left: 12px; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 480px) {
  .role-grid { grid-template-columns: 1fr; }
  .wizard-progress li span { display: none; }
}

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