body:not(.legal-body) #agenda {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

body:not(.legal-body) #agenda::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 88% 8%, rgba(238, 33, 64, .24), transparent 27%), linear-gradient(180deg, rgba(5, 6, 10, .18), rgba(5, 6, 10, .45));
  pointer-events: none;
}

body:not(.legal-body) #agenda .agenda-preview-intro {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

body:not(.legal-body) #agenda .agenda-preview-intro .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 13px;
  color: #ff4d68;
}

body:not(.legal-body) #agenda .agenda-preview-intro .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #59e5ae;
  box-shadow: 0 0 14px rgba(89,229,174,.65);
}

body:not(.legal-body) #agenda .agenda-preview-intro h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.35rem);
  line-height: 1;
  letter-spacing: -.06em;
}

body:not(.legal-body) #agenda .agenda-preview-intro > p:last-child {
  max-width: 650px;
  margin: 16px auto 0;
  color: rgba(255,255,255,.62);
  line-height: 1.7;
}

body:not(.legal-body) #agenda .agenda-preview-shell {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(37, 9, 22, .78), rgba(9, 10, 15, .82) 44%, rgba(8, 9, 13, .78));
  box-shadow: 0 30px 90px rgba(0,0,0,.4), inset 0 1px rgba(255,255,255,.07);
  backdrop-filter: blur(25px) saturate(135%);
  -webkit-backdrop-filter: blur(25px) saturate(135%);
}

body:not(.legal-body) #agenda .agenda-preview-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 25px;
  background: linear-gradient(140deg, rgba(80,16,35,.68), rgba(10,11,16,.76));
  box-shadow: inset 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(26px) saturate(135%);
  -webkit-backdrop-filter: blur(26px) saturate(135%);
}

body:not(.legal-body) #agenda .agenda-preview-hero::after {
  content: "";
  position: absolute;
  right: -55px;
  top: -112px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(255,255,255,.018);
}

body:not(.legal-body) #agenda .agenda-preview-label {
  margin: 0;
  color: #ff6179;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

body:not(.legal-body) #agenda .agenda-preview-hero h2 {
  margin: 11px 0 12px;
  color: #fff;
  font-size: clamp(2.65rem, 5.4vw, 5.25rem);
  line-height: .94;
  letter-spacing: -.065em;
}

body:not(.legal-body) #agenda .agenda-preview-hero p:last-child {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.61);
  line-height: 1.65;
}

body:not(.legal-body) #agenda .agenda-preview-total {
  position: relative;
  z-index: 1;
  padding: 10px 13px;
  border: 1px solid rgba(65,220,154,.25);
  border-radius: 999px;
  color: #62dda5;
  background: rgba(44,211,140,.09);
  font-size: .72rem;
  font-weight: 900;
  white-space: nowrap;
}

body:not(.legal-body) #agenda .agenda-preview-theme-picker {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0 0 14px;
  padding: 10px;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 15px;
  background: rgba(12,13,18,.67);
  backdrop-filter: blur(18px);
  scrollbar-width: thin;
}

body:not(.legal-body) #agenda .agenda-preview-theme-picker > span {
  padding: 0 6px;
  color: rgba(255,255,255,.48);
  font-size: .68rem;
  font-weight: 800;
  white-space: nowrap;
}

body:not(.legal-body) #agenda .agenda-preview-theme-picker button {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px;
  color: rgba(255,255,255,.68);
  background: rgba(255,255,255,.045);
  font: inherit;
  font-size: .67rem;
  font-weight: 800;
  cursor: pointer;
}

body:not(.legal-body) #agenda .agenda-preview-theme-picker button.is-selected {
  border-color: rgba(255,76,101,.48);
  color: #fff;
  background: rgba(238,41,70,.18);
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}

body:not(.legal-body) #agenda .agenda-preview-next {
  --event-accent: #ff4965;
  --event-accent-2: #a80d31;
  --event-soft: rgba(8,9,13,.24);
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0,1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, var(--event-accent), var(--event-accent-2));
  box-shadow: 0 22px 48px color-mix(in srgb, var(--event-accent-2) 32%, transparent), inset 0 1px rgba(255,255,255,.14);
  overflow: hidden;
}

