:root {
  /* Height of the on-screen keyboard, set from visualViewport in app.js so
     a bottom sheet can sit above it instead of underneath it. */
  --kb: 0px;
  --tabbar-h: calc(58px + env(safe-area-inset-bottom, 0px));
}

* {
  box-sizing: border-box;
}

/* Author rules like `.field { display: block }` outrank the browser's own
   [hidden] rule, so hiding anything here has to say so explicitly. */
[hidden] {
  display: none !important;
}

html {
  /* Keeps a pull-down at the top of the page from bouncing the whole page
     while the custom pull-to-refresh is reading the same gesture. */
  overscroll-behavior-y: contain;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

/* Nav */

.topnav {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  padding-top: env(safe-area-inset-top, 0px);
}

.topnav-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  color: inherit;
  text-decoration: none;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  /* Tighter than body copy so the mark and the word read as one lockup. */
  letter-spacing: -0.02em;
}

.brand-mark {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.tabs {
  display: flex;
  gap: 6px;
}

.tab {
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 10px;
}

.tab.is-active {
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
}

/* Account menu: the avatar opens a small dropdown with who is signed in,
   Settings, and Sign out last -- the arrangement Braintrust, Supabase and
   Higgsfield share. Destructive actions stay in the Settings panel. */

.account {
  position: relative;
}

.avatar {
  width: 30px;
  height: 30px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--blue);
  color: var(--on-accent);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.avatar[aria-expanded="true"] {
  box-shadow: 0 0 0 3px var(--line);
}

.account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 11;
  min-width: 220px;
  max-width: min(280px, calc(100vw - 32px));
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow:
    var(--shadow),
    0 14px 30px -16px rgba(0, 0, 0, 0.3);
}

.account-menu-head {
  margin: 0;
  padding: 8px 10px 10px;
  display: grid;
  gap: 2px;
}

.account-menu-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.account-menu-email {
  font-size: 0.85rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.account-menu-item {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.account-menu-item:hover {
  background: var(--inset);
}

a.account-menu-item {
  color: inherit;
  text-decoration: none;
}

.account-menu-item[hidden] {
  display: none;
}

.account-menu-sep {
  margin: 6px 4px;
  border: 0;
  border-top: 1px solid var(--line);
}

.tabbar {
  display: none;
}

/* Layout */

.content {
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px 20px 40px;
}

.panel {
  display: none;
}

.panel.is-active {
  display: block;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-head h1 {
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0;
}

/* Cards */

.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
}

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

.act-card {
  padding: 0;
  overflow: hidden;
}

.act-card.is-open {
  grid-column: 1 / -1;
}

.act-trigger {
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  padding: 14px;
  display: block;
}

.act-trigger:focus-visible,
.icon-btn:focus-visible,
.btn:focus-visible,
.tab:focus-visible,
.tabbar-item:focus-visible,
.city-chip:focus-visible,
.avatar:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.account-menu-item:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.act-open-head {
  padding: 14px 14px 0;
}

.act-name {
  font-weight: 800;
  font-size: 0.95rem;
}

.act-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

.chip {
  display: inline-block;
  margin-top: 9px;
  background: var(--yellow);
  color: #1b1b1b;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 800;
}

.chip.is-empty {
  background: var(--line);
  color: var(--muted);
}

.chip.is-searching {
  background: var(--blue);
  color: var(--on-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chip.is-failed {
  background: var(--coral);
  color: var(--on-accent);
}

/* Buttons */

.btn {
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-quiet {
  background: none;
  color: var(--muted);
  font-size: 0.82rem;
  padding: 10px 8px;
}

.btn-accent {
  background: var(--coral);
  color: var(--on-accent);
}

.btn-danger {
  background: var(--coral);
  color: var(--on-accent);
}

/* Destructive, but not the thing your thumb lands on by accident. */
.btn-destructive {
  background: none;
  color: var(--coral);
  border: 1px solid var(--line);
}

.icon-btn {
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: -8px -8px -8px 0;
}

.fab {
  display: none;
  position: fixed;
  right: 18px;
  bottom: calc(var(--tabbar-h) + 16px);
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--coral);
  color: var(--on-accent);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  z-index: 8;
  align-items: center;
  justify-content: center;
}

.fab:disabled {
  opacity: 0.5;
}

/* Settings */

.setting {
  margin-bottom: 12px;
  max-width: 460px;
}

.setting-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.setting-value {
  font-weight: 700;
  margin-top: 4px;
}

.setting select,
.setting input {
  width: 100%;
  margin-top: 6px;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.setting-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 8px 0 0;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-weight: 700;
}

.setting .toggle-row input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  accent-color: var(--coral);
}

.danger-zone {
  margin-top: 28px;
}

.danger-zone .btn {
  margin-top: 14px;
}

.advanced > summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 6px 0;
  list-style: revert;
}

.advanced[open] > summary {
  margin-bottom: 12px;
}

.advanced .setting-label {
  margin-top: 14px;
}

.advanced > summary + .setting-label {
  margin-top: 0;
}

/* Sheets and dialogs */

.sheet {
  border: 0;
  padding: 20px;
  color: var(--ink);
  background: var(--surface);
  border-radius: 18px;
  width: min(420px, calc(100vw - 32px));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.sheet::backdrop {
  background: rgba(27, 27, 27, 0.45);
}

.sheet h2 {
  font-size: 1.15rem;
  font-weight: 900;
  margin: 0;
}

.sheet p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 8px 0 0;
}

.sheet-grip {
  display: none;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
}

.city-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 14px 0 0;
}

.city-chip {
  border: 1px solid var(--line);
  background: var(--inset);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.more-options {
  margin-top: 16px;
}

.more-options > summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  padding: 8px 0;
}

/* Toasts */

.toasts {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.toast {
  background: var(--ink);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  max-width: 320px;
  cursor: pointer;
}

.toast.is-error {
  background: var(--coral);
  color: var(--on-accent);
}

/* Empty states */

.empty {
  text-align: center;
  padding: 34px 16px 26px;
  max-width: 340px;
  margin: 0 auto;
}

.empty h2 {
  font-size: 1.05rem;
  font-weight: 900;
  margin: 0 0 6px;
}

.empty p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 18px;
}

.empty-inline {
  color: var(--muted);
  font-size: 0.88rem;
  padding: 16px 0;
}

/* Act detail */

.act-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px 0;
}

