/* Agenda starts at the top, including Safari, and keeps each day's programme together. */
body.agenda-page .seven-stage { grid-template-rows: minmax(0, 1fr); scroll-behavior: auto; }
body.is-inner.agenda-page .seven-slide { min-height: 0; align-items: flex-start; }
body.is-inner.agenda-page .seven-content {
    flex: 0 0 auto; padding: 20px 16px;
    background: linear-gradient(135deg, rgba(255,255,255,.42), rgba(226,246,255,.2));
    -webkit-backdrop-filter: blur(8px) saturate(130%); backdrop-filter: blur(8px) saturate(130%);
}
body.agenda-page .agenda-day { margin: 0; }
body.agenda-page .seven-content .agenda-day > h2 {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 14px; margin: 0 0 24px; border: 1px solid #d1aa58; border-radius: 20px;
    font-size: clamp(.98rem, 3.2vw, 1.15rem); line-height: 1.5; color: #745013;
    background: linear-gradient(120deg, #fff2cc, #ead093, #fff5dd);
    box-shadow: inset 0 1px 0 #fff, 0 7px 20px rgba(140,100,27,.12);
}
body.agenda-page .agenda-day > h2 svg { flex: 0 0 auto; width: 22px; height: 22px; stroke: #805a12; }
body.agenda-page .ag-group { color: #805a12; font-size: .74rem; letter-spacing: .04em; background: rgba(255,249,231,.65); border: 1px solid rgba(210,173,88,.5); }
body.agenda-page .ag-item { background: rgba(248,253,255,.48); border: 1px solid rgba(255,255,255,.8); color: #173f58; margin-block: 10px; }
body.agenda-page .ag-time { color: #89601c; font-size: .78rem; font-weight: 700; }
body.agenda-page .ag-title { color: #173f58; font-size: clamp(.86rem, 2.8vw, .96rem); line-height: 1.6; }
body.agenda-page .ag-speaker { color: #31596b; font-size: .78rem; line-height: 1.6; }
body.agenda-page .ag-session {
    margin-top: 26px; padding: 18px 16px; color: #765013;
    background: linear-gradient(125deg, rgba(255,245,217,.94), rgba(235,207,139,.7));
    border: 1px solid #cfaa55; border-inline-start: 4px solid #b78627; box-shadow: inset 0 1px 0 #fff;
}
body.agenda-page .ag-session-title { color: #765013; font-size: .88rem; font-weight: 800; line-height: 1.6; }
body.agenda-page .ag-session-mod { color: #5f522e; font-size: .78rem; margin-top: 8px; }
body.agenda-page .ag-item.ag-featured {
    position: relative; overflow: hidden; border: 1.5px solid #caa24d;
    background: linear-gradient(115deg, rgba(255,245,216,.94), rgba(236,206,132,.72), rgba(255,249,230,.9));
    background-size: 200% 100%; box-shadow: 0 5px 20px rgba(166,119,30,.14), inset 0 1px 0 #fff;
    animation: agendaGoldSheen 9s ease-in-out infinite;
}
body.agenda-page .ag-featured .ag-title { color: #755015; font-weight: 800; }
body.agenda-page .ag-featured .ag-time { color: #755015; }
@keyframes agendaGoldSheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { body.agenda-page .ag-item.ag-featured { animation: none; } }
@media print { body.agenda-page .ag-item.ag-featured { animation: none; } }