body:not(.legal-body) #agenda .agenda-preview-next::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: rgba(255,255,255,.13);
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  line-height: 2.8;
  letter-spacing: 2.1rem;
  white-space: pre;
  text-align: center;
  transform: rotate(-5deg) scale(1.08);
  pointer-events: none;
}

body:not(.legal-body) #agenda .agenda-preview-next.theme-valentine::before {
  content: "♥     ♡       ♥      ♡\A    ♡       ♥       ♡\A ♥       ♡      ♥";
  color: rgba(255,229,237,.2);
}

body:not(.legal-body) #agenda .agenda-preview-next.theme-christmas::before {
  content: "❄       ✦       ❄       ✧\A    ✦       ❄       ✦\A ❄        ✧       ❄";
  color: rgba(235,255,249,.2);
}

body:not(.legal-body) #agenda .agenda-preview-next.theme-halloween::before {
  content: "🦇        ☾        🦇\A     🕸️        🦇       🕸️\A  🦇          ☾";
  color: rgba(255,238,218,.17);
  filter: grayscale(.2);
}

body:not(.legal-body) #agenda .agenda-preview-next.theme-new-year::before {
  content: "✦       ✧       ✦       ✧\A    ·      ✦       ·\A ✧       ✦       ✧";
  color: rgba(255,245,199,.2);
}

body:not(.legal-body) #agenda .agenda-preview-next.theme-easter::before {
  content: "◌       ◇       ◌       ◇\A    ◇       ◌       ◇\A ◌       ◇       ◌";
  color: rgba(250,235,255,.2);
}

body:not(.legal-body) #agenda .agenda-preview-next.theme-birthday::before {
  content: "✦       ·       ✧       ·\A    ✧       ✦       ·\A ·       ✦       ✧";
  color: rgba(255,239,252,.19);
}

body:not(.legal-body) #agenda .agenda-preview-next.theme-wedding::before {
  content: "◇       ✧       ◇       ✧\A    ✧       ◇       ✧\A ◇       ✧       ◇";
  color: rgba(255,248,232,.2);
}

body:not(.legal-body) #agenda .agenda-preview-next.theme-association::before {
  content: "●       ◌       ✦       ◌\A    ✦       ●       ✦\A ◌       ✦       ●";
  color: rgba(220,250,255,.18);
}

body:not(.legal-body) #agenda .agenda-preview-next.theme-private::before {
  content: "♫       ·       ✦       ·\A    ♪       ✧       ♫\A ·       ✦       ♪";
  color: rgba(255,232,242,.18);
}

body:not(.legal-body) #agenda .agenda-preview-next::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, rgba(255,255,255,.12), transparent 28%, transparent 75%, rgba(0,0,0,.12));
  pointer-events: none;
}

body:not(.legal-body) #agenda .agenda-preview-next.is-today {
  border-color: rgba(255,255,255,.38);
  animation: agenda-today-glow 2.8s ease-in-out infinite;
}

body:not(.legal-body) #agenda .agenda-preview-next.is-today::after {
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,.22) 43%, transparent 68%);
  transform: translateX(-115%);
  animation: agenda-today-sweep 3.8s ease-in-out infinite;
}

body:not(.legal-body) #agenda .agenda-preview-next.is-today .agenda-preview-status {
  padding-left: 26px;
  background: #109968;
  box-shadow: 0 0 0 0 rgba(61,225,163,.42);
  animation: agenda-today-status 1.9s ease-out infinite;
}

body:not(.legal-body) #agenda .agenda-preview-next.is-today .agenda-preview-status::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8fffd4;
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(143,255,212,.8);
}

body:not(.legal-body) #agenda .agenda-preview-row.is-today {
  border-color: rgba(84,225,171,.38);
  background: linear-gradient(100deg, rgba(47,181,131,.12), rgba(20,20,27,.78) 30%);
  box-shadow: inset 3px 0 #51dfa9, 0 0 28px rgba(42,181,128,.08);
}

@keyframes agenda-today-glow {
  0%, 100% { box-shadow: 0 22px 48px rgba(0,0,0,.24), 0 0 0 0 rgba(255,255,255,.08), inset 0 1px rgba(255,255,255,.16); }
  50% { box-shadow: 0 28px 58px rgba(0,0,0,.3), 0 0 0 5px rgba(255,255,255,.055), 0 0 38px rgba(255,64,92,.18), inset 0 1px rgba(255,255,255,.22); }
}