.act-actions .btn {
  flex: 1 1 auto;
}

.search-status {
  margin: 14px 14px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--inset);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.search-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-steps .step-icon {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  font-size: 0.78rem;
  line-height: 1;
}

.search-steps .is-done .step-icon {
  color: var(--blue);
}

.search-steps .is-current {
  color: var(--ink);
}

.search-steps .is-current .step-label {
  font-weight: 800;
}

.search-steps .is-pending {
  opacity: 0.55;
}

.search-steps .is-pending .step-icon::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.search-steps .is-failed {
  color: var(--coral);
}

.step-count {
  margin-left: auto;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.search-error {
  margin-top: 12px;
}

.search-error p {
  margin: 0 0 10px;
  color: var(--ink);
}

.spinner {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid currentColor;
  color: var(--blue);
  opacity: 0.9;
}

.spinner::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.42;
  animation: sonar-pulse 1.8s ease-out infinite;
}

.spinner::after {
  content: "";
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 1px;
  height: 7px;
  background: currentColor;
  transform-origin: center bottom;
  animation: sonar-spin 1.35s linear infinite;
}

.chip.is-searching .spinner {
  color: var(--on-accent);
}

@keyframes sonar-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sonar-pulse {
  0% {
    opacity: 0.7;
    transform: scale(0.55);
  }
  75%, 100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinner::before,
  .spinner::after {
    animation: none;
  }
}

.event-list {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-row {
  background: var(--inset);
  border-radius: 12px;
  padding: 12px 14px;
}

.event-title {
  font-weight: 800;
  font-size: 0.92rem;
}

.event-when {
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 700;
  margin-top: 3px;
}

.event-narrative {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.4;
}

.event-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.event-source {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.event-source-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--on-accent);
}

/* Forms */

.field {
  display: block;
  margin-top: 14px;
}

