/* Compact title + selected-day hours and price; full content stays in the reader. */
.event.event-preview{display:block;padding:0;overflow:hidden;border-radius:12px;margin-bottom:8px;background:#fcfdf8}
.event-preview .event-preview-open{display:flex;align-items:center;gap:15px;width:100%;min-height:72px;padding:18px 21px;background:none;color:#263b27;border:0;text-align:left}
.event-category-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:38px;height:38px;border-radius:11px;color:var(--event-color,#6e805b);background:#f1f1e9;background:color-mix(in srgb,currentColor 9%,#fcfdf8);border:1px solid color-mix(in srgb,currentColor 17%,transparent)}
.event-category-icon svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.calendar-key .event-category-icon{width:22px;height:22px;border:0;border-radius:6px}.calendar-key .event-category-icon svg{width:16px;height:16px}
.event-preview h3{font-size:18px;line-height:1.4;letter-spacing:-.25px;font-weight:550;margin:0;flex:1;min-width:0}
.event-preview-title{flex:1;min-width:0;font:inherit;line-height:1.4;overflow-wrap:anywhere}.event-preview-open{font:inherit}
.event-preview-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 14px;margin-top:5px;color:#536548;font:500 12px/1.5 ui-sans-serif,system-ui,sans-serif;letter-spacing:0;font-variant-numeric:tabular-nums}
.event-preview-time,.event-preview-cost{display:inline-flex;align-items:baseline;gap:5px;min-width:0;max-width:100%;font:inherit;letter-spacing:0}
.event-preview-time svg,.event-preview-cost svg{width:14px;height:14px;flex:none;align-self:flex-start;margin-top:2px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.event-preview-cost[data-cost="free"]{color:#3c662d;font-weight:650}
html[data-theme="dark"] .event-preview-meta{color:var(--plans-dark-muted,#bbc8b0)}
html[data-theme="dark"] .event-preview-cost[data-cost="free"]{color:var(--plans-dark-accent,#d4e59d)}
.event-preview-open .event-preview-arrow{font-size:24px;color:#708568;flex:none;font-weight:400;transition:transform .15s ease}
.event-preview-open:hover{background:#f0f4e8}.event-preview-open:hover .event-preview-arrow{transform:translateX(3px)}
.event-preview-open:focus-visible{outline-offset:-4px;border-radius:12px}
.event-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#f4f2eb;color:#263b27;overflow:hidden;overscroll-behavior:none}
.event-dialog::backdrop{background:#1b2717aa}.event-detail-shell{height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.event-detail-bar{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #d7ddce;background:#f4f2ebf5;padding:12px max(24px,calc((100vw - 1280px)/2));padding-top:max(12px,env(safe-area-inset-top));min-height:72px}
.event-detail-bar button{min-height:44px;border:0;border-radius:8px;background:transparent;color:#3e5636;padding:8px 12px;font-size:13px}.event-detail-bar button:hover{background:#e5eadc}.event-detail-wordmark{font-size:19px;font-weight:650;letter-spacing:-.6px}.event-detail-share{border:1px solid #c9d5bc!important}
.event-detail-content{max-width:1280px;margin:auto;padding:48px 32px max(56px,env(safe-area-inset-bottom))}.event-detail-heading{max-width:1050px;margin-bottom:34px}.event-detail-category{font:10px/1.5 ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase;color:#6a7d5c;margin:0 0 14px}.event-detail-heading h2{font-size:clamp(30px,4.4vw,59px);line-height:1.1;letter-spacing:-.04em;font-weight:550;margin:0;overflow-wrap:anywhere}.event-detail-heading h2:focus{outline:0}
.event-detail-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:44px;max-width:850px}.event-detail-grid.has-media{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);max-width:none;align-items:start}.event-detail-reading{min-width:0}
.event-detail-facts{display:grid;grid-template-columns:1fr 1fr;gap:19px 28px;margin:0 0 26px;padding-bottom:26px;border-bottom:1px solid #d4dcc9}.event-detail-facts>div:first-child{grid-column:1/-1}.event-detail-facts dt{font:10px/1.5 ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase;color:#76846c;margin-bottom:7px}.event-detail-facts dd{font-size:15px;line-height:1.6;margin:0;overflow-wrap:anywhere}.event-detail-facts ul{padding:0;margin:0;list-style:none}.event-detail-facts li+li{margin-top:5px}.event-detail-actions:empty,.event-detail-warnings:empty{display:none}.event-detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:26px}.event-registration{display:inline-flex;align-items:center;justify-content:space-between;min-height:50px;padding:13px 20px;border:1px solid #aabe77;border-radius:10px;background:#d0e696;color:#2b3a23;text-decoration:none;font-size:14px;font-weight:600;gap:35px}.event-registration:hover{background:#c1dc7e}
.event-detail-note{font-size:12px;line-height:1.65;color:#6e7d62;margin:0 0 19px}.event-detail-warnings .warning{margin-bottom:22px}.event-source-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:18px}.event-source-tab{font-size:12px;line-height:1.4;min-height:42px;background:transparent;border:1px solid #ccd6c0;border-radius:22px;padding:9px 14px;color:#55664a;text-align:left}.event-source-tab[aria-pressed=true]{background:#344a35;color:#fff;border-color:#344a35}
.event-detail-status{font-size:12px;line-height:1.65;padding:12px 15px;background:#e7eddd;border-radius:8px;color:#5c714b;margin:0 0 16px}.event-detail-status.is-error{background:#f1e6d7;color:#81552f}.event-detail-retry{padding:9px 14px;min-height:44px;border:1px solid #c5d0b8;border-radius:8px;background:#fff;color:#3b5430;margin-bottom:18px}.event-detail-description p{font-size:15px;line-height:1.85;white-space:pre-line;overflow-wrap:anywhere;margin:0 0 18px}.event-detail-description .event-detail-muted{font-size:13px;color:#78826e}.event-detail-source-links{display:flex;flex-direction:column;align-items:start;gap:5px;margin-top:15px}.event-detail-source-links a{font-size:12px;padding:10px 0;min-height:40px;text-underline-offset:4px;color:#5d704d}
.event-detail-gallery{position:sticky;top:96px;min-width:0}.event-media-stage{display:flex;align-items:center;justify-content:center;min-height:190px;background:#e6eadf;border-radius:16px;overflow:hidden}.event-media-stage img,.event-media-stage video{display:block;max-width:100%;width:100%;height:auto;max-height:calc(100dvh - 180px);min-height:120px;object-fit:contain}.event-media-stage video{background:#152013}.event-media-unavailable{font-size:13px;line-height:1.7;padding:24px;color:#647859}.event-media-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 0;color:#6c7a5f;font:11px ui-monospace,monospace}.event-media-arrow{width:44px;height:44px;border-radius:50%;border:1px solid #c9d5bc;background:#fcfdf8;color:#3b5430;font-size:23px}.event-media-arrow:disabled{opacity:.3;cursor:default}
.event-detail-credits{margin-top:42px;border-top:1px solid #d4dcc9;padding-top:14px;font-size:12px;color:#6c7b60}.event-detail-credits summary{cursor:pointer;min-height:44px;padding:12px 0}.event-detail-credits ul{list-style:none;padding:0;margin:4px 0;display:flex;flex-wrap:wrap;gap:8px 24px}.event-detail-credits a{display:inline-flex;min-height:42px;align-items:center;text-underline-offset:4px}
.event-source-facts:empty{display:none}.event-source-facts{display:grid;gap:15px;margin:24px 0 10px;padding-top:22px;border-top:1px solid #d4dcc9}.event-source-facts dt{font-size:11px;color:#7b886e;margin-bottom:5px}.event-source-facts dd{font-size:14px;line-height:1.7;margin:0;white-space:pre-line;overflow-wrap:anywhere}
.event-other-dates{font-size:12px;line-height:1.7;color:#5d704d;margin-bottom:20px}.event-other-dates summary{cursor:pointer;min-height:40px;padding:9px 0}.event-other-dates ul{padding-left:18px}
@media(max-width:760px){.event-detail-content{padding:28px 22px max(45px,env(safe-area-inset-bottom))}.event-detail-heading{margin-bottom:25px}.event-detail-grid.has-media{grid-template-columns:1fr;gap:27px}.event-detail-gallery{position:static;max-width:620px;width:100%;margin:auto}.event-media-stage img,.event-media-stage video{max-height:58dvh}.event-detail-bar{padding-inline:12px;gap:7px}.event-detail-wordmark{font-size:17px}.event-detail-bar button{font-size:12px;padding-inline:9px}.event-detail-facts{margin-bottom:22px;padding-bottom:22px}.event-detail-description p{font-size:14px;line-height:1.8}}
@media(max-width:480px){.event.event-preview{padding:0}.event-preview .event-preview-open{min-height:62px;padding:14px 12px;gap:10px}.event-preview h3{font-size:16px;line-height:1.4}.event-preview .event-category-icon{width:32px;height:32px;border-radius:9px}.event-preview .event-category-icon svg{width:21px;height:21px}.event-preview-open .event-preview-arrow{font-size:21px}.event-detail-content{padding-inline:18px}.event-detail-heading h2{font-size:31px}.event-detail-wordmark{display:none}.event-detail-facts{gap:16px}.event-detail-facts dd{font-size:14px}.event-detail-bar{min-height:66px}.event-detail-share{font-size:11px!important}.event-registration{width:100%}.event-media-stage{border-radius:11px}.event-detail-credits{margin-top:28px}}
@media(prefers-reduced-motion:reduce){.event-preview-arrow{transition:none!important}.event-detail-shell{scroll-behavior:auto}}

/* Desktop reader: retain the agenda as context, with a self-contained side sheet.
   The native dialog still owns focus, Escape, history and scroll restoration. */
@media(min-width:1024px){
  .event-dialog{inset:0 0 0 auto;width:clamp(480px,44vw,680px);height:100dvh;border-left:1px solid #cbd4bf;border-radius:22px 0 0 22px;box-shadow:-16px 0 60px #15201324}
  .event-dialog[open]{animation:event-sheet-enter .24s cubic-bezier(.2,.7,.2,1)}
  .event-dialog::backdrop{background:#14201626}
  html[data-theme="dark"] .event-dialog{border-color:var(--plans-dark-border);box-shadow:-16px 0 60px #0004}
  html[data-theme="dark"] .event-dialog::backdrop{background:#070d0a40}
  .event-detail-bar{padding:14px 22px;gap:10px;min-height:74px}
  .event-detail-wordmark{display:none}
  .event-detail-content{padding:30px 30px 48px}
  .event-detail-heading{margin-bottom:26px}
  .event-detail-heading h2{font-size:clamp(30px,2.5vw,40px);line-height:1.14}
  .event-detail-grid,.event-detail-grid.has-media{grid-template-columns:minmax(0,1fr);gap:26px}
  .event-detail-gallery{position:static;width:100%;min-width:0}
  .event-media-stage img,.event-media-stage video{max-height:48dvh}
  .event-detail-facts{gap:18px 24px}
  .event-detail-credits{margin-top:28px}
}
@keyframes event-sheet-enter{from{transform:translateX(36px);opacity:0}to{transform:translateX(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.event-dialog[open]{animation:none}}