@keyframes agenda-today-sweep {
  0%, 24% { transform: translateX(-115%); }
  70%, 100% { transform: translateX(115%); }
}

@keyframes agenda-today-status {
  0% { box-shadow: 0 0 0 0 rgba(61,225,163,.4); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(61,225,163,0); }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.legal-body) #agenda .agenda-preview-next.is-today,
  body:not(.legal-body) #agenda .agenda-preview-next.is-today::after,
  body:not(.legal-body) #agenda .agenda-preview-next.is-today .agenda-preview-status {
    animation: none;
  }
}

body:not(.legal-body) #agenda .agenda-preview-next > *:not(.agenda-preview-decor):not(.agenda-preview-artwork) {
  position: relative;
  z-index: 2;
}

body:not(.legal-body) #agenda .agenda-preview-artwork {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  width: min(43%, 430px);
  height: 100%;
  color: rgba(255,255,255,.7);
  opacity: .48;
  pointer-events: none;
}

body:not(.legal-body) #agenda .agenda-preview-artwork path,
body:not(.legal-body) #agenda .agenda-preview-artwork circle,
body:not(.legal-body) #agenda .agenda-preview-artwork rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

body:not(.legal-body) #agenda .agenda-preview-artwork .art-fill {
  fill: rgba(255,255,255,.055);
}

body:not(.legal-body) #agenda .agenda-preview-decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

body:not(.legal-body) #agenda .agenda-preview-decor span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: rgba(7,8,12,.13);
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 16px 32px rgba(0,0,0,.1);
  font-size: 2rem;
  filter: saturate(.9);
}

body:not(.legal-body) #agenda .agenda-preview-decor span:nth-child(1) { right: 135px; bottom: -25px; transform: rotate(-10deg); }
body:not(.legal-body) #agenda .agenda-preview-decor span:nth-child(2) { right: 70px; top: -26px; width: 62px; height: 62px; font-size: 1.55rem; transform: rotate(12deg); }
body:not(.legal-body) #agenda .agenda-preview-decor span:nth-child(3) { right: -18px; bottom: -9px; width: 92px; height: 92px; font-size: 2.25rem; transform: rotate(9deg); }

body:not(.legal-body) #agenda .agenda-preview-next.theme-halloween { --event-accent: #f57622; --event-accent-2: #50105f; --event-soft: rgba(48,8,61,.32); }
body:not(.legal-body) #agenda .agenda-preview-next.theme-christmas { --event-accent: #137a55; --event-accent-2: #8d1631; --event-soft: rgba(7,66,44,.3); }
body:not(.legal-body) #agenda .agenda-preview-next.theme-christmas {
  background-image: linear-gradient(90deg, rgba(5,14,11,.9) 0%, rgba(7,20,15,.76) 43%, rgba(8,18,14,.48) 100%);
}

body:not(.legal-body) #agenda .agenda-preview-next.theme-christmas::before {
  content: "";
  background: radial-gradient(circle at 36% 18%, rgba(255,223,145,.12), transparent 28%);
  transform: none;
}

body:not(.legal-body) #agenda .agenda-preview-next.theme-christmas .agenda-preview-decor {
  display: none;
}

body:not(.legal-body) #agenda .agenda-preview-next.theme-halloween {
  background-image: linear-gradient(90deg, rgba(10,5,15,.92) 0%, rgba(20,7,27,.76) 43%, rgba(16,5,22,.48) 100%);
}

body:not(.legal-body) #agenda .agenda-preview-next.theme-new-year {
  background-image: linear-gradient(90deg, rgba(3,12,27,.93) 0%, rgba(5,18,37,.74) 43%, rgba(5,15,28,.46) 100%);
}

body:not(.legal-body) #agenda .agenda-preview-next.theme-wedding {
  background-image: linear-gradient(90deg, rgba(33,7,15,.92) 0%, rgba(48,11,20,.72) 43%, rgba(41,10,18,.44) 100%);
}

