.agenda-page { --agenda-accent: #214e3d; --agenda-on-accent: #fff; --agenda-bg: #f7f5ef; --agenda-card: #fffefa; --agenda-text: #243a2c; --agenda-muted: #64715f; --agenda-line: #dfe5d8; container: agenda / inline-size; color: var(--agenda-text); background: var(--agenda-bg); min-width: 0; min-height: 100svh; }
.agenda-page.agenda-theme-dark { --agenda-bg: #16241d; --agenda-card: #203128; --agenda-text: #f3f5e8; --agenda-muted: #b3bda9; --agenda-line: #3b4b3c; }
.agenda-page :is(a,button,input,select,summary):focus-visible { outline: 3px solid #8b9d62; outline-offset: 4px; }
.agenda-nav,.agenda-content,.agenda-footer { width: min(1280px,100% - 48px); margin-inline: auto; }
.agenda-nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.agenda-nav .brand { color: var(--agenda-text); }
.agenda-theme-dark .agenda-nav .brand .mark { filter: brightness(0) invert(.95); }
.agenda-nav > div { display: flex; align-items: center; gap: 22px; }
.agenda-share,.agenda-website { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font: 500 13px/1.4 var(--font-body); color: var(--agenda-text); text-decoration: none; border: 0; background: none; cursor: pointer; }
.agenda-hero { position: relative; isolation: isolate; width: min(1360px,100% - 32px); margin: 0 auto; border-radius: 22px; overflow: hidden; background: #233d2d; color: #fff; }
.agenda-cover,.agenda-hero-shade { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.agenda-cover { object-fit: cover; object-position: center; }
.agenda-hero-shade { background: linear-gradient(90deg,#11271ae8,#172c1eb3 60%,#1d302767); }
.agenda-hero-copy { min-height: 330px; display: flex; flex-direction: column; justify-content: end; align-items: flex-start; padding: clamp(28px,5cqw,68px); }
.agenda-identity { display: flex; gap: 12px; align-items: center; margin-bottom: 32px; font-size: 13px; font-weight: 600; }
.agenda-logo,.agenda-monogram { width: 46px; height: 46px; border: 1px solid #ffffff50; border-radius: 12px; object-fit: contain; background: #fff; color: #294632; flex-shrink: 0; }
.agenda-monogram { display: grid; place-items: center; font: 600 23px/1 var(--font-display); }
.agenda-logo { padding: 4px; }
.agenda-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #e1e6ce; margin-bottom: 12px; }
.agenda-hero-copy :is(h1,h2) { font: 600 clamp(34px,5cqw,68px)/1.05 var(--font-display); letter-spacing: -.045em; margin: 0; max-width: 19ch; text-wrap: balance; overflow-wrap: anywhere; }
.agenda-hero-copy > p { max-width: 58ch; font-size: clamp(14px,1.4cqw,17px); line-height: 1.7; color: #f1f2e8; margin: 18px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.agenda-content { padding: 46px 0; }
.agenda-section-heading { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.agenda-section-heading h2 { font: 600 27px/1.2 var(--font-display); margin: 0; letter-spacing: -.03em; }
.agenda-result-count { font-size: 13px; color: var(--agenda-muted); }
.agenda-toolbar { display: flex; flex-direction: column; gap: 16px; align-items: stretch; padding-bottom: 24px; border-bottom: 1px solid var(--agenda-line); }
.agenda-periods { display: flex; align-items: center; gap: 6px; }
.agenda-periods button { min-height: 43px; border: 1px solid transparent; padding: 10px 16px; border-radius: 99px; background: transparent; color: var(--agenda-muted); font: 600 13px/1.4 var(--font-body); cursor: pointer; }
.agenda-periods button.active { color: var(--agenda-on-accent); background: var(--agenda-accent); }
.agenda-filter-fields { display: flex; gap: 10px; min-width: 0; }
.agenda-search,.agenda-month-select { display: flex; align-items: center; gap: 10px; background: var(--agenda-card); border: 1px solid var(--agenda-line); border-radius: 11px; padding: 0 12px; min-width: 0; color: var(--agenda-muted); }
.agenda-search { flex: 1; }
.agenda-search input,.agenda-month-select select { color: var(--agenda-text); background: transparent; border: 0; width: 100%; min-width: 0; min-height: 44px; font: 400 14px/1.4 var(--font-body); outline: none; }
.agenda-search input::placeholder { color: var(--agenda-muted); opacity: 1; }
.agenda-month-select { max-width: 190px; }
.agenda-month-select select { appearance: none; padding-right: 4px; }
.agenda-month-select option { color: #243a2c; background: #fff; }
.agenda-month-select .icon { pointer-events: none; flex-shrink: 0; }
.agenda-month { margin-top: 32px; }
.agenda-month-label { font: 600 15px/1.4 var(--font-body); text-transform: capitalize; margin: 0 0 16px; display: flex; align-items: center; gap: 20px; }
.agenda-month-line { flex: 1; height: 1px; background: var(--agenda-line); }
.agenda-event-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; align-items: start; }
.agenda-event { min-width: 0; border: 1px solid var(--agenda-line); border-radius: 17px; overflow: hidden; background: var(--agenda-card); box-shadow: 0 4px 14px #10221506; }
.agenda-event-image { display: block; position: relative; height: 200px; background: #334834; overflow: hidden; }
.agenda-event-image > img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.agenda-event-image:hover > img { transform: scale(1.035); }
.agenda-event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; position: absolute; top: 16px; left: 16px; min-width: 59px; min-height: 66px; padding: 8px 10px; color: #253e2c; background: #fffdf4f5; border-radius: 11px; box-shadow: 0 3px 15px #17291a15; }
.agenda-event-date strong { font: 600 25px/1 var(--font-display); letter-spacing: -.03em; }
.agenda-event-date span { font-size: 10px; text-transform: uppercase; font-weight: 600; margin-top: 6px; max-width: 75px; text-align: center; }
.agenda-event-body { padding: 22px; min-width: 0; }
.agenda-event-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; font-size: 11px; color: var(--agenda-muted); margin-bottom: 12px; }
.agenda-event-status { font-size: 10px; font-weight: 600; padding: 5px 8px; border: 1px solid var(--agenda-line); border-radius: 99px; }
.agenda-event-status.is-open { background: #eaf1e1; color: #37562b; border-color: #dce7d1; }
.agenda-event h4 { font: 600 21px/1.25 var(--font-display); letter-spacing: -.025em; margin: 0 0 10px; overflow-wrap: anywhere; }
.agenda-event h4 a { color: inherit; text-decoration: none; }
.agenda-event-location { color: var(--agenda-muted); display: flex; gap: 6px; align-items: baseline; font-size: 12px; margin: 0 0 14px; overflow-wrap: anywhere; }
.agenda-event-location .icon { flex-shrink: 0; }
.agenda-ticket-types { border-top: 1px solid var(--agenda-line); }
.agenda-ticket-types summary { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; color: var(--agenda-muted); cursor: pointer; list-style: none; }
.agenda-ticket-types summary::-webkit-details-marker { display: none; }
.agenda-ticket-types summary .icon:last-child { margin-left: auto; }
.agenda-ticket-types[open] summary .icon:last-child { transform: rotate(180deg); }
.agenda-ticket-types ul { list-style: none; padding: 0; margin: 0 0 14px; }
.agenda-ticket-types li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 12px; border-top: 1px solid var(--agenda-line); }
.agenda-ticket-types li > div { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.agenda-ticket-types li strong { font-weight: 500; }
.agenda-ticket-types li > div span { color: var(--agenda-muted); font-size: 10px; }
.agenda-ticket-types li > span { white-space: nowrap; }
.agenda-event-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 14px; border-top: 1px solid var(--agenda-line); }
.agenda-from { font-size: 12px; font-weight: 600; }
.agenda-ticket-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; min-height: 44px; border-radius: 9px; color: var(--agenda-on-accent); background: var(--agenda-accent); text-decoration: none; font-size: 12px; font-weight: 600; }
.agenda-ticket-link:hover { color: var(--agenda-on-accent); filter: brightness(.92); }
.agenda-empty { text-align: center; padding: 55px 18px; }
.agenda-empty > .icon { font-size: 34px; color: var(--agenda-muted); }
.agenda-empty h3 { font: 600 23px/1.3 var(--font-display); margin: 18px 0 12px; }
.agenda-empty p { font-size: 14px; color: var(--agenda-muted); max-width: 40ch; margin: 0 auto; line-height: 1.7; }
.agenda-reset { min-height: 44px; border: 1px solid var(--agenda-line); color: var(--agenda-text); background: var(--agenda-card); padding: 10px 16px; border-radius: 10px; margin-top: 20px; cursor: pointer; }
.agenda-prices-note { font-size: 11px; line-height: 1.6; color: var(--agenda-muted); margin: 28px 0 0; }
.agenda-footer { border-top: 1px solid var(--agenda-line); padding: 25px 0; display: flex; justify-content: space-between; gap: 25px; font-size: 12px; color: var(--agenda-muted); }
.agenda-footer a { color: var(--agenda-muted); white-space: nowrap; }
.agenda-unavailable { max-width: 550px; margin: 12vh auto; padding: 24px; text-align: center; }
.agenda-unavailable > .brand { display: flex; justify-content: center; margin-bottom: 50px; }
.agenda-unavailable > .icon { font-size: 40px; color: #65805d; }
.agenda-unavailable h1 { font: 600 36px/1.1 var(--font-display); }
.agenda-unavailable p { color: #62705c; line-height: 1.7; margin: 20px 0 28px; }
@container agenda (min-width: 660px) {
  .agenda-event-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .agenda-layout-cards .agenda-event-list:has(> .agenda-event:only-child) { grid-template-columns: minmax(0,1fr); }
  .agenda-layout-cards .agenda-event-list > .agenda-event:only-child { display: grid; grid-template-columns: 40% minmax(0,1fr); }
  .agenda-layout-cards .agenda-event:only-child .agenda-event-image { height: 100%; min-height: 250px; }
  .agenda-layout-timeline .agenda-event-list { grid-template-columns: minmax(0,1fr); }
  .agenda-layout-timeline .agenda-event { display: grid; grid-template-columns: 220px minmax(0,1fr); }
  .agenda-layout-timeline .agenda-event-image { height: 100%; min-height: 240px; }
}
@container agenda (min-width: 1000px) {
  .agenda-event-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .agenda-layout-cards .agenda-event-list:has(> .agenda-event:nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .agenda-toolbar { flex-direction: row; justify-content: space-between; align-items: center; }
  .agenda-filter-fields { min-width: 470px; }
  .agenda-hero-copy { min-height: 400px; }
  .agenda-layout-timeline .agenda-event { grid-template-columns: 280px minmax(0,1fr); }
  .agenda-layout-timeline .agenda-event-body { padding: 28px 34px; }
}
@container agenda (max-width: 480px) {
  .agenda-nav,.agenda-content,.agenda-footer { width: calc(100% - 32px); }
  .agenda-hero { width: calc(100% - 20px); border-radius: 16px; }
  .agenda-nav { min-height: 72px; }
  .agenda-nav > div { gap: 10px; }
  .agenda-nav .brand { font-size: 19px; }
  .agenda-nav .brand .mark { width: 28px; height: 28px; }
  .agenda-share,.agenda-website { font-size: 11px; gap: 4px; }
  .agenda-hero-copy { padding: 26px; }
  .agenda-identity { margin-bottom: 28px; }
  .agenda-filter-fields { flex-direction: column; }
  .agenda-month-select { max-width: none; }
  .agenda-event-body { padding: 20px; }
  .agenda-content { padding: 32px 0; }
}
/* Organizer editor: the same page component is rendered inside its own container. */
.agenda-editor { min-width: 0; }
.agenda-editor-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.agenda-editor-heading h1 { font: 600 32px/1.2 var(--font-display); letter-spacing: -.035em; margin: 8px 0; }
.agenda-editor-heading p { color: #65705f; font-size: 14px; line-height: 1.6; margin: 0; }
.agenda-share-bar { display: flex; align-items: end; gap: 12px; padding: 18px; border: 1px solid #dfe4d7; border-radius: 14px; background: #fffef9; margin-bottom: 28px; }
.agenda-share-bar > div { min-width: 0; flex: 1; }
.agenda-share-bar label { display: block; color: #5d6e55; font-size: 12px; margin-bottom: 8px; }
.agenda-share-bar input { font-size: 13px; }
.agenda-share-bar .btn { flex-shrink: 0; }
.agenda-editor-grid { display: grid; grid-template-columns: minmax(290px,360px) minmax(0,1fr); align-items: start; gap: 24px; }
.agenda-editor-form { min-width: 0; background: #fffefa; border: 1px solid #dfe4d7; border-radius: 16px; }
.agenda-editor-form fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.agenda-editor-form section { padding: 24px; border-bottom: 1px solid #e2e6da; }
.agenda-editor-form h2 { font: 600 18px/1.3 var(--font-display); margin: 0 0 18px; }
.agenda-editor-form section > p { color: #68725f; font-size: 12px; line-height: 1.7; }
.agenda-editor-form .field { margin-bottom: 16px; }
.agenda-editor-form .field:last-child { margin-bottom: 0; }
.agenda-editor-form .input,.agenda-editor-form .textarea { width: 100%; }
.agenda-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.agenda-form-row .input { padding-left: 9px; font-size: 13px; }
.agenda-color { width: 100%; height: 42px; padding: 4px; border: 1px solid #d4dfcb; border-radius: 9px; background: #fff; cursor: pointer; }
.agenda-media-item { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.agenda-media-item > img,.agenda-media-placeholder { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: #edf1e5; flex-shrink: 0; }
.agenda-media-placeholder { display: grid; place-items: center; font-size: 23px; color: #738164; }
.agenda-media-item .btn { font-size: 12px; min-height: 40px; }
.agenda-remove-image { display: block; background: none; border: 0; padding: 8px 0; color: #7b4e32; font-size: 11px; cursor: pointer; min-height: 32px; }
.agenda-check { display: flex; align-items: start; gap: 12px; padding-block: 12px; font-size: 13px; line-height: 1.5; cursor: pointer; overflow-wrap: anywhere; }
.agenda-check input { width: 18px; height: 18px; accent-color: #214e3d; flex-shrink: 0; margin-top: 1px; }
.agenda-visibility-list { max-height: 280px; overflow-y: auto; border-top: 1px solid #dfe4d7; }
.agenda-visibility-list .agenda-check { border-bottom: 1px solid #e9ecdf; }
.agenda-editor-actions { padding: 18px 24px; position: sticky; bottom: 0; background: #fffef9f5; border-radius: 0 0 16px 16px; border-top: 1px solid #dfe4d7; z-index: 2; }
.agenda-editor-actions > div { display: flex; flex-wrap: wrap; gap: 10px; }
.agenda-save-status { color: #66775d; font-size: 12px; line-height: 1.5; margin: 0 0 12px; }
.agenda-preview-column { min-width: 0; position: sticky; top: 84px; }
.agenda-preview-label { display: flex; align-items: center; gap: 8px; color: #66775d; font-size: 12px; margin-bottom: 12px; }
.agenda-editor-preview { min-width: 0; max-height: calc(100vh - 130px); overflow-y: auto; border: 1px solid #dbe2d1; border-radius: 17px; box-shadow: 0 12px 40px #2537230d; }
.agenda-editor-preview .agenda-page { min-height: 0; }
.agenda-editor-preview .agenda-nav { min-height: 65px; }
.agenda-editor-preview .agenda-hero-copy { min-height: 270px; }
.agenda-readonly { padding: 15px 18px; background: #edf1e5; border-radius: 12px; font-size: 14px; }
@media (max-width: 1100px) { .agenda-editor-grid { grid-template-columns: minmax(270px,320px) minmax(0,1fr); gap: 16px; } .agenda-editor-form section { padding: 20px; } }
@media (max-width: 850px) { .agenda-editor-grid { grid-template-columns: minmax(0,1fr); } .agenda-preview-column { position: static; } .agenda-editor-preview { max-height: none; } .agenda-editor-actions { bottom: 64px; } }
@media (max-width: 560px) { .agenda-share-bar { flex-wrap: wrap; } .agenda-share-bar > div { flex-basis: 100%; } .agenda-editor-heading { align-items: start; } .agenda-editor-heading h1 { font-size: 27px; } .agenda-editor-heading .badge { margin-top: 8px; } .agenda-editor-actions .btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .agenda-page * { transition: none !important; } }
