/* ─────────────────────────────────────────────────────────────
   Shared page frame (menu, agenda, event, instructor).
   1. Flat OLO blue with a faint blueprint grid (no shader).
   2. Panel mode: inside the home's side panel the page drops its
      header and blue frame and becomes a clean white sheet.
   ───────────────────────────────────────────────────────────── */
body {
  background-color: #1a3aa8;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}

html.is-embed body {
  background: #ffffff;
  min-height: 0;
}
html.is-embed .page {
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: 0;
}
html.is-embed .topbar {
  display: none;
}
html.is-embed .menu-card,
html.is-embed .card,
html.is-embed .ticket {
  border: 0;
  padding: 64px 40px 40px;
}

/* Menu keeps its language switch, top right, dark on white. */
html.is-embed .topbar:has(.lang-switch) {
  display: block;
  position: absolute;
  top: 20px;
  right: 28px;
  z-index: 3;
}
html.is-embed .topbar .logo-link,
html.is-embed .topbar .back-link {
  display: none;
}
html.is-embed .lang-btn {
  color: rgba(10, 10, 10, 0.45);
}
html.is-embed .lang-btn:hover,
html.is-embed .lang-btn[aria-pressed="true"] {
  color: #0a0a0a;
}
html.is-embed .lang-sep {
  color: rgba(10, 10, 10, 0.25);
}

@media (max-width: 560px) {
  html.is-embed .menu-card,
  html.is-embed .card,
  html.is-embed .ticket {
    padding: 64px 22px 32px;
  }
}