body:not(.legal-body) #agenda .agenda-preview-next.theme-birthday {
  background-image: linear-gradient(90deg, rgba(31,5,23,.93) 0%, rgba(50,8,37,.72) 43%, rgba(40,6,31,.44) 100%);
}

body:not(.legal-body) #agenda .agenda-preview-next.theme-halloween::before,
body:not(.legal-body) #agenda .agenda-preview-next.theme-new-year::before,
body:not(.legal-body) #agenda .agenda-preview-next.theme-wedding::before,
body:not(.legal-body) #agenda .agenda-preview-next.theme-birthday::before {
  content: "";
  background: radial-gradient(circle at 38% 20%, rgba(255,255,255,.08), transparent 30%);
  transform: none;
}

body:not(.legal-body) #agenda .agenda-preview-next.theme-halloween .agenda-preview-decor,
body:not(.legal-body) #agenda .agenda-preview-next.theme-new-year .agenda-preview-decor,
body:not(.legal-body) #agenda .agenda-preview-next.theme-wedding .agenda-preview-decor,
body:not(.legal-body) #agenda .agenda-preview-next.theme-birthday .agenda-preview-decor {
  display: none;
}
body:not(.legal-body) #agenda .agenda-preview-next.theme-new-year { --event-accent: #d5a72d; --event-accent-2: #162e59; --event-soft: rgba(10,24,49,.3); }
body:not(.legal-body) #agenda .agenda-preview-next.theme-easter { --event-accent: #a56ed6; --event-accent-2: #5141a0; --event-soft: rgba(62,44,120,.3); }
body:not(.legal-body) #agenda .agenda-preview-next.theme-valentine { --event-accent: #ff4c79; --event-accent-2: #8f1238; --event-soft: rgba(93,7,36,.28); }
body:not(.legal-body) #agenda .agenda-preview-next.theme-birthday { --event-accent: #8e57d9; --event-accent-2: #bd235e; --event-soft: rgba(69,32,114,.28); }
body:not(.legal-body) #agenda .agenda-preview-next.theme-wedding { --event-accent: #d3ac68; --event-accent-2: #754953; --event-soft: rgba(79,50,57,.28); }
body:not(.legal-body) #agenda .agenda-preview-next.theme-association { --event-accent: #36b6d4; --event-accent-2: #175076; --event-soft: rgba(17,75,104,.28); }
body:not(.legal-body) #agenda .agenda-preview-next.theme-private { --event-accent: #d54a78; --event-accent-2: #51204f; --event-soft: rgba(68,23,65,.28); }

body:not(.legal-body) #agenda .agenda-preview-next-date {
  display: flex;
  min-height: 106px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  background: var(--event-soft);
}

body:not(.legal-body) #agenda .agenda-preview-next-date b { font-size: 2.55rem; line-height: 1; }
body:not(.legal-body) #agenda .agenda-preview-next-date span { margin-top: 7px; font-size: .68rem; font-weight: 900; text-align: center; text-transform: capitalize; }
body:not(.legal-body) #agenda .agenda-preview-next-copy small { font-size: .66rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
body:not(.legal-body) #agenda .agenda-preview-theme-symbol { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 5px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(0,0,0,.16); font-size: .86rem; font-style: normal; letter-spacing: 0; }
body:not(.legal-body) #agenda .agenda-preview-theme-symbol svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
body:not(.legal-body) #agenda .agenda-preview-next-copy h3 { margin: 8px 0; color: #fff; font-size: clamp(1.35rem, 2.7vw, 2.25rem); letter-spacing: -.035em; }
body:not(.legal-body) #agenda .agenda-preview-next-copy p { margin: 0; color: rgba(255,255,255,.75); }

body:not(.legal-body) #agenda .agenda-preview-status {
  position: relative;
  align-self: start;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: #0b6c4c;
  font-size: .65rem;
  font-weight: 900;
  text-transform: uppercase;
}

body:not(.legal-body) #agenda .agenda-preview-toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0 14px;
}

body:not(.legal-body) #agenda .agenda-preview-toolbar h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -.035em; }
body:not(.legal-body) #agenda .agenda-preview-controls { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }

