.product-dialog{width:min(540px,calc(100% - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;background:var(--experience-surface,#fff);color:var(--experience-text,#203128);border:1px solid var(--experience-control-line,#70806e);border-radius:8px;padding:24px}
.product-dialog::backdrop{background:rgb(0 0 0/.55)}
.product-dialog-avatar{border-radius:5px}.product-dialog label{display:grid;gap:8px;margin:16px 0;font-size:1rem}.product-dialog :is(input,select,textarea){width:100%;min-width:0;box-sizing:border-box;padding:12px;font:inherit;background:var(--experience-surface,#fff);color:inherit;border:1px solid var(--experience-control-line,#70806e);border-radius:5px}.product-dialog button,.product-dialog a{min-height:44px}.product-dialog button{padding:10px 16px;font:inherit;border:1px solid var(--experience-control-line,#70806e);border-radius:5px;background:var(--experience-raised,#eef1e9);color:inherit;cursor:pointer}.product-dialog a{color:var(--experience-brand,#315b2c)}.product-dialog p{line-height:1.5;overflow-wrap:anywhere}.discovery-feature-options{grid-column:1/-1;min-width:0;border:1px solid var(--experience-control-line);padding:12px}.discovery-feature-options .event-feature-chips{display:flex;flex-wrap:wrap;gap:8px}.discovery-feature-options .event-feature-chip{min-height:44px;white-space:normal}.discovery-feature-options svg{width:18px;height:18px;flex-shrink:0}
.event-preferences-disclosure{margin-block:24px;border-top:1px solid var(--experience-line);padding-top:16px}.event-preferences-disclosure>summary{min-height:44px;display:list-item;cursor:pointer;font-weight:600;padding:10px;box-sizing:border-box}
/* One shared follow split control across cards, organiser pages and Watchlist. */
body .follow-split{display:flex;flex-wrap:wrap;position:relative;align-items:stretch;max-width:100%;gap:0;width:fit-content}
body .follow-split>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:44px;padding:8px 14px;background:var(--experience-surface,#fff);color:var(--experience-text,#203128);border:1px solid var(--experience-control-line,#82917c);border-radius:999px;font:inherit;cursor:pointer}
body .follow-split:has([data-follow-menu])>button:first-child{border-radius:999px 0 0 999px}
body .follow-split>[data-follow-menu]{border-radius:0 999px 999px 0;border-left:0;padding-inline:10px}
body .follow-split>small{flex-basis:100%;font-size:.75rem;margin-top:5px;line-height:1.4}
body .follow-options[hidden]{display:none}
body .follow-options{position:absolute;z-index:180;top:calc(100% + 6px);right:0;width:max-content;max-width:min(280px,calc(100vw - 40px));padding:6px;background:var(--experience-surface,#fff);color:var(--experience-text,#203128);border:1px solid var(--experience-control-line,#82917c);border-radius:12px;box-shadow:0 8px 24px #0003}
body .follow-options button{display:block;width:100%;text-align:left;min-height:44px;border:0;border-radius:6px;background:transparent;color:inherit;padding:10px 12px;font:inherit;white-space:normal;cursor:pointer}
body .follow-options button:hover{background:var(--experience-raised,#eef1e9)}
body .follow-split :focus-visible{outline:3px solid var(--experience-brand,#79ac64);outline-offset:3px}
body .follow-split .follow-bell{flex:none;width:20px;height:20px;margin:0}
body .calendar-occurrence-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:24px;border:1px solid var(--experience-control-line,#82917c);border-radius:14px;background:var(--experience-surface,#fff);color:var(--experience-text,#203128);overflow-y:auto}
body .calendar-occurrence-dialog::backdrop{background:#0008}
body .calendar-occurrence-dialog h2{padding:0;font-size:1.4rem;overflow-wrap:anywhere}
body .calendar-occurrence-dialog label{display:flex;flex-direction:column;gap:8px}
body .calendar-occurrence-dialog :is(input,select){box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:12px;min-height:44px;font:inherit;background:var(--experience-raised,#eef1e9);color:inherit;border:1px solid var(--experience-control-line,#82917c);border-radius:8px}
body .calendar-occurrence-dialog>div{display:flex;flex-wrap:wrap;gap:12px}
body .calendar-occurrence-dialog button{min-height:44px;padding:10px 16px;border-radius:999px;font:inherit;background:var(--experience-brand,#315b2c);color:var(--experience-on-brand,#fff);border:1px solid var(--experience-control-line,#82917c)}
body .calendar-occurrence-dialog :focus-visible{outline:3px solid var(--experience-brand,#79ac64);outline-offset:3px}
/* Calendar choices stay readable and usable on narrow screens in either theme. */
body .calendar-provider-dialog .calendar-provider-options{display:grid;grid-template-columns:1fr;gap:10px;margin-block:16px}
body .calendar-provider-dialog .calendar-provider-options :is(button,a){display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;width:100%;min-height:48px;white-space:normal;text-align:left;padding:12px 16px;font:inherit;text-decoration:none;border:1px solid var(--experience-control-line,#82917c);border-radius:10px;background:var(--experience-raised,#eef1e9);color:var(--experience-text,#203128);cursor:pointer}
body .calendar-provider-dialog .calendar-provider-options :is(button,a):hover{border-color:var(--experience-brand,#315b2c)}
body .calendar-provider-dialog p{overflow-wrap:anywhere;font-size:1rem;line-height:1.45}
body .calendar-provider-dialog button:disabled{opacity:.6;cursor:default}
body .calendar-provider-dialog>[role="status"]:empty{display:none}
body .follow-options.follow-options-portal{position:fixed;inset:auto;right:auto;margin:0;box-sizing:border-box;width:max-content;max-width:calc(100vw - 16px);overflow:auto;z-index:2147483645}
body .follow-options.follow-options-portal :focus-visible{outline:3px solid var(--experience-brand,#79ac64);outline-offset:-3px}
/* Branded green click sparkle stays clipped inside the Follow button. */
body .follow-split>button{position:relative;overflow:hidden;isolation:isolate}
body .follow-sparkle{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none;z-index:0}
body .follow-split>button>span:not(.follow-sparkle),body .follow-split>button>svg{position:relative;z-index:1}
body .follow-sparkle-glow{position:absolute;inset:0;background:#80b96b;opacity:1}
body .follow-sparkle-star{position:absolute;width:10px;height:10px;background:linear-gradient(135deg,#efffdc,#b7e38f,#548b42);clip-path:polygon(50% 0,61% 38%,100% 50%,61% 62%,50% 100%,39% 62%,0 50%,39% 38%);opacity:0}
@media(prefers-reduced-motion:reduce){body .follow-sparkle{display:none}}
html[data-reduced-motion=reduce] .follow-sparkle{display:none}
body .calendar-occurrence-dialog .calendar-session-picker{display:grid;grid-template-columns:1fr;gap:8px;width:100%}
/* The joined Following control must never split at a narrow heading/grid cell. */
body .follow-split{flex-wrap:nowrap;min-width:0}
body .follow-split>button{flex-shrink:0;white-space:nowrap}
body .follow-split>button:first-child{min-width:0;flex-shrink:1}
/* One search control and glyph for every shared-header route. */
body #site-header :is(#discoverySearchOpen,#globalSearchButton){display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid #ffffff55;border-radius:50%;background:transparent;color:#fff;box-shadow:none;line-height:1;cursor:pointer}
body #site-header :is(#discoverySearchOpen,#globalSearchButton) svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
body #site-header :is(#discoverySearchOpen,#globalSearchButton):focus-visible{outline:3px solid #fff;outline-offset:3px}