.field span {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input,
.field select {
  width: 100%;
  /* 16px minimum: anything smaller makes iOS Safari zoom the page in on
     focus, and it never zooms back out. */
  font-size: 1rem;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.limit-note {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: var(--coral);
  font-weight: 700;
  margin: 0 0 4px;
}

.act-grid .empty {
  grid-column: 1 / -1;
}

/* Agenda */

.agenda-group {
  margin-bottom: 22px;
}

.agenda-month {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0 0 10px;
  padding: 8px 0;
  background: var(--cream);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.agenda-section {
  margin-bottom: 18px;
}

.agenda-section summary {
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 0;
}

.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agenda-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.date-block {
  flex: 0 0 auto;
  width: 52px;
  border-radius: 12px;
  background: var(--inset);
  padding: 8px 0;
  text-align: center;
  line-height: 1.1;
}

.date-block.is-soon {
  background: var(--coral);
  color: var(--on-accent);
}

.date-dow {
  display: block;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.date-block.is-soon .date-dow {
  /* Inherits whichever colour reads on coral in this theme, just quieter. */
  color: currentColor;
  opacity: 0.8;
}

.date-day {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
}

.date-block.is-undated .date-day {
  font-size: 1rem;
  padding: 3px 0;
}

.agenda-main {
  min-width: 0;
  flex: 1;
}

.agenda-act {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral);
}

.agenda-when {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  margin-top: 3px;
}

.agenda-relative {
  color: var(--muted);
  font-weight: 600;
}

/* Skeletons */

.skeleton-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-row {
  height: 84px;
  border-radius: 16px;
  background: linear-gradient(
    90deg,
    var(--surface) 0%,
    var(--line) 50%,
    var(--surface) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-row {
    animation: none;
    background: var(--line);
  }
}

/* Pull to refresh */

.refresh-hint {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  left: 50%;
  transform: translate(-50%, -16px);
  z-index: 9;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.refresh-hint.is-visible {
  opacity: 1;
}

/* Mobile */

@media (max-width: 720px) {
  /* The tab bar carries Settings on a phone, so the account menu goes too. */
  .tabs,
  .account {
    display: none;
  }

  .topnav-inner {
    padding: 10px 20px;
  }

  .content {
    padding: 18px 16px calc(var(--tabbar-h) + 28px);
  }

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

  /* The header button would scroll away; the thumb-reachable FAB replaces
     it on the acts panel. */
  .panel-head #add-act {
    display: none;
  }

  body[data-panel="acts"] .fab {
    display: flex;
  }

  .tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    display: flex;
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .tabbar-item {
    flex: 1;
    border: 0;
    background: none;
    cursor: pointer;
    min-height: 56px;
    padding: 8px 0 10px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
  }

  .tabbar-item span {
    font-size: 1.1rem;
  }

  .tabbar-item.is-active {
    color: var(--ink);
  }

  .toasts {
    right: 12px;
    left: 12px;
    bottom: calc(var(--tabbar-h) + 12px);
  }

  .toast {
    max-width: none;
  }

  /* Sheets: anchored to the bottom of the screen, lifted clear of the
     on-screen keyboard, with the primary action under the thumb. */
  .sheet {
    width: 100%;
    max-width: none;
    max-height: 92vh;
    margin: 0;
    position: fixed;
    inset: auto 0 0;
    border-radius: 22px 22px 0 0;
    padding: 8px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    transform: translateY(calc(-1 * var(--kb)));
    overflow-y: auto;
    animation: sheet-up 0.22s ease-out;
  }

  @keyframes sheet-up {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(calc(-1 * var(--kb)));
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .sheet {
      animation: none;
    }
  }

  .sheet-grip {
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: var(--line);
    margin: 6px auto 12px;
  }

  .sheet-actions {
    margin-top: 18px;
  }
}

.event-venue {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 3px;
}

.event-location-status {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Guests: visitors using the app before creating an account. */

.tab[hidden],
.tabbar-item[hidden],
.guest-actions[hidden] {
  display: none;
}

.guest-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.guest-actions .btn {
  min-height: 36px;
  padding: 6px 12px;
}

.acts-usage {
  margin: -6px 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.guest-reminder {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9;
  max-width: 340px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.guest-reminder[hidden] {
  display: none;
}

.guest-reminder p {
  margin: 0 0 10px;
  font-size: 0.88rem;
}

.guest-reminder-actions {
  display: flex;
  gap: 8px;
}

@media (max-width: 720px) {
  .guest-reminder {
    left: 12px;
    right: 12px;
    max-width: none;
    bottom: calc(var(--tabbar-h) + 12px);
  }

  /* Clear of the add button on the Acts tab. */
  body[data-panel="acts"] .guest-reminder {
    bottom: calc(var(--tabbar-h) + 84px);
  }
}

/* Settings for guests is one card: what an account adds. */
body.is-guest #panel-settings > :not(.panel-head):not(.guest-alerts),
body:not(.is-guest) .guest-alerts {
  display: none;
}

.guest-alerts-body {
  margin: 4px 0 6px;
  font-weight: 700;
}

.agenda-reminder {
  margin: 8px 0 20px;
}

.agenda-reminder p {
  margin: 0 0 10px;
}

/* One pitch per screen: the corner card steps aside for the inline one. */
body[data-panel="agenda"]:has(.agenda-reminder) .guest-reminder {
  display: none;
}

/* Read by screen readers, never seen. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