body:not(.legal-body) #agenda .agenda-preview-controls button {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 10px;
  color: rgba(255,255,255,.58);
  background: rgba(255,255,255,.055);
  font: inherit;
  font-size: .7rem;
  font-weight: 850;
  cursor: pointer;
}

body:not(.legal-body) #agenda .agenda-preview-controls button.is-selected {
  border-color: #ee2946;
  color: #fff;
  background: #ee2946;
  box-shadow: 0 8px 20px rgba(238,41,70,.2);
}

body:not(.legal-body) #agenda .agenda-preview-list { display: grid; gap: 10px; }

body:not(.legal-body) #agenda .agenda-preview-row {
  --event-accent: rgba(255,255,255,.38);
  --event-glow: rgba(255,255,255,.025);
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0,1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(100deg, var(--event-glow), rgba(20,20,27,.72) 25%);
  box-shadow: inset 0 1px rgba(255,255,255,.035);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

body:not(.legal-body) #agenda .agenda-preview-row::before {
  content: "";
  position: absolute;
  inset: 12px auto 12px 0;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: var(--event-accent);
  box-shadow: none;
}

body:not(.legal-body) #agenda .theme-halloween { --event-accent: #ff842b; --event-glow: rgba(116,30,135,.16); }
body:not(.legal-body) #agenda .theme-christmas { --event-accent: #49d09a; --event-glow: rgba(30,132,91,.14); }
body:not(.legal-body) #agenda .theme-new-year { --event-accent: #e4bd4c; --event-glow: rgba(33,70,127,.16); }
body:not(.legal-body) #agenda .theme-easter { --event-accent: #c790f0; --event-glow: rgba(126,86,177,.14); }
body:not(.legal-body) #agenda .theme-valentine { --event-accent: #ff668c; --event-glow: rgba(180,31,79,.14); }
body:not(.legal-body) #agenda .theme-birthday { --event-accent: #b47af0; --event-glow: rgba(125,63,186,.14); }
body:not(.legal-body) #agenda .theme-wedding { --event-accent: #e0bd7e; --event-glow: rgba(177,139,73,.13); }
body:not(.legal-body) #agenda .theme-association { --event-accent: #59c9e8; --event-glow: rgba(42,132,159,.12); }
body:not(.legal-body) #agenda .theme-business { --event-accent: #7aa6ff; --event-glow: rgba(59,94,166,.12); }
body:not(.legal-body) #agenda .theme-festival { --event-accent: #ff6b71; --event-glow: rgba(179,42,53,.12); }

body:not(.legal-body) #agenda .agenda-preview-row:hover { transform: translateY(-2px); border-color: rgba(255,82,107,.36); background: rgba(28,24,32,.82); }
body:not(.legal-body) #agenda .agenda-preview-row.is-past { opacity: .52; }
body:not(.legal-body) #agenda .agenda-preview-row time { color: rgba(255,255,255,.82); font-size: .79rem; font-weight: 900; text-transform: uppercase; }
body:not(.legal-body) #agenda .agenda-preview-row strong { display: block; color: #fff; font-size: 1rem; }
body:not(.legal-body) #agenda .agenda-preview-row small { display: block; margin-top: 5px; color: rgba(255,255,255,.47); }

body:not(.legal-body) #agenda .agenda-preview-row em {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: rgba(255,255,255,.66);
  background: rgba(255,255,255,.055);
  font-size: .65rem;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

body:not(.legal-body) #agenda .agenda-preview-row em i { color: rgba(255,255,255,.7); font-size: .9rem; font-style: normal; }

body:not(.legal-body) #agenda .agenda-preview-row.theme-halloween,
body:not(.legal-body) #agenda .agenda-preview-row.theme-christmas,
body:not(.legal-body) #agenda .agenda-preview-row.theme-new-year,
body:not(.legal-body) #agenda .agenda-preview-row.theme-easter,
body:not(.legal-body) #agenda .agenda-preview-row.theme-valentine,
body:not(.legal-body) #agenda .agenda-preview-row.theme-birthday,
body:not(.legal-body) #agenda .agenda-preview-row.theme-wedding,
body:not(.legal-body) #agenda .agenda-preview-row.theme-association,
body:not(.legal-body) #agenda .agenda-preview-row.theme-business,
body:not(.legal-body) #agenda .agenda-preview-row.theme-festival,
body:not(.legal-body) #agenda .agenda-preview-row.theme-private {
  --event-accent: rgba(255,255,255,.38);
  --event-glow: rgba(255,255,255,.025);
}
body:not(.legal-body) #agenda .agenda-theme-mark svg { display: block; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

