.symposium-programme {
    --sp-ink: #1a2d3d;
    --sp-muted: #596873;
    --sp-line: var(--border-color, #e8ecef);
    --sp-accent: var(--primary-dark, #008a80);
    color: var(--text-dark, #1a1a1a);
}
.symposium-programme [hidden] { display: none !important; }
.sp-header {
    position: relative;
    overflow: hidden;
    padding: 60px 0 50px;
    background: linear-gradient(135deg, #0f1923 0%, #1a2d3d 100%);
    color: #fff;
    text-align: center;
}
.sp-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color, #00a89d), transparent);
}
.sp-header canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sp-header .container { position: relative; }
.sp-header h1 { font-size: 2.2rem; font-weight: 800; letter-spacing: -.5px; margin: 0 0 10px; }
.sp-header p { font-size: 1rem; color: rgba(255,255,255,.74); margin: 0; }
.sp-content {
    padding: 48px 0 60px;
    background: radial-gradient(circle at top left, rgba(0,168,157,.055), transparent 650px), var(--bg-page, #fff);
}
.sp-controls { background: var(--card-bg, #fff); border: 1px solid var(--sp-line); border-radius: 16px; box-shadow: 0 5px 22px rgba(15,25,35,.045); overflow: hidden; }
.sp-tabs { display: flex; gap: 8px; padding: 16px; border-bottom: 1px solid var(--sp-line); }
.symposium-programme button { font-family: inherit; cursor: pointer; }
.sp-tabs button {
    display: flex; align-items: center; justify-content: center; gap: 10px; flex: 1;
    background: #f5f8f8; border: 1px solid transparent; border-radius: 9px;
    padding: 13px 12px; font-size: .85rem; color: var(--sp-muted); min-height: 48px;
}
.sp-tabs button span { font-weight: 750; }
.sp-tabs button[aria-pressed="true"] { background: var(--primary-color, #00a89d); color: #fff; }
.sp-filter-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 16px; }
.sp-segment { display: inline-flex; padding: 4px; background: #f3f6f7; border-radius: 9px; gap: 3px; }
.sp-segment button { border: 1px solid transparent; border-radius: 6px; padding: 8px 12px; background: transparent; color: var(--sp-muted); font-size: .78rem; font-weight: 600; min-height: 36px; }
.sp-segment button[aria-pressed="true"] { background: #fff; color: var(--sp-accent); border-color: var(--sp-line); box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.sp-search { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 250px; border: 1px solid #dce4e7; border-radius: 9px; padding: 0 12px; color: var(--sp-muted); }
.sp-search input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 12px 0; font: inherit; font-size: .8rem; color: var(--sp-ink); outline: none; }
.sp-search:focus-within { outline: 2px solid var(--sp-accent); outline-offset: 2px; }
.sp-status-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 17px 12px; font-size: .77rem; color: var(--sp-muted); }
.sp-status-row p { margin: 0; }
.sp-status-row button { flex-shrink: 0; border: 0; background: transparent; color: var(--sp-accent); text-decoration: underline; padding: 3px 0; font-size: inherit; }
.sp-legend { display: flex; flex-wrap: wrap; gap: 12px 22px; padding: 20px 0 10px; color: var(--sp-muted); font-size: .74rem; }
.sp-legend > span { display: inline-flex; gap: 6px; align-items: center; }
.sp-dot { display: inline-block; width: 7px; height: 7px; background: var(--sp-accent); border-radius: 50%; }
.sp-dot-online { background: #365cad; }
.sp-day-heading { color: var(--sp-ink); font-size: 1.25rem; font-weight: 750; margin: 28px 0 12px; }
.sp-row { display: grid; grid-template-columns: 115px minmax(0, 1fr); gap: 22px; padding: 12px 0; border-bottom: 1px solid var(--sp-line); }
.sp-time { display: flex; align-items: baseline; gap: 6px; color: var(--sp-muted); font-size: .77rem; font-weight: 650; padding-top: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sp-time i { font-size: .7rem; }
.sp-row-content { min-width: 0; }
.sp-event-card { padding: 13px 18px; }
.sp-event-card h3 { font-size: .91rem; line-height: 1.5; margin: 0; font-weight: 550; color: var(--sp-muted); }
.sp-event-featured { background: #eff7f6; border-left: 3px solid var(--primary-color, #00a89d); border-radius: 0 10px 10px 0; }
.sp-event-featured h3 { color: var(--sp-ink); font-weight: 700; }
.sp-event-card p { font-size: .83rem; line-height: 1.65; margin: 5px 0 0; color: var(--sp-muted); }
.sp-block { padding-top: 22px; padding-bottom: 22px; }
.sp-block-heading { margin: 0 0 18px; }
.sp-block-heading h3 { font-size: 1.07rem; line-height: 1.5; color: var(--sp-ink); font-weight: 750; margin: 0 0 5px; }
.sp-block-heading h3 span { display: inline-block; margin-left: 4px; padding: 2px 8px; background: #e6f4f1; border-radius: 5px; color: var(--sp-accent); font-size: .77rem; vertical-align: middle; }
.sp-block-heading p { font-size: .77rem; line-height: 1.65; color: var(--sp-muted); margin: 0; }
.sp-session-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.sp-session { --sp-session-color: #007f76; --sp-session-bg: #effaf7; min-width: 0; background: var(--sp-session-bg); border: 1px solid #c7ddd8; border-top: 3px solid var(--sp-session-color); border-radius: 12px; padding: 17px 17px 0; box-shadow: 0 3px 12px rgba(15,25,35,.035); }
.sp-session[data-session-mode="on"] { --sp-session-color: #365cad; --sp-session-bg: #eef3ff; border-color: #ccd7ed; border-top-color: var(--sp-session-color); }
.sp-session-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px; background: var(--sp-session-color); margin: -17px -17px 0; padding: 13px 17px; border-radius: 9px 9px 0 0; }
.sp-room { color: #fff; font-size: .74rem; font-weight: 750; }
.sp-mode { padding: 3px 7px; border-radius: 5px; background: rgba(255,255,255,.16); color: #fff; font-size: .63rem; font-weight: 650; white-space: nowrap; }
.sp-session h4 { font-size: .95rem; font-weight: 750; color: var(--sp-ink); margin: 13px 0 5px; }
.sp-session-time { font-size: .76rem; font-variant-numeric: tabular-nums; margin: 0 0 12px; color: var(--sp-muted); }
.sp-chair { font-size: .78rem; font-weight: 650; color: var(--sp-ink); margin: 0 0 12px; }
.sp-papers-details .sp-chair { margin: 0; }
.sp-chair-name { font-weight: 400; }
.sp-papers-details summary { display: flex; align-items: center; gap: 8px; padding: 10px 0 13px; color: var(--sp-muted); cursor: pointer; font-size: .74rem; list-style: none; }
.sp-papers-details summary::-webkit-details-marker { display: none; }
.sp-papers-details summary::after { content: '+'; font-weight: 700; font-size: 1rem; }
.sp-papers-details[open] summary::after { content: '−'; }
.sp-details-label { margin-left: auto; }
.sp-papers { list-style: none; margin: 0; padding: 0; }
.sp-papers li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 9px; border-top: 1px solid var(--sp-line); padding: 15px 0; scroll-margin-top: 160px; }
.sp-pending-paper { color: var(--sp-muted); }
.sp-pending-paper .sp-paper-order { opacity: .65; }
.sp-pending-label { display: inline-block; padding: 3px 0; font-size: .78rem; font-style: italic; }
.sp-paper-order { display: flex; justify-content: center; align-items: center; border-radius: 6px; background: #f2f6f6; color: var(--sp-muted); font-size: .67rem; font-weight: 700; width: 23px; height: 25px; }
.sp-papers h5 { color: var(--sp-ink); font-size: .84rem; line-height: 1.6; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.sp-authors { color: var(--sp-muted); font-size: .75rem; line-height: 1.7; margin: 7px 0 0; overflow-wrap: anywhere; }
.sp-presenter { text-decoration: underline; text-underline-offset: 3px; }
.sp-special-title { font-size: .9rem; line-height: 1.65; font-weight: 650; color: var(--sp-ink); margin: 10px 0 18px; }
.sp-vacant { border-top: 1px dashed #cbd6db !important; border-style: dashed; box-shadow: none; background: var(--sp-session-bg); }
.sp-vacant h4 { font-weight: 550; }
.sp-empty-session { font-size: .78rem; color: var(--sp-muted); margin: 12px 0 17px; }
.sp-footnote { border-top: 1px solid var(--sp-line); padding-top: 20px; margin: 30px 0 0; }
.sp-no-results { text-align: center; padding: 65px 20px; color: var(--sp-muted); }
.sp-no-results > i { font-size: 1.6rem; }
.sp-no-results h3 { margin: 15px 0 8px; font-size: 1.2rem; color: var(--sp-ink); }
.sp-no-results p { font-size: .9rem; }
.symposium-programme :is(button, a, summary):focus-visible, .sp-papers li:focus { outline: 2px solid var(--sp-accent); outline-offset: 4px; }
.sp-papers li:target { background: #fff; }
.sp-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 991px) {
    .sp-row { grid-template-columns: 1fr; gap: 8px; }
    .sp-time { padding-top: 0; }
    .sp-search { flex-basis: 100%; }
    .sp-tabs button { flex-direction: column; gap: 3px; }
}
@media (max-width: 575px) {
    .sp-header { padding: 40px 0 35px; }
    .sp-header h1 { font-size: 1.65rem; }
    .sp-header p { font-size: .85rem; }
    .sp-content { padding: 30px 0 40px; }
    .sp-tabs { gap: 5px; padding: 9px; }
    .sp-tabs button { padding: 10px 5px; font-size: .68rem; }
    .sp-filter-row { padding: 12px; gap: 8px; }
    .sp-search { min-width: 0; }
    .sp-status-row { flex-wrap: wrap; }
    .sp-legend { font-size: .68rem; gap: 10px 14px; }
    .sp-session-grid { grid-template-columns: minmax(0, 1fr); }
    .sp-day-heading { font-size: 1.05rem; line-height: 1.5; }
    .sp-event-card { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .sp-header canvas { display: none; } }

.sp-general-timezone, .sp-general-note { color: var(--sp-muted); font-size: .82rem; line-height: 1.7; }
.sp-general-day { margin: 24px 0; border: 1px solid var(--sp-line); border-radius: 12px; overflow: hidden; background: var(--card-bg, #fff); }
.sp-general-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sp-general-table caption { caption-side: top; background: var(--sp-ink); color: #fff; font-size: 1rem; font-weight: 700; padding: 18px 22px; }
.sp-general-table th, .sp-general-table td { padding: 14px 22px; border-bottom: 1px solid var(--sp-line); vertical-align: top; text-align: left; font-size: .85rem; line-height: 1.65; }
.sp-general-table thead th { background: #e9f4f2; color: var(--sp-ink); font-weight: 750; }
.sp-general-table th:first-child { width: 155px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sp-general-table tbody th { color: var(--sp-muted); font-weight: 650; }
.sp-general-table tbody tr:nth-child(even) { background: #f8fafb; }
.sp-general-table tbody .sp-general-parallel { background: #effaf7; }
.sp-general-title { font-weight: 650; color: var(--sp-ink); }
.sp-general-table td p { margin: 4px 0 0; color: var(--sp-muted); font-size: .8rem; overflow-wrap: anywhere; }
.sp-day-link { display: flex; justify-content: space-between; gap: 12px; padding: 16px 22px; color: var(--sp-accent); font-size: .83rem; font-weight: 650; text-decoration: none; }
.sp-day-link:hover { background: #edf7f5; text-decoration: underline; }
@media (max-width: 575px) {
    .sp-general-table caption { padding: 15px 12px; font-size: .87rem; }
    .sp-general-table th, .sp-general-table td { padding: 12px 10px; font-size: .76rem; }
    .sp-general-table th:first-child { width: 99px; font-size: .7rem; }
    .sp-general-table td p { font-size: .74rem; }
    .sp-day-link { padding: 15px 12px; font-size: .78rem; }
}
