.agenda-section {
    --agenda-ink: #172b25;
    --agenda-muted: #65746e;
    --agenda-green: #176b50;
    --agenda-green-dark: #0d4d39;
    --agenda-mint: #e9f5ef;
    --agenda-line: #dce7e1;
    --agenda-paper: #fff;
    --agenda-warm: #f7f5ef;
    position: relative;
    margin: 0 auto;
    padding: clamp(10px, 2vw, 15px) clamp(5px, 2vw, 15px);
    max-width: 1440px;
    color: var(--agenda-ink);
    font-family: inherit;
    isolation: isolate;
}
.agenda-section * {
    box-sizing: border-box;
}
.agenda-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
    gap: 36px;
    align-items: end;
    margin-bottom: 30px;
}
.agenda-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 15px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--agenda-green);
    text-transform: uppercase;
}
.agenda-kicker > span {
    width: 34px;
    height: 2px;
    background: currentColor;
}
.agenda-kicker strong {
    padding: 5px 8px;
    border-radius: 999px;
    background: #fff1c9;
    color: #765a06;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}
.agenda-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4.3vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 750;
}
.agenda-heading h2 em {
    display: inline-block;
    margin-top: 8px;
    color: var(--agenda-green);
    font-family: Georgia, serif;
    font-weight: 400;
}
.agenda-intro {
    max-width: 420px;
    margin: 0 0 7px;
    color: var(--agenda-muted);
    font-size: clamp(1rem, 1.25vw, 1.16rem);
    line-height: 1.75;
}
.agenda-toolbar {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    gap: 14px;
    align-items: center;
    padding: 15px;
    margin-bottom: 18px;
    border: 1px solid var(--agenda-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 40px rgba(24, 62, 48, 0.08);
    backdrop-filter: blur(12px);
}
.agenda-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--agenda-line);
    border-radius: 12px;
    background: #fff;
    color: var(--agenda-muted);
}
.agenda-search:focus-within {
    border-color: var(--agenda-green);
    box-shadow: 0 0 0 4px rgba(23, 107, 80, 0.11);
}
.agenda-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--agenda-ink);
    font: inherit;
}
.agenda-search button {
    border: 0;
    background: transparent;
    color: var(--agenda-muted);
    font-size: 1.3rem;
    cursor: pointer;
}
.agenda-filter {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.agenda-filter button {
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--agenda-muted);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 750;
    cursor: pointer;
    transition: 0.2s ease;
}
.agenda-filter button:hover {
    background: var(--agenda-mint);
    color: var(--agenda-green);
}
.agenda-filter button.is-active {
    background: var(--agenda-green);
    color: #fff;
    box-shadow: 0 7px 16px rgba(23, 107, 80, 0.22);
}
.agenda-filter button[hidden] {
    display: none !important;
}
.agenda-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--agenda-ink);
    color: #fff;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
    transition: 0.2s ease;
}
.agenda-download:hover {
    transform: translateY(-2px);
    background: var(--agenda-green);
}
.agenda-shell {
    overflow: hidden;
    border: 1px solid var(--agenda-line);
    border-radius: 26px;
    background: var(--agenda-paper);
    box-shadow: 0 28px 70px rgba(24, 62, 48, 0.1);
}
.agenda-day-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: var(--agenda-warm);
    border-bottom: 1px solid var(--agenda-line);
}
.agenda-day-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-width: 0;
    padding: 20px;
    border: 0;
    border-right: 1px solid var(--agenda-line);
    background: transparent;
    color: var(--agenda-muted);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: 0.25s ease;
}
.agenda-day-tab:last-child {
    border-right: 0;
}
.agenda-day-tab:after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: var(--agenda-green);
    transform: scaleX(0);
    transition: 0.25s ease;
}
.agenda-day-tab:hover {
    background: #fff;
}
.agenda-day-tab.is-active {
    background: #fff;
    color: var(--agenda-ink);
}
.agenda-day-tab.is-active:after {
    transform: scaleX(1);
}
.agenda-day-index {
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--agenda-green);
}
.agenda-day-tab strong {
    font-size: 1rem;
}
.agenda-day-tab time {
    font-size: 0.78rem;
    color: var(--agenda-muted);
}
.agenda-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 52px;
    padding: 10px clamp(16px, 3vw, 32px);
    border-bottom: 1px solid var(--agenda-line);
    background: #fbfdfc;
    color: var(--agenda-muted);
    font-size: 0.82rem;
}
.agenda-status p {
    margin: 0;
}
.agenda-status button {
    border: 0;
    background: transparent;
    color: var(--agenda-green);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.agenda-days {
    position: relative;
    padding: 12px clamp(14px, 3vw, 34px) 28px;
}
.agenda-day-panel {
    animation: agenda-panel-in 0.38s ease both;
}
.agenda-day-panel[hidden] {
    display: none !important;
}
.agenda-session {
    position: relative;
    display: grid;
    grid-template-columns: 104px 18px minmax(0, 1fr);
    gap: 18px;
    padding: 19px 0;
    border-bottom: 1px solid var(--agenda-line);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
}
.agenda-session:last-child {
    border-bottom: 0;
}
.agenda-session[hidden] {
    display: none !important;
}
.agenda-session:before {
    content: "";
    position: absolute;
    left: 130px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--agenda-line);
}
.agenda-time {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 7px;
    text-align: right;
}
.agenda-time-values time {
    display: block;
    font-size: 0.88rem;
    font-weight: 850;
    color: var(--agenda-ink);
    white-space: nowrap;
}
.agenda-time-values > span {
    display: block;
    margin-top: 3px;
    font-size: 0.72rem;
    color: var(--agenda-muted);
}
.agenda-timeline-dot {
    position: relative;
    z-index: 2;
    width: 13px;
    height: 13px;
    margin-top: 10px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--agenda-green);
    box-shadow:
        0 0 0 2px var(--agenda-green),
        0 0 0 7px var(--agenda-mint);
}
.agenda-session-main {
    min-width: 0;
    padding: 0 4px 0 2px;
}
.agenda-session-labels {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 5px;
    color: var(--agenda-muted);
    font-size: 0.75rem;
}
.agenda-session-labels i {
    margin-right: 4px;
}
.agenda-type {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: #edf3f0;
    color: #496159;
    font-weight: 800;
}
.agenda-type.is-keynote {
    background: #fff0c8;
    color: #755705;
}
.agenda-type.is-scientific {
    background: #dff2ea;
    color: #126147;
}
.agenda-type.is-networking {
    background: #e8ebff;
    color: #3e4b99;
}
.agenda-session-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.agenda-session-meta .agenda-session-labels {
    flex: 1;
}
.agenda-session-chairs strong {
    color: var(--agenda-ink);
}
.agenda-session-number {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 3px;
    margin: 0 !important;
    color: var(--agenda-green) !important;
    line-height: 1;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
}
.agenda-session-number small {
    font-size: 0.52rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.agenda-session-number strong {
    font-size: 0.82rem;
}
.agenda-type.is-poster {
    background: #f1e8ff;
    color: #65409a;
}
.agenda-type.is-programme {
    background: #edf3f0;
    color: #496159;
}
.agenda-session-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 7px 0;
    border: 0;
    background: transparent;
    color: var(--agenda-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.agenda-session-toggle > span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.agenda-session-toggle strong {
    font-size: clamp(1rem, 1.4vw, 1.28rem);
    line-height: 1.3;
}
.agenda-session-toggle small {
    color: var(--agenda-muted);
    font-size: 0.82rem;
}
.agenda-session-toggle > i {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--agenda-line);
    border-radius: 50%;
    color: var(--agenda-green);
    transition: 0.25s ease;
}
.agenda-session-toggle:hover > i {
    background: var(--agenda-green);
    color: #fff;
    transform: rotate(90deg);
}
.agenda-session.is-open .agenda-session-toggle > i {
    background: var(--agenda-green);
    color: #fff;
    transform: rotate(45deg);
}
.agenda-session-static {
    cursor: default;
}
.agenda-session-details {
    margin-top: 11px;
    padding: 15px 18px;
    border-left: 3px solid var(--agenda-green);
    border-radius: 0 12px 12px 0;
    background: var(--agenda-mint);
    animation: agenda-details-in 0.25s ease both;
}
.agenda-session-details p {
    margin: 0;
    color: #40564e;
    line-height: 1.65;
}
.agenda-speaker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 13px;
}
.agenda-speaker-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--agenda-green);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 850;
}
.agenda-speaker div:last-child {
    display: flex;
    flex-direction: column;
}
.agenda-speaker span {
    color: var(--agenda-muted);
    font-size: 0.76rem;
}
.agenda-empty {
    padding: 55px 20px;
    text-align: center;
}
.agenda-empty i {
    font-size: 2rem;
    color: var(--agenda-green);
}
.agenda-empty h3 {
    margin: 12px 0 5px;
}
.agenda-empty p {
    margin: 0 0 17px;
    color: var(--agenda-muted);
}
.agenda-empty button {
    padding: 10px 15px;
    border: 0;
    border-radius: 10px;
    background: var(--agenda-green);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.agenda-session.agenda-enter {
    animation: agenda-session-in 0.38s ease both;
}
@keyframes agenda-panel-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes agenda-details-in {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes agenda-session-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@media (max-width: 1050px) {
    .agenda-toolbar {
        grid-template-columns: 1fr auto;
    }
    .agenda-filter {
        grid-column: 1/-1;
        order: 3;
    }
    .agenda-download {
        grid-column: 2;
    }
    .agenda-heading {
        grid-template-columns: 1fr;
    }
    .agenda-intro {
        max-width: 650px;
    }
    .agenda-day-tab {
        padding: 16px 12px;
    }
}
@media (max-width: 720px) {
    .agenda-section {
        padding-inline: 12px;
    }
    .agenda-toolbar {
        grid-template-columns: 1fr;
    }
    .agenda-download {
        grid-column: 1;
    }
    .agenda-filter {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 3px;
    }
    .agenda-filter button {
        white-space: nowrap;
    }
    .agenda-day-tabs {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    .agenda-day-tab {
        flex: 0 0 145px;
        scroll-snap-align: start;
    }
    .agenda-days {
        padding-inline: 14px;
    }
    .agenda-session {
        grid-template-columns: 96px 12px minmax(0, 1fr);
        gap: 11px;
    }
    .agenda-session:before {
        left: 113px;
    }
    .agenda-time-values time {
        font-size: 0.75rem;
    }
    .agenda-session-labels {
        gap: 7px;
    }
    .agenda-session-toggle > i {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }
    .agenda-status {
        align-items: flex-start;
        gap: 10px;
    }
}
@media (max-width: 480px) {
    .agenda-heading h2 {
        font-size: 2.1rem;
    }
    .agenda-kicker {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .agenda-session {
        grid-template-columns: 1fr;
        padding-left: 17px;
    }
    .agenda-session:before {
        left: 1px;
    }
    .agenda-timeline-dot {
        position: absolute;
        left: -5px;
        top: 20px;
    }
    .agenda-time {
        justify-content: flex-start;
        text-align: left;
        padding: 0;
    }
    .agenda-time-values time,
    .agenda-time-values > span {
        display: inline;
    }
    .agenda-time-values > span:before {
        content: " · ";
    }
    .agenda-session-main {
        padding: 0;
    }
    .agenda-status {
        font-size: 0.75rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .agenda-section * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}

/* Database loading states and dynamic speaker content. */
.agenda-load-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 76px;
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid var(--agenda-line);
    border-radius: 18px;
    background: #fff;
    color: var(--agenda-muted);
    text-align: center;
    box-shadow: 0 14px 40px rgba(24, 62, 48, 0.06);
}
.agenda-load-status[hidden] {
    display: none !important;
}
.agenda-loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--agenda-line);
    border-top-color: var(--agenda-green);
    border-radius: 50%;
    animation: agenda-spin 0.7s linear infinite;
}
.agenda-load-status button {
    padding: 9px 13px;
    border: 0;
    border-radius: 9px;
    background: var(--agenda-green);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.agenda-speaker-photo {
    display: block;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--agenda-mint);
}
.agenda-session-speakers {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 20px;
}
.agenda-speaker-name {
    color: var(--agenda-ink);
    font-weight: 800;
    text-decoration: none;
}
.agenda-speaker-name:hover {
    text-decoration: underline;
}
.agenda-speaker-biography {
    max-width: 760px;
    margin: 7px 0 0 !important;
    color: #40564e !important;
    font-size: 0.82rem;
    line-height: 1.55 !important;
}
.agenda-detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid rgba(23, 107, 80, 0.16);
}
.agenda-session-range {
    color: var(--agenda-green-dark);
    font-size: 0.78rem;
    font-weight: 850;
}
.agenda-session-link {
    color: var(--agenda-green);
    font-size: 0.8rem;
    font-weight: 850;
}
@keyframes agenda-spin {
    to {
        transform: rotate(360deg);
    }
}
@media (prefers-reduced-motion: reduce) {
    .agenda-loading-spinner {
        animation: none;
    }
}