body:not(.legal-body) #agenda .agenda-preview-list.is-calendar { grid-template-columns: repeat(2, minmax(0,1fr)); }

body:not(.legal-body) #agenda .agenda-preview-month {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(20,20,27,.72);
  backdrop-filter: blur(18px);
}

body:not(.legal-body) #agenda .agenda-preview-month h4 { margin: 0 0 13px; color: #ff6077; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
body:not(.legal-body) #agenda .agenda-preview-month > div { display: grid; gap: 8px; }

body:not(.legal-body) #agenda .agenda-preview-month article {
  --event-accent: #ff526b;
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  gap: 4px 10px;
  align-items: center;
  padding: 9px;
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  box-shadow: inset 3px 0 var(--event-accent);
}

body:not(.legal-body) #agenda .agenda-preview-month article b { grid-row: span 2; color: var(--event-accent); font-size: 1.25rem; text-align: center; }
body:not(.legal-body) #agenda .agenda-preview-month article span { color: #fff; font-weight: 800; }
body:not(.legal-body) #agenda .agenda-preview-month article small { color: rgba(255,255,255,.46); }

body:not(.legal-body) #agenda .agenda-preview-empty {
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  color: rgba(255,255,255,.62);
  background: rgba(20,20,27,.72);
  text-align: center;
}

@media (max-width: 760px) {
  body:not(.legal-body) #agenda .agenda-preview-shell { padding: 14px; border-radius: 22px; }
  body:not(.legal-body) #agenda .agenda-preview-hero { grid-template-columns: 1fr; padding: 24px; }
  body:not(.legal-body) #agenda .agenda-preview-total { justify-self: start; }
  body:not(.legal-body) #agenda .agenda-preview-next { grid-template-columns: 84px minmax(0,1fr); }
  body:not(.legal-body) #agenda .agenda-preview-next-date { min-height: 88px; }
  body:not(.legal-body) #agenda .agenda-preview-status { display: none; }
  body:not(.legal-body) #agenda .agenda-preview-artwork { width: 52%; opacity: .28; }
  body:not(.legal-body) #agenda .agenda-preview-decor span:nth-child(1) { right: 10px; }
  body:not(.legal-body) #agenda .agenda-preview-decor span:nth-child(2),
  body:not(.legal-body) #agenda .agenda-preview-decor span:nth-child(3) { display: none; }
  body:not(.legal-body) #agenda .agenda-preview-toolbar { align-items: flex-start; flex-direction: column; }
  body:not(.legal-body) #agenda .agenda-preview-controls { justify-content: flex-start; }
  body:not(.legal-body) #agenda .agenda-preview-row { grid-template-columns: 76px minmax(0,1fr); }
  body:not(.legal-body) #agenda .agenda-preview-row em { display: none; }
  body:not(.legal-body) #agenda .agenda-preview-list.is-calendar { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  body:not(.legal-body) #agenda .agenda-preview-shell { padding: 9px; }
  body:not(.legal-body) #agenda .agenda-preview-hero { padding: 20px 17px; }
  body:not(.legal-body) #agenda .agenda-preview-next { grid-template-columns: 1fr; padding: 13px; }
  body:not(.legal-body) #agenda .agenda-preview-next-date { min-height: 70px; }
  body:not(.legal-body) #agenda .agenda-preview-next-copy { text-align: center; }
  body:not(.legal-body) #agenda .agenda-preview-row { grid-template-columns: 1fr; gap: 8px; padding: 14px; }
}

/* Agenda public validé : présentation finale issue de la maquette. */
body:not(.legal-body) #agenda .agenda-preview-intro { max-width: 1120px; }
body:not(.legal-body) #agenda .agenda-preview-intro > p:last-of-type { white-space: nowrap; }
body:not(.legal-body) #agenda .agenda-preview-intro h2 span { white-space: nowrap; }

body:not(.legal-body) #agenda .agenda-preview-services {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(420px,.9fr);
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  padding: 24px;
  border-color: rgba(255,255,255,.13);
  background: radial-gradient(circle at 0 0,rgba(238,41,70,.2),transparent 38%),rgba(11,11,16,.66);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

body:not(.legal-body) #agenda .agenda-preview-services + .agenda-preview-next { margin-top: 24px; }
body:not(.legal-body) #agenda .agenda-preview-services .agenda-kicker { color: #ff536d; }
body:not(.legal-body) #agenda .agenda-preview-services h3 { margin-bottom: 8px; text-transform: none; }
body:not(.legal-body) #agenda .agenda-preview-services .agenda-types {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 0;
}
body:not(.legal-body) #agenda .agenda-preview-services .agenda-types span {
  min-height: 40px;
  justify-content: center;
  padding: 8px 9px;
  font-size: .66rem;
  white-space: nowrap;
  border-color: rgba(255,75,104,.22);
  background: rgba(255,255,255,.045);
}

body:not(.legal-body) #agenda .agenda-preview-calendar-frame {
  margin-top: 24px;
  overflow: hidden;
  border-color: rgba(255,255,255,.2);
  border-radius: 22px;
  background: linear-gradient(145deg,rgba(55,57,68,.34),rgba(18,19,27,.26));
  box-shadow: 0 22px 58px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.15);
  backdrop-filter: blur(26px) saturate(155%);
  -webkit-backdrop-filter: blur(26px) saturate(155%);
}

body:not(.legal-body) #agenda .agenda-preview-calendar-viewport {
  height: auto;
  min-height: 280px;
  max-height: 520px;
  overflow: hidden;
  padding: 0;
  background: transparent;
}

body:not(.legal-body) #agenda .agenda-preview-calendar-viewport .agenda-preview-list {
  grid-template-columns: 1fr;
  gap: 10px;
  max-height: 520px;
  overflow-y: auto;
  padding: 16px;
  scrollbar-color: #ee2946 rgba(255,255,255,.06);
  scrollbar-width: thin;
}

body:not(.legal-body) #agenda .agenda-preview-calendar-viewport .agenda-preview-list::-webkit-scrollbar { width: 8px; }
body:not(.legal-body) #agenda .agenda-preview-calendar-viewport .agenda-preview-list::-webkit-scrollbar-track { background: rgba(255,255,255,.05); border-radius: 99px; }
body:not(.legal-body) #agenda .agenda-preview-calendar-viewport .agenda-preview-list::-webkit-scrollbar-thumb { background: linear-gradient(#ee2946,#861023); border-radius: 99px; }

body:not(.legal-body) #agenda .agenda-preview-list .agenda-group-title {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 2px 2px;
  color: rgba(255,255,255,.48);
  font-size: .69rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body:not(.legal-body) #agenda .agenda-preview-list .agenda-group-title span { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
body:not(.legal-body) #agenda .agenda-preview-list .agenda-group-past { color: #ff526d; }
body:not(.legal-body) #agenda .agenda-preview-list .agenda-group-future { color: #59e5ae; margin-top: 8px; }
body:not(.legal-body) #agenda .agenda-preview-list .agenda-item {
  position: relative;
  grid-template-columns: 172px minmax(0,1fr);
  animation: none;
  overflow: hidden;
  border-radius: 16px;
  border-color: rgba(255,255,255,.17);
  background: radial-gradient(circle at 12% 0,rgba(255,255,255,.16),transparent 34%),linear-gradient(125deg,rgba(59,61,73,.48),rgba(19,20,28,.36));
  box-shadow: inset 0 1px rgba(255,255,255,.18), 0 14px 34px rgba(0,0,0,.16);
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
}

body:not(.legal-body) #agenda .agenda-preview-list .agenda-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(118deg,rgba(255,255,255,.2),transparent 25%,transparent 70%,rgba(255,255,255,.06));
  pointer-events: none;
}

body:not(.legal-body) #agenda .agenda-preview-list .agenda-item > * {
  position: relative;
  z-index: 1;
}

body:not(.legal-body) #agenda .agenda-preview-list .agenda-item.is-upcoming {
  border-color: rgba(89,229,174,.42);
  background: radial-gradient(circle at 12% 0,rgba(126,255,204,.18),transparent 34%),linear-gradient(125deg,rgba(45,78,67,.46),rgba(20,25,28,.34));
  box-shadow: inset 3px 0 rgba(89,229,174,.9), inset 0 1px rgba(255,255,255,.19), 0 14px 34px rgba(0,0,0,.16);
  opacity: 1;
}

body:not(.legal-body) #agenda .agenda-preview-list .agenda-item.is-upcoming .agenda-date,
body:not(.legal-body) #agenda .agenda-preview-list .agenda-item.is-next .agenda-date {
  min-height: 62px;
  padding-inline: 13px;
  color: #fff;
  border-color: rgba(89,229,174,.46);
  background: linear-gradient(145deg,rgba(24,156,104,.5),rgba(8,74,49,.36));
  box-shadow: none;
}

body:not(.legal-body) #agenda .agenda-preview-list .agenda-item.is-past {
  border-color: rgba(255,72,100,.38);
  background: radial-gradient(circle at 12% 0,rgba(255,126,146,.17),transparent 34%),linear-gradient(125deg,rgba(79,42,51,.44),rgba(27,20,25,.34));
  box-shadow: inset 3px 0 rgba(238,41,70,.82), inset 0 1px rgba(255,255,255,.18), 0 14px 34px rgba(0,0,0,.16);
  opacity: .96;
}

body:not(.legal-body) #agenda .agenda-preview-list .agenda-item.is-past .agenda-date {
  min-height: 62px;
  padding-inline: 13px;
  color: #fff0f3;
  border-color: rgba(255,75,104,.44);
  background: linear-gradient(145deg,rgba(238,41,70,.46),rgba(112,9,29,.32));
  box-shadow: 0 10px 26px rgba(190,24,53,.13), inset 0 1px rgba(255,255,255,.1);
}

body:not(.legal-body) #agenda .agenda-preview-list .agenda-full-date {
  font-size: .7rem;
  font-weight: 950;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 980px) {
  body:not(.legal-body) #agenda .agenda-preview-intro > p:last-of-type { white-space: normal; }
}

@media (max-width: 760px) {
  body:not(.legal-body) #agenda .agenda-preview-services { grid-template-columns: 1fr; gap: 18px; padding: 19px; }
  body:not(.legal-body) #agenda .agenda-preview-services .agenda-types { flex-wrap: wrap; }
  body:not(.legal-body) #agenda .agenda-preview-services + .agenda-preview-next { margin-top: 18px; }
}

@media (max-width: 460px) {
  body:not(.legal-body) #agenda .agenda-preview-intro h2 span { white-space: normal; }
  body:not(.legal-body) #agenda .agenda-preview-list .agenda-item { grid-template-columns: 1fr; }
}

/* Bandeaux vitrés sans image de fond. */
body:not(.legal-body) #agenda .agenda-preview-list .agenda-item {
  --agenda-band-overlay: linear-gradient(90deg,rgba(15,16,22,.97) 0%,rgba(16,17,23,.88) 40%,rgba(12,13,18,.56) 67%,rgba(7,8,12,.18) 100%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: var(--agenda-band-overlay) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

body:not(.legal-body) #agenda .agenda-preview-list .agenda-item.is-upcoming {
  --agenda-band-overlay: linear-gradient(90deg,rgba(13,30,25,.96) 0%,rgba(14,27,24,.87) 40%,rgba(10,20,18,.55) 67%,rgba(6,12,11,.17) 100%);
}

body:not(.legal-body) #agenda .agenda-preview-list .agenda-item.is-past {
  --agenda-band-overlay: linear-gradient(90deg,rgba(34,14,20,.96) 0%,rgba(29,15,20,.87) 40%,rgba(22,11,15,.56) 67%,rgba(12,6,8,.18) 100%);
}

body:not(.legal-body) #agenda .agenda-preview-list .agenda-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(118deg,rgba(255,255,255,.13),transparent 25%,transparent 72%,rgba(255,255,255,.05));
  pointer-events: none;
}

body:not(.legal-body) #agenda .agenda-preview-list .agenda-item > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  body:not(.legal-body) #agenda .agenda-preview-list .agenda-item {
    background-position: center !important;
    background-size: 100% 100% !important;
  }
}
