:root {
    /* Palette. theme.js seeds the text and accent colours from the event's colour scheme and the
     * module configuration overrides them; the defaults reproduce the pre-tokenizing values. */
    /* --op-bg-header is intentionally undefined: the rule that reads it falls back to
     * transparent, so the token only does something once configured */
    --op-bg-page: #f2f2f2;
    --op-bg-card: #fff;
    --op-bg-alt: #e6f7f9;

    --op-text: #404040;
    --op-text-muted: #666666;
    --op-text-faint: #a2a2a2;
    --op-on-accent: #fff;

    --op-border: #e2e2e2;
    --op-border-strong: #c0c0c0;

    --op-accent: #19608a;
    /* the default accent 90% of the way to white; theme.js derives it from the resolved accent
     * (accentLight) as a plain rgb(), which html2canvas can read and color-mix() is not */
    --op-accent-light: #e8eff3;

    /* translucent so the thumb reads on any of the surfaces above */
    --op-scrollbar: rgba(0, 0, 0, .22);
    --op-scrollbar-hover: rgba(0, 0, 0, .38);

    /*
     * The text scale, and everything sized against it.
     *
     * `--op-scale` is a multiplier, written here as a fallback and overridden by the configured
     * step through #dynamicStyles. `--op-scale-viewport` is the breakpoint's own reduction, kept
     * separate so a phone shrinks a configured scale rather than discarding it.
     *
     * The spacing tokens are `rem`-based on purpose, which inverts the usual advice: this
     * stylesheet never sets a font-size on `html`, so `rem` is the reader's own browser setting.
     * Multiplying it by the scale composes the event's choice with the reader's instead of
     * overriding it, and gives a gutter that is the same everywhere regardless of how big the text
     * next to it happens to be. Anything that should instead track its surrounding text is `em`.
     */
    --op-scale: 1;
    --op-scale-viewport: 1;
    --op-space-1: calc(.25rem * var(--op-scale) * var(--op-scale-viewport));
    --op-space-2: calc(.5rem * var(--op-scale) * var(--op-scale-viewport));
    --op-space-3: calc(.75rem * var(--op-scale) * var(--op-scale-viewport));
    --op-space-4: calc(1rem * var(--op-scale) * var(--op-scale-viewport));
    --op-space-5: calc(1.5rem * var(--op-scale) * var(--op-scale-viewport));
    --op-space-6: calc(2rem * var(--op-scale) * var(--op-scale-viewport));

    /*
     * Two glyph widths that other rules reserve room for. They are tokens because three
     * declarations elsewhere were hand-derived from them -- a poster title's right padding, the
     * intervention pill's left padding -- and silently stopped clearing them whenever they moved.
     */
    --op-handle-width: calc(1.5rem * var(--op-scale) * var(--op-scale-viewport));

    /* the two sizes the interface's own glyphs come in */
    --op-icon: calc(1.5rem * var(--op-scale) * var(--op-scale-viewport));
    --op-icon-sm: calc(1.125rem * var(--op-scale) * var(--op-scale-viewport));

    --op-header-gap: var(--op-space-3);
    --op-header-height: calc(2.5rem * var(--op-scale) * var(--op-scale-viewport));

    --form_border_radius: 4px;
    --font-family-regular: Regular;
    --font-family-bold: Bold;
    --font-weight-bold: normal;
}

* {
    -webkit-tap-highlight-color: transparent;
}

@font-face {
    font-family: Regular;
    src: url(fonts/source/SourceSansPro-Regular.ttf);
}
@font-face {
    font-family: Bold;
    src: url(fonts/source/SourceSansPro-SemiBold.ttf);
}
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/raleway/Raleway-Regular.ttf) format('truetype');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/plus-jakarta-sans/PlusJakartaSans-Regular.ttf) format('truetype');
}
@font-face {
    font-family: 'Jakarta';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/plus-jakarta-sans/PlusJakartaSans-Regular.ttf) format('truetype');
}
@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/lexend/Lexend-Regular.ttf) format('truetype');
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(fonts/montserrat/Montserrat[wght].ttf) format('truetype');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/poppins/Poppins-Regular.ttf) format('truetype');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/poppins/Poppins-SemiBold.ttf) format('truetype');
}
@font-face {
    font-family: 'Material Icons Outlined';
    font-style: normal;
    font-display: block;
    src: url(fonts/material-symbols.ttf);
}

/*
 * Icons drawn on an element that already exists, rather than as an <i> of their own.
 *
 * These were PNGs until now, which meant they could neither follow the theme -- a bitmap cannot
 * take `color`, so a dark icon stayed dark on a dark card -- nor stay sharp once text_scale could
 * enlarge the page. A ligature does both.
 */
.filter_search .icon::before,
.filter_languages::before,
.pdf_session_detail_button .icon::before,
#modal .content .close::before,
.card.has-detail .handle::before,
.button::before {
    font-family: 'Material Icons Outlined';
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}

i.mi {
    font-family: 'Material Icons Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 1.5em;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}

/*
 * Scrollbars. Track and corner are transparent so only the thumb draws, and the stepper arrows go
 * -- they are absent on macOS anyway, so leaving them on made the page differ per platform. The
 * thumb is a translucent neutral rather than the accent, so it works over any surface.
 */
/* WebKit and Blink. Styling ::-webkit-scrollbar at all is what removes the stepper arrows. */
::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--op-scrollbar);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--op-scrollbar-hover);
}

/* the stepper arrows at either end */
::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

/*
 * Firefox, which has no ::-webkit-scrollbar. Kept away from Chrome deliberately: setting
 * scrollbar-width or scrollbar-color makes Chrome ignore every ::-webkit-scrollbar rule above,
 * which puts the stepper arrows back.
 */
@supports not selector(::-webkit-scrollbar) {
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--op-scrollbar) transparent;
    }
}

html {
    overflow: hidden;
    /*
     * `none` here used to disable the platform's own text scaling outright. The scale below is
     * built on `rem`, which is the reader's setting, so fighting them is exactly the wrong move.
     */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: Regular;
    /* 1rem is the reader's own default; the two multipliers are the event's step and the breakpoint's */
    font-size: calc(1rem * var(--op-scale) * var(--op-scale-viewport));
    height: 100%;
    width:100%;
    margin: 0;
    overflow: hidden;
    position: fixed; top: 0; left: 0; right:0; bottom: 0;
    
}

a:-webkit-any-link {
    color: var(--op-accent);
}

.wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 10px;
    flex-direction: column;
    display: none;
}

input, select {
    width: 100%;
    /*
     * `font` rather than `font-size`: a form control does not inherit either by default, so the
     * family was coming from the rule at the foot of this file and the size from the UA -- which
     * is why they were the one thing on the page that did not scale.
     */
    font-family: inherit;
    font-size: .8em;
    display: block;
    /* the same box as every other control in the header row, from the one token */
    height: var(--op-header-height);
    box-sizing: border-box;
    outline: none;
    padding: 0 var(--op-space-3);
    border: none;
}
/* ============================ HEADER ============================ */

/*
 * The header's controls, in three layers:
 *
 *   .control          the box -- border, radius, row height. Holds buttons, a <select> or an <input>.
 *   .control_button   what you click. Not `.button`, which this stylesheet already uses for the
 *                     poster and intervention pills and which six events style themselves.
 *   input, select     the other two things a control can hold, each keeping its own rules.
 *
 * The old class names stay in the markup as a compatibility surface for per-event CSS -- a
 * selector matches the element's classes, not ours -- but no rule here uses them.
 */
.control {
    display: flex;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    height: var(--op-header-height);
    border: 1px solid var(--op-border-strong);
    border-radius: var(--form_border_radius);
    overflow: hidden;
}

/*
 * A separator before every button that follows a visible one, which is the same thing as one
 * between them. `:not(.hide)` is what stops a hidden button -- the clear button, until something
 * is filtered -- leaving a stale separator behind.
 */
.control > .control_button:not(.hide) ~ .control_button:not(.hide) {
    border-left: 1px solid var(--op-border-strong);
}

/* hidden by a class, not an inline style, so the sibling rule above can see it */
.control > .control_button.hide {
    display: none;
}

/*
 * What you click inside a control. `flex: 1` because the common case is buttons sharing their
 * control evenly; the two that do not -- the bottom row's and the day bar's -- say so themselves.
 */
.control_button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    box-sizing: border-box;
    min-width: 0;
    padding: 0 var(--op-space-3);
    font-size: .8em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    text-align: center;
    z-index: 10;
}

/* room for the clear icon that sits over the input's trailing edge */
.filter_search input {
    padding-right: calc(var(--op-space-6) + var(--op-space-1));
}

.filter_search .icon {
    content: '';
    position: absolute;
    right: 6px;
    top: 0;
    bottom: 0;
    width: var(--op-icon);
    z-index: 10;
    opacity: .5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter_search .icon::before {
    font-size: 1.5em;
    content: 'search';
}

.filter_languages select {
    line-height: 1.2;
    appearance: none;
}

.filter_languages {
    display: none;
}

.filter_languages.show {
    display: block;
}

#language_switch_button {
    position: fixed;
    right: 32px;
    bottom: 24px;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: var(--op-space-2) var(--op-space-3);
    border: none;
    border-radius: var(--form_border_radius);
    background: var(--op-accent);
    color: var(--op-on-accent);
    font-family: Bold;
    font-size: .78em;
    line-height: 1.2;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
    cursor: pointer;
}

#language_switch_button.show {
    display: inline-flex;
}

body:not(.has_agenda) .login {
    display: none;
}

body.has_login .login .logged_out,
body:not(.has_login) .login .logged_in {
    display: none;
}

.filter_languages::before {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    content: 'expand_more';
}

/* Transparent by default. The container had no rule of its own, so the header colour token had
 * nothing to attach to. */
.header {
    background-color: var(--op-bg-header, transparent);
    display: flex;
    gap: var(--op-header-gap);
}

/*
 * The logo's column, and the rest of the header beside it. The gutter is repeated from
 * .content_left rather than shared -- the two live in different layouts, and a variable would
 * imply a coupling this cannot enforce.
 *
 * As wide as the picture it holds, up to a quarter of the row, so the rest of the header takes
 * whatever a small or narrow logo does not use.
 */
.header>.header_logo {
    flex: 0 1 auto;
    max-width: 25%;
    margin-left: var(--op-space-3);
    margin-right: var(--op-space-1);
    display: flex;
    align-items: center;
}

/*
 * Bounded three ways: the header's height, the column's width, and the image's own size, since
 * max-* only ever shrinks.
 *
 * The height is measured, not a percentage. The header's height comes from its contents, so a
 * percentage has nothing definite to resolve against and a large image would grow the header
 * instead of fitting it. --op-logo-height is the height of the rows beside the logo, written by
 * trackLogoHeight() in main.js; before it runs, one header row.
 */
.header>.header_logo>img {
    display: block;
    max-width: 100%;
    max-height: var(--op-logo-height, var(--op-header-height));
}

/* min-width: 0 -- a flex item's automatic minimum is its content, and the search input would
 * otherwise refuse to shrink and push the logo out of the row. */
.header_main {
    flex: 1;
    min-width: 0;
}

.header_top {
    display: flex;
    gap: var(--op-header-gap);
    height: var(--op-header-height);
}

.header_top>div {
    flex: 1;
}

.header_top>.filter_languages {
    flex: 0 0 3.5em;
}

/* Configurable header buttons. Sized to their content, so adding one does not shrink the search
 * field. */
/*
 * The event's own buttons, in a control of their own. No gap: buttons inside a control are divided
 * by the shared separator rule, so they read as one group the way the view switcher does.
 */
.header_top>.header_links {
    flex: 0 0 auto;
    display: flex;
}

/*
 * Content-sized rather than sharing its control evenly: an equal share truncated "Book your hotel
 * room" to match "Registration" beside it. Each takes the room its label needs.
 */
.header_link {
    flex: 0 0 auto;
    gap: var(--op-space-1);
    padding: 0 var(--op-space-3);
    text-transform: uppercase;
    text-decoration: none;
}

.header_link i.mi {
    font-size: 1.5em;
}

.header_top>.filter_search {
    flex: 3;
}

.header_bottom {
    display: flex;
    margin-top: var(--op-header-gap);
    gap: var(--op-header-gap);
    height: var(--op-header-height);
}

/*
 * Sized to what they hold, not to a fixed share of the row: the view switcher holds two labelled
 * buttons and the PDF holds one, so a quarter was at once too little for the first and too much
 * for the second. Content-sized, every label fits and the day bar takes the slack -- it is the one
 * control here that can use it, since it scrolls and its names shorten when they have to.
 */
.header_bottom .select_type {
    flex: 0 0 auto;
    text-transform: uppercase;
}

/* and the buttons inside them, or the block sizes to content its children then refuse to fill */
.header_bottom .select_type .control_button {
    flex: 0 0 auto;
}

.header_bottom .filter_day {
    flex: 1;
    overflow: hidden;
}

.control_button .text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;    
}

/*
 * Day buttons share the bar when there is room and take their own width when there is not.
 * `flex: 1` distributes free space; the flex default `min-width: auto` floors each button at its
 * content width, so the row overflows and .filter_day scrolls rather than ellipsing a long name.
 */
/*
 * The shorter label each day carries, hidden until fitDayNames() says the bar has run out of room.
 * It measures, because whether it is needed depends on the event's day count and name lengths.
 */
.day_name_short {
    display: none;
}

.filter_day.short_days .day_name {
    display: none;
}

.filter_day.short_days .day_name_short {
    display: inline;
}

.control_button.selected {
    color: var(--op-on-accent);
    background-color: var(--op-accent);
}
.control_button.disabled {
    opacity: 1;
    color: rgba(64,64,64,.5);
    background-color: var(--op-bg-card);
}

/*
 * Where the keyboard is. These are divs given `role="button"` and a tab stop by makeOperable(), so
 * without this the only indicator is the UA's own ring -- which `.control` clips, being
 * overflow: hidden, and which lands dark-on-accent on a selected button.
 *
 * `currentColor` because the button's text colour is already the one that has to read against its
 * own background: white on the accent fill, dark on the card. The negative offset draws the ring
 * inside the border box, which is what keeps the clipping from eating it.
 */
.control_button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
}

/* Inverted while the button is selected: its background is the accent then, so an accent badge
 * on it would be invisible. */
.control_button.filter_toggle.selected.has_filters::after {
    background-color: var(--op-on-accent);
    color: var(--op-accent);
}

/*
 * Always available. In the list it collapses the pinned column to reclaim the width; everywhere
 * else it opens the drawer. A .control_button in a .select_type group, so it inherits the view
 * switcher's borders, sizing and selected state rather than carrying a look of its own.
 */
.header_bottom .select_type.filters_group {
    /* sized to its label, unlike the view switcher's fixed 25% share */
    flex: 0 0 auto;
}

.control_button i.mi {
    font-size: 1.5em;
    margin-right: .2em;
}

/* How many sessions a day still has under the current filter. Only rendered while filtering. */
.control_button .day_count {
    display: none;
}

.control_button.has_count .day_count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 1.75em;
    height: 1.75em;
    padding: 0 .4em;
    margin-left: .4em;
    /* a pill, not a circle: min-width plus padding means it widens for a second digit */
    border-radius: 999px;
    background-color: var(--op-accent);
    color: var(--op-on-accent);
    font-size: .8em;
    line-height: 1;
}

/* inverted on the selected day, whose background is already the accent */
.control_button.selected.has_count .day_count {
    background-color: var(--op-on-accent);
    color: var(--op-accent);
}

/* a day with nothing left reads as unavailable rather than merely empty */
.control_button.has_count.no_matches {
    opacity: .45;
}

/* the global clear, beside the toggle in the same bordered group */
.control_button.filter_clear {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0px var(--op-space-3);
    color: var(--op-text-muted);
}

.control_button.filter_clear:hover {
    color: var(--op-accent);
}

/* same badge, same reasoning: a fixed circle rather than a pill that resizes per digit */
.control_button.filter_toggle.has_filters::after {
    content: attr(data-count);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 1.75em;
    height: 1.75em;
    border-radius: 50%;
    margin-left: .4em;
    background-color: var(--op-accent);
    color: var(--op-on-accent);
    font-size: .8em;
    line-height: 1;
}
/* ============================ VIEW TOGGLE ============================ */

/*
 * The section toggle. Sizing, pointer and ellipsis come from .control_button; what is left here is
 * the group's own share of the row. No font-size: .control_button sets .8em, and setting it again
 * compounded to .64em on this control alone.
 */
.toggle {
    flex: 0 0 25% !important;
    text-transform: uppercase;
}

/* the section toggle's buttons carry a fill; everything else about them is .control_button */
.toggle > div {
    background-color: var(--op-bg-card);
}

.toggle > div.hide {
    display: none;
}

/*
 * The view switcher's and section toggle's icons stand in for their labels below 767px, and only
 * there: measured alongside the words, each label lands back in an ellipsis from 768 up to about
 * 1000, trading the phone's problem for a laptop's. The media query turns them back on.
 */
.toggle > div > i.mi,
#type_list > i.mi,
#type_timeline > i.mi {
    display: none;
}

body:not(.show_toggle) .toggle {
    display: none;
}
/* The two section exports, off unless the event asks for them. */
body:not(.show_pdf_program) #program_pdf,
body:not(.show_pdf_posters) #posters_pdf {
    display: none;
}

body.posters .toggle_posters,
body.activities .toggle_activities,
body.program:not(.activities) .toggle_program {
    color: var(--op-on-accent);
    background-color: var(--op-accent);
}

.icon.searching {
    cursor: pointer;
}

.icon.searching::before {
    font-size: var(--op-icon-sm);
    content: 'close';
}

#filter_day, #filter_day_timeline {
    display: none;
}
body.list #filter_day,
body.timeline #filter_day_timeline {
    display: flex;
}
/* ============================ SCREEN ============================ */

/*
 * What is left of the kiosk mode.
 *
 * It used to be one switch that hid the filter panel, the search, the whole bottom header row and
 * the room name on cards, then restyled the cards and the header on top. Four of those are
 * `show_*` options now and two already had one (`show_hour_separators`,
 * `show_session_card_location`), so nothing here needs to hide anything. The visual treatment went
 * with it: a screen is the ordinary programme, larger through `text_scale` and with less chrome.
 */
#hand {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    bottom: 25%;
    left: 50%;
    width: 15%;
    transform: translateX(-50%);
    animation-name: hand;
    animation-iteration-count: infinite;
    animation-duration: 1s;
    animation-direction: alternate;
    /* was `transform: opacity .5s` -- an invalid transform, so it was dropped and the hint
       appeared without the fade it was written to have */
    transition: opacity .5s;
    z-index: 100;
}

#hand.show {
    opacity: .5;
}

@keyframes hand {
    from {
        transform: translate(-50%, -100%);
    }
    to {
        transform: translate(-50%, 0%);
    }
}

/*
 * Chrome an event has switched off. Only an explicit false adds these classes, so an unconfigured
 * page is untouched.
 */
body.no_filters .content_left,
body.no_filters .filters_group,
body.no_search .filter_search,
body.no_view_switcher .view_switch {
    display: none;
}

/*
 * The day bar by id, because that is what it has to outrank: `body.list #filter_day` turns the
 * right one of the two bars on, and an id beats any number of classes.
 */
body.no_day_bar #filter_day,
body.no_day_bar #filter_day_timeline {
    display: none;
}

/* ============================ PDF AND PRINT ============================ */

.pdf_export .control_button {
    display: flex;
    align-items: center;
    gap: .3em;
    white-space: nowrap;
}
.session_timeline .pdf_session_detail_button {
    display: none;
}
.pdf_session_detail_button {
    font-size: .9em;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    padding: 15px;
    z-index: 11;
}
.pdf_session_detail_button .icon {
    content: '';
    position: relative;
    right: -2px;
    top: 0;
    bottom: 0;
    width: var(--op-icon);
    height: var(--op-icon);
    z-index: 10;
    opacity: .6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf_session_detail_button .icon::before {
    font-size: var(--op-icon);
    content: 'picture_as_pdf';
}
/* ============================ SPEAKERS AND MODAL ============================ */

.modal_session .pdf_session_detail_button {
    padding: var(--op-space-1) 0 0 0;
    position: relative;
    display: flex;
    justify-content: end;
}

#modal .card.has-detail .card-info {
    cursor: initial;
}

#modal {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255,255,255,.5);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal.show {
    opacity: 1;
    pointer-events: all;

}

#modal .content {
    position: relative;
    background-color: var(--op-bg-card);
    box-shadow: 0 0 5px rgba(0,0,0,.5);
    border-radius: 4px;
    text-align: center;
    max-width: 75%;
    max-height: 75%;
    overflow-y: auto;
    flex: 0 0 auto;
    margin: 0;
    min-width: 300px;
}

#modal .content .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: var(--op-space-5);
    cursor: pointer;
    text-align: center;
    line-height: 0;
}

#modal .content .close::before {
    font-size: var(--op-icon-sm);
    content: 'close';
}

#modal .content .info {
    overflow-y: auto;
    width: 100%;
    padding: var(--op-space-6);
}

.speaker_container {
    text-align: left;
}

.speaker_container .speaker_info {
    display: flex;
    align-items: center;
}
.speaker_container .speaker_details {
    margin-left: var(--op-space-3);
}
.speaker_container .speaker_photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--op-border-strong);
}

.speaker_container .speaker_name {
    font-family: Bold;
    font-weight: 1.2em;
}

.speaker_container .speaker_subtitle {
    margin-top: var(--op-space-1);
}

.speaker_container .speaker_description {
    margin-top: var(--op-space-5);
}

.info.group_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    grid-gap: 10px;
}

#modal .session_interventions {
    padding-right: 0;
}
.pdf_session_detail_button i {
    color: var(--op-text-muted);
}
/*
 * The export renders at scale 1 whatever the view is set to. src/pdf.js sizes the canvas as
 * CANVAS_LIMIT / content height and refuses anything that comes out below 1:1, so a scaled
 * programme would fail to export with a toast and no file -- a silent, confusing failure for a
 * setting that has nothing to do with printing.
 */
.pdf-content {
    --op-scale: 1;
    --op-scale-viewport: 1;
}

.pdf-content .pdf_session_detail_button,
.pdf-content .buttons,
.pdf-content .card-controls {
    display: none !important;
}
.pdf-content .session_card_speaker{
    font-size: 1em !important;
    color: black !important;
}
.pdf-content .session_intervention {
    break-inside: avoid !important;
}

body:not(.show_pdf_session_detail) .pdf_session_detail_button {
    display: none;
}
.session:not(.has-detail) .pdf_session_detail_button {
    display:none;
}
/* ============================ FILTER PANEL ============================ */

/* The foot of the filter column; `margin-top: auto` pushes it to the bottom of the flex column. */
.content_left .footer_text {                                                                                                                                                                                                                     
    margin-top: auto;
    padding: var(--op-space-4) 0 var(--op-space-2);
    text-align: center;
    font-size: .75em;
    color: var(--op-text-muted);
}

.content_left {
    flex: 0 0 auto;
    min-width: max(15%, 200px) !important;
    max-width: 25%;
    padding-right: var(--op-space-1) !important;
    margin-right: var(--op-space-3);
    overflow-y: auto;
    margin-top: var(--op-space-3);
                                                                     
    padding: 0 var(--op-space-1) var(--op-space-5) var(--op-space-3);
        /* A column, so the footer's margin-top:auto can push it to the bottom. */
    display: flex;
    flex-direction: column;
}

.content_left {
    font-size: .8em;
    line-height: 1.6;
}

.content_left .title {
    text-transform: uppercase;
    color: var(--op-accent);
    margin-top: var(--op-space-4);
    font-family: Bold;
}

/*
 * The filter panel, rendered from the filter dimensions -- so these rules describe a generic entry
 * rather than rooms / types / exhibitors. Each group is a titled card and each option a checkbox,
 * which is what says "you may pick several" before anything has been picked.
 */
.filter_group {
    border-radius: var(--form_border_radius);
    overflow: hidden;
    margin-bottom: var(--op-space-3);
    background-color: var(--op-bg-card);
    border: 1px solid var(--op-border);
}

.filter_group .title {
    display: flex;
    align-items: center;
    background-color: var(--op-accent-light);
    color: var(--op-text);
    text-transform: none;
    font-family: Bold;
    padding: var(--op-space-2) var(--op-space-3);
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.filter_group_name {
    flex: 1;
    min-width: 0;
}

/*
 * How many options are chosen here, so a collapsed group still shows it is filtering. A fixed
 * square with a 50% radius rather than padding: padding grew the badge with the number, so a group
 * at 1 and a group at 12 drew different shapes down the column.
 */
.filter_group_count {
    display: none;
}

.filter_group.has_selection .filter_group_count {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 1.75em;
    height: 1.75em;
    border-radius: 50%;
    margin-right: var(--op-space-2);
    background-color: var(--op-accent);
    color: var(--op-on-accent);
    font-size: .8em;
    line-height: 1;
}

.filter_group_chevron {
    flex-shrink: 0;
    font-size: 1.4em;
    color: var(--op-text-muted);
    transition: transform .15s ease;
}

.filter_group.collapsed .filter_group_chevron {
    transform: rotate(-90deg);
}

.filter_group.collapsed .filter_list {
    display: none;
}

.filter_list {
    color: var(--op-text);
    padding: var(--op-space-1) 0;
}

.filter_entry {
    display: none;
    align-items: flex-start;
    cursor: pointer;
    padding: var(--op-space-2) var(--op-space-3);
    line-height: 1.35;
}

/* `show` means the option is still reachable given the other filters */
.filter_entry.show {
    display: flex;
}

.filter_entry:hover {
    background-color: var(--op-accent-light);
}

/* the box itself, drawn rather than an <input> so it inherits the palette */
.filter_check {
    flex-shrink: 0;
    width: 1.1em;
    height: 1.1em;
    margin-right: var(--op-space-2);
    margin-top: .15em;
    border: 1px solid var(--op-border-strong);
    border-radius: 2px;
    background-color: var(--op-bg-card);
    position: relative;
}

/*
 * Selected, but matching nothing under the other filters. Kept in the list so it can be switched
 * off -- hiding it would leave a filter counted in the group's badge with no way to reach it.
 */
.filter_entry.unreachable .filter_label {
    opacity: .5;
    text-decoration: line-through;
}

.filter_entry.selected .filter_check {
    background-color: var(--op-accent);
    border-color: var(--op-accent);
}

.filter_entry.selected .filter_check::after {
    content: '';
    position: absolute;
    left: .31em;
    top: 0px;
    width: .31em;
    height: .7em;
    border: solid var(--op-on-accent);
    border-width: 0 .16em .16em 0;
    transform: rotate(45deg);
}

/* the label wraps rather than truncating: a session type's name is often long and an
   ellipsis in a filter list hides the very thing being chosen */
.filter_entry .filter_label {
    flex: 1;
    min-width: 0;
}

.filter_entry i.mi {
    font-size: 1.25em;
    margin-right: .3em;
    flex-shrink: 0;
    color: var(--op-text-muted);
}

/* Drawer mode, applied by filterpanel.js wherever the panel cannot be a column: the timeline at
 * any width, and any view on a narrow screen. */
/* the toggle collapsing the pinned column, so the programme gets the width back */
.content_left.collapsed:not(.drawer) {
    display: none;
}

.content_left.drawer {
    display: block;
    position: fixed;
    /*
     * Above the day separators, which are sticky at z-index 100 and painted over an open drawer.
     * Below #modal at 200, so a session detail still covers the drawer rather than opening behind.
     */
    z-index: 160;
    top: 0;
    bottom: 0;
    left: 0;
    width: 80%;
    max-width: 320px;
    background-color: var(--op-bg-card);
    box-shadow: 0 0 20px rgba(0, 0, 0, .3);
                                                                                                                                                                                
    padding: var(--op-space-4) !important;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .25s ease;
}

/* it is an icon that closes the drawer, so it should say so under the pointer */
.content_left.drawer .filter_panel_header i.mi {
    cursor: pointer;
}

.content_left.drawer.open {
    transform: translateX(0);
}

/* the drawer's own title and close button, meaningless on a pinned column */
.filter_panel_header {
    display: none;
}

.content_left.drawer .filter_panel_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    font-family: Bold;
    color: var(--op-accent);
    margin-bottom: var(--op-space-3);
}

/* the per-group clear, in the group header beside its count */
.filter_group_clear {
    display: none;
    flex-shrink: 0;
    font-size: 1.7em !important;
    margin-right: var(--op-space-2);
    color: var(--op-text-muted);
    cursor: pointer;
}

.filter_group_clear:hover {
    color: var(--op-accent);
}

.filter_swatch {
    flex-shrink: 0;
    margin-right: var(--op-space-2);
    margin-top: .35em;
    border-radius: 50%;
    height: .78em;
    width: .78em;
}
.disabled {
    opacity: .5;
    pointer-events: none;
}

.content {
    display: flex;
    flex: 1;
    min-height: 0;
    margin-top: var(--op-space-3);
}

.content>div {
    min-width: 0;
}

.content_right {
    position: relative;
    height: 100%;
    flex: 1;
}

#session_list, #poster_list {
    position: relative;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    padding: 0 var(--op-space-1);
    -webkit-overflow-scrolling: touch;
}
/* ============================ SESSION LIST ============================ */

/* only the session list; the poster list sits directly under its own header */
#session_list {
    margin-top: var(--op-space-3);
    /* after the shared #session_list, #poster_list width above, which it has to outrank */
    width: calc(100% - 10px);
}
/* a day or session the filter pass has ruled out; the day collapses rather than disappearing */
.session.hide, .time.hide {
    display: none;
}

.day.hide {
    height: 0;
    overflow: hidden;
}

/*
 * The card's colour stripe. --card-color is set per card from whichever source the event chose --
 * session type, location, or none -- so this one rule serves all of them.
 */
.session.has_type_color {
    /*
     * The width is a variable so the stripe can be switched off without dropping has_type_color or
     * --card-color: per-congress CSS targets the class.
     */
    border-left: var(--card-border-width, 8px) solid var(--card-color, transparent);
}
/*
 * The card, and the four pieces of text events most often resize or recolour. Each reads a custom
 * property with the previous value as its fallback, so an event that configures nothing renders as
 * before. A value may itself be a variable: --card-background set to var(--card-color) paints
 * every card in its own type or location colour.
 */
.session {
    background-color: var(--card-background, var(--op-bg-card));
}

.session .session_card_speaker {
    font-size: calc(1em * var(--card-speaker-scale, 1));
}

/* the session type's name, when an event chooses to show it on the card */
.session .session_card_type {
    font-size: .75em;
    text-transform: uppercase;
    color: var(--card-text-color, var(--op-text-muted));
    margin-top: var(--op-space-1);
}

/*
 * Custom fields, wherever they are placed: both slots render the same markup and read the same.
 * The wrapper carries the spacing, because only it knows which slot it is in.
 */
.session .session_card_fields,
.session .session_fields {
    margin-top: var(--op-space-1);
    font-size: .75em;
}

.session .custom_field {
    display: flex;
    gap: var(--op-space-1);
    line-height: 1.4;
}

.session .custom_field_label {
    color: var(--op-text-muted);
    white-space: nowrap;
}

.session .custom_field_value {
    color: var(--card-text-color, var(--op-text));
}

.session .card-top {
    display: flex;
}

.card .card-info {
    position: relative;
    flex: 1;
    display: grid;
    gap: var(--op-space-1);
    place-content: baseline;
}

.card.has-detail .card-info {
    cursor: pointer;
}

/*
 * Holds the favourite star (has_agenda only) and the detail handle (only when there is a detail),
 * so on an event with neither it is an empty box still reserving its 20px. :empty is exact -- the
 * markup has no whitespace inside when both are absent.
 */
.session .card-controls:empty {
    display: none;
}

.session .card-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    width: 15px;
    margin-left: var(--op-space-1);
}

.info .session .card-controls {
    display: none;
}

.has_agenda.has_login .session .card-controls {
    justify-content: end;
}

.card.has-detail .handle {
    width: var(--op-handle-width);
    height: var(--op-handle-width);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s linear;
    transform-origin: center;
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.card.has-detail .handle::before {
    font-size: var(--op-handle-width);
    content: 'expand_more';
}

.card.has-detail.open .handle {
    transform: rotateZ(180deg);
}

.session i.session_favorite {
    margin-bottom: auto;
    font-size: 1.6em;
    color: var(--op-text-faint);
    cursor: pointer;
}

.session.favorite i.session_favorite {
    color: #e9d700;
}

.card .card-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: var(--op-space-1);
}

.session .session_title {
    /*
     * On this rule rather than with the other card overrides above: there are two
     * `.session .session_title` rules and the later one wins, so declaring it earlier did nothing.
     */
    color: var(--card-title-color, var(--op-accent));
    font-size: calc(1em * var(--card-title-scale, 1));
    font-family: Bold;
}

.session .session_footer {
    margin: calc(-1 * var(--op-space-1)) 0px var(--op-space-1) 0px;
    font-size: 0.8em;
}

.session_speakers {
    line-height: 1 !important;
    display: flex;
    flex-wrap: wrap;
    gap: .5em;
    font-size: .75em;
}

.session .session_start_time {
    color: var(--card-text-color, var(--op-text-muted));
    font-size: calc(.8em * var(--card-time-scale, 1));
    /* three inline spans -- start, separator, end -- which would otherwise break mid-range */
    white-space: nowrap;
}
.session .session_start_time .start_time_separator {
    margin: 0 var(--op-space-1);
}
.session .intervention_start_time {
    
    color: var(--op-text-muted);
    font-size: .7em;
}
.session .intervention_start_time .start_time_separator {
    margin: 0 var(--op-space-1);
}

.session .session_location {
    font-size: calc(.7em * var(--card-location-scale, 1));
    /* the override belongs in the declaration that wins, not before it */
    color: var(--card-text-color, var(--op-text));
    font-family: Bold;
    text-transform: uppercase;
    margin-top: var(--op-space-1);
}

.card .card-detail {
    height: 0;
    overflow: hidden;
    transition: height .15s ease;
    margin-right: var(--op-space-4);
}

/*
 * On the content, not on .card-detail itself, which is the box that collapses to `height: 0`.
 * Padding on a zero-height box still renders, so this used to leave the panel 12px tall with the
 * first line of the description showing through the bottom of every closed card. Inside the
 * clipped box it contributes to the open height -- which expandable() measures as scrollHeight --
 * and nothing when shut.
 */
#session_list .card .card-detail-content {
    padding-bottom: var(--op-space-3);
}

.card .card-detail:before {
    content: '';
    display: block;
    height: 10px;
}

.session .session_description {
    font-size: .9em;
}

.session_speaker_type {
    display: block;
    font-size: .75em;
    color: var(--op-text);
    text-transform: uppercase;
    line-height: 1;
    margin-top: var(--op-space-1);
    flex: 0 0 100%;
}

.session_card_speaker {
    border: 1px solid var(--op-border-strong);
    padding: var(--op-space-1) var(--op-space-2);
    border-radius: 4px;
    /*
     * The overrides replace these declarations rather than sitting above them: the colour carries
     * !important, so a later rule would have to repeat it to win.
     */
    color: var(--card-speaker-color, var(--op-text)) !important;
    background-color: var(--card-speaker-background, var(--op-accent-light));
    white-space: nowrap;
}

.session_card_speaker:hover {
    color: var(--op-text);
    cursor: pointer;
}

.session_intervention {
    display: flex;
    align-items: center;
    margin-top: var(--op-space-4);
    padding: var(--op-space-4);
    border: 1px solid var(--op-border);
    border-radius: var(--form_border_radius);
    background-color: var(--op-bg-alt);
}
.session_intervention .intervention_info {
    display: flex;
    flex-direction: column;
    gap: var(--op-space-1);
}

.session_intervention .intervention_image {
    width: 50px;
    flex-shrink: 0;
    padding-bottom: 50px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: var(--op-space-3);
    display: none;
}

.session_intervention .intervention_image.round {
    border-radius: 50%;
}

.session_intervention .intervention_header {
    font-size: .8em;
    line-height: 1;
}

.session_intervention .intervention_title {
    color: var(--op-accent);
    font-size: .8em;
    line-height: 1;
    font-family: Bold;
}

.session_intervention.poster{
    margin-right: var(--op-space-3);
}

.session_intervention .intervention_subtitle {
    font-size: .75em;
    line-height: 1;
}

.session_intervention .intervention_speakers {
    font-size: .7em;
    color: var(--op-text-faint);
    display: flex;
    flex-flow: row wrap;
    gap: var(--op-space-1);
    align-items: center;
    /* this block declared line-height three times; 1 is the one that was winning */
    line-height: 1;
    margin-top: var(--op-space-1);
}

.hour {
    font-size: .9em;
    font-family: Bold;
    margin-bottom: var(--op-space-3);
    position: relative;
}

/* switched off by show_hour_separators; display:none takes the 10px margin with it */
body.no_hour_separators .hour {
    display: none;
}

.hour::before {
    content: '';
    position: absolute;
    right: 0;
    top: 54%;
    border-bottom: 1px solid var(--op-border-strong);
    left: 41px;
}

.session_intervention .buttons {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-left: var(--op-space-5);
}

.session_intervention.poster .button::before {
    content: 'image';
}

.button {
    flex: 0 0 12ch;
    background-color: var(--op-accent);
    padding: var(--op-space-1) var(--op-space-3);
    border-radius: 3px;
    color: var(--op-on-accent);
    font-size: .6em;
    cursor: pointer;
    min-height: 20px;
    display: flex;
    align-items: center;
    gap: var(--op-space-2);
}

/*
 * Sized in rem rather than em, unlike the glyphs above. One event sets `font-size: 0` on this
 * button to blank its label and draw its own through a sibling pseudo -- which a background image
 * survived and an em-sized glyph would not.
 */
.button::before {
    font-size: var(--op-icon);
    content: 'description';
}

.search_result {
    background-color: var(--op-accent);
    color: var(--op-on-accent);
    border-radius: 2px;
    padding: 0 var(--op-space-1);
    font-weight: normal;
}

.session.in_timeline {
    margin-bottom: 0;
    background-color: var(--op-bg-card);
    margin: 5px;
    margin-left: 6px;
    margin-right: 5px;
    width: 100%;
    padding: 0px;
    overflow: hidden;
}

/*
 * A card filtered out of the timeline. Invisible rather than removed: a card's position comes from
 * the widths and margins of the cards before it in its lane, so display:none would pull everything
 * after it off its hour. `timeline_dim_filtered` leaves them faintly visible instead.
 */
.session.in_timeline.hidden {
    visibility: hidden;
}

/*
 * A narrower gutter on the right; the left one holds the text off the session-type stripe.
 *
 * Margin, not padding. Padding cannot compress: a 30-minute session at this zoom is a 7px card, so
 * 12px of padding made .card-top wider than the card holding it and it spilled over its neighbour.
 * Margin also keeps clientWidth meaning "the width the title has", which the hover expansion in
 * timeline.js reads in five places, including the bisection it steps with.
 */
.session.in_timeline .card-top {
    margin: 8px 4px 8px 8px;
}
.session.in_timeline .handle {
    display: none;
}
.session.in_timeline .session_start_time {
    font-size: .9em;
}
.session.in_timeline .session_title {
    max-height: 72px;
    overflow: hidden;
    margin-bottom: 0;
}

.session.in_timeline .session_speakers {
    display: none;
}
.session.in_timeline .session_location {
    display: none;
}
.session.in_timeline .card-image {
    display: none;
}
/*
 * Custom fields chosen for the card face, on the list card only: a lane card is sized by its hour,
 * often 50px wide with its title already clamped and faded, so a label-and-value pair has nowhere
 * to go. Not in the modal -- timeline.js moves the block into the detail, and the class is on the
 * modal too, so the exclusion has to be explicit.
 */
.session.in_timeline:not(.modal_session) .session_card_fields {
    display: none;
}

.session.modal_session {
    border: none;
    padding: 0;
    margin: 0;
    text-align: left;
    box-shadow: none;
}

.session.modal_session .card-detail {
    height: auto;
}

.session.modal_session .handle {
    display: none;
}

/*
 * Activities used to be a mode with its own cut-down chrome, written against the hand-built sidebar
 * the rendered filter panel replaced. The panel decides this on its own now: a group is shown only
 * while some option in it is still reachable.
 */

.session_location_exhibitor {
    display: flex;
    align-items: center;
    gap: var(--op-space-1);
    margin-top: var(--op-space-1);
}

.session_location_exhibitor .session_exhibitor {
    color: var(--op-accent);
    font-weight: bold;
    font-size: .8em;
}

.session_location_exhibitor .session_exhibitor,
.session_location_exhibitor .separator {
    display: none;
}

body.activities .session_location_exhibitor .session_exhibitor,
body.activities .session_location_exhibitor .separator {
    display: block;
}

#session_list, .session_timeline {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
    pointer-events: none;
}

body.list #session_list,
body.timeline .session_timeline {
    opacity: 1;
    pointer-events: all;
}

.day_title, .poster_type_title{
    font-size: 1.5em;
    color: var(--op-accent);
    font-family: Bold;
    display: flex;
    align-items: center;
    margin-bottom: var(--op-space-3);
    background-color: var(--op-bg-card);
    z-index: 100;
    margin-left: calc(-1 * var(--op-space-1));
    margin-right: calc(-1 * var(--op-space-1));
    padding: 0 var(--op-space-1);
    position: sticky;
    top: 0;
}

.day_title::after, .poster_type_title::after{
    content: '';
    margin-left: var(--op-space-1);
    border-bottom: 2px solid var(--op-accent);
    flex:1;
}

.session, .poster {
    position: relative;
    padding: var(--op-space-4);
    padding-left: var(--op-space-4);
    border-radius: 4px;
    box-shadow: 0px 0px 5px rgba(0,0,0,.3);
    margin-bottom: var(--op-space-4);
}

/*
 * A choose_many separates its values with a bullet. On the separator between two spans rather than
 * after each value, so the first carries none. Drawn rather than written into the text, so it stays
 * out of the search haystack and cannot be copied as part of a value.
 */
.custom_field_option + .custom_field_option::before {
    content: '\2022';
    color: var(--op-text);
    margin: 0 .45em;
}
/* ============================ TIMELINE ============================ */

.timeline_session .session-info {
    will-change: transform;
    flex: 1;
}

.timeline_session .session i.session_favorite {
    font-size: 1.4em;
}

.timeline_session .session_header, .timeline_session .session_footer {
    display: none;
}

body.timeline .timeline_session .session .session_start_time .start_time_separator,
body.timeline .timeline_session .session .session_start_time .end_time {
    display: none;
}

/* opacity and pointer-events come from the #session_list, .session_timeline rule above */
.session_timeline {
    height: 100%;
    font-size: 14px;
    overflow: hidden;
}

#session_timeline {
    display: flex;
    height: 100%;
    transform: translateX(0);
    
}

body.list #session_timeline  {
    transition: none;
}

.day_timeline {
    height: 100%;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.day_timeline .day_timeline_content {
    transform-origin: 150% 150%;
    width: auto !important;
    position: relative;
    padding-top: 30px;
    margin-top: -30px;
}

.day_timeline .day_timeline_container {
    position: relative;
    height: calc(100% - 40px);

    user-select: none;
    -webkit-user-select: none;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/*
 * A session occupying the whole venue -- a lunch or coffee break, a plenary -- drawn as a band
 * across every lane instead of a card in one arbitrary room. Behind the cards at z-index 1, like
 * the guideline track. Which locations these are is configured per event.
 */
.day_timeline .timeline_full_width {
    position: absolute;
    top: 0;
    bottom: 0;
    /*
     * Above the lanes, not behind them: a venue-wide break legitimately covers the rooms, and
     * behind .timeline_room (z-index 5) its name was hidden by the very lanes it spans.
     */
    z-index: 6;
    pointer-events: none;
    border-left: 1px solid var(--full-width-color, var(--op-border-strong));
    border-right: 1px solid var(--full-width-color, var(--op-border-strong));
    box-sizing: border-box;
}

/* The tint is a pseudo-element rather than opacity on the band itself: opacity applies to the
 * whole subtree, so fading the band took its label with it. */
.day_timeline .timeline_full_width::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: var(--full-width-color, var(--op-text-muted));
    opacity: .12;
}

/* Sticky, so the name stays with the band while the lanes scroll past it. */
.day_timeline .timeline_full_width_label {
    position: sticky;
    /*
     * Clears the hour ruler: .day_timeline_content starts 30px above its first lane, so a label
     * pinned at 0 renders underneath it.
     */
    top: 32px;
    padding: 3px 6px;
    font-size: .7em;
    text-transform: uppercase;
    color: var(--op-text);
    background-color: var(--op-bg-card);
    border-bottom: 1px solid var(--full-width-color, var(--op-border-strong));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*
 * The hovered card's hour slot: one element spanning it, with the two dashed guidelines as its own
 * left and right borders. Being a box rather than a pair of lines, --guideline-bg can tint the
 * whole slot as well as bracket it.
 *
 * It hangs off .day_timeline_content, not .day_timeline_container: an absolutely positioned child
 * of a scroller resolves top/bottom against its *visible* box while still scrolling with the
 * content, so the guidelines used to be one screenful tall and absent below the fold. z-index 1
 * keeps it behind the lanes, which are translucent enough for it to read through.
 */
.day_timeline .timeline_guideline {
    position: absolute;
    top: 0;
    bottom: 0;
    /* the fallbacks matter: the two properties are only set once a card has been hovered */
    left: var(--guideline-left, 0px);
    width: calc(var(--guideline-right, 0px) - var(--guideline-left, 0px));
    box-sizing: border-box;
    border-left: 1px dashed var(--op-border-strong);
    border-right: 1px dashed var(--op-border-strong);
    background-color: var(--guideline-bg, transparent);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
}

.day_timeline.has_guidelines .timeline_guideline {
    opacity: 1;
}

.timeline_room {
    width: 100%;
    display: flex;
    margin: 0px 0px;
    padding: 5px 0;
    padding-top: 20px;
    position: relative;
    z-index: 5;
}

/*
 * Every second lane is shaded, driven by a class from refreshLanes() rather than :nth-child: a
 * hidden lane still counts as a child, so a filter would leave two shaded lanes adjacent.
 */
.timeline_room.alt {
    background-color: rgba(100,100,100,.1);
}

.timeline_session {
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    position: relative;
    transition: transform .2s, opacity .2s;
    cursor: pointer;
}

.timeline_session.group {
    cursor: pointer;
}

.timeline_session.group .session {
    cursor: pointer;
    margin: 5px;
    margin-left: 6px;
    width: 100%;
}

.timeline_session.hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(0) !important;
}

.hour_line {
    position: absolute;
    top:0;
    bottom: -0;
    width:1px;
    background-color: var(--op-border);
    z-index: -1;
}

.day_timeline_nav {
    overflow: hidden;
    
    flex: 0 0 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 0;
    background: linear-gradient(180deg, var(--op-bg-alt) 50%, transparent);
}

.day_timeline_nav::before {
        
        position: absolute;
        left: 0;
        right:0;
        top: 0;
        bottom: 0;
        z-index: 10;
        box-shadow: 0 0 5px rgba(0,0,0,.3) inset;
        pointer-events: none;
    }

.day_timeline_hours {
    position: relative;
    height: 60%;
    will-change: transform;
    width: auto !important;
    transform: none !important;
}
.day_timeline_hours::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 22%;
    height: 2px;
    background-color: var(--op-accent);
}

.day_timeline_hours .hour_line{
    width: 2px;
    background-color: var(--op-accent);
}

.day_timeline_hours .hour_line.half{
    top: 22%;
    bottom: 20%;
    transform: translateX(-50%);
}

.day_timeline_hours .hour_line:first-child {
    transform: translateX(0);
}
.day_timeline_hours .hour_line:last-child {
    transform: translateX(-100%);
}
.day_timeline_hours .hour_text {
    color: var(--op-text);
    font-size: 1em;
    font-family: Bold;
    position: absolute;
    top: 25%;
    margin-left: 4px;
}

.timeline_room_name {
    position: absolute;
    top: 0;
    font-size: .93em;
    font-family: Bold;
    color: var(--op-text-muted);
    padding: 4px 8px;
    will-change: transform;
}

/*
 * Two fades on a timeline card, drawn on different elements because they mean different things.
 *
 * `narrow`: the title is longer than the session's own duration allows, so it is the *content*
 * that fades -- on .card-top, leaving the background, type stripe, border and shadow intact all
 * the way to the card's real right edge. `open_ended`: the session has no end time and nothing to
 * deduce one from, so the width is a guess and the *whole card* fades, edge and shadow with it.
 *
 * Masks, not the overlays these replace: an overlay's gradient runs to an opaque colour, so it has
 * to be told what is behind it -- one rule per stripe, and another for every stripe added.
 *
 * Both stop at `.extended`: a card expanded under the pointer shows its title in full, and it
 * grows past its container, which a mask on the container would go on fading after it had left.
 */
/*
 * The transparent stop sits past the element, at 130%, so the gradient is only about a third of the
 * way down its alpha where it runs off the right edge. Ending at 100% -- fully transparent exactly
 * where .card-top ends, 4px short of the card -- made the tail of a clipped title disappear and
 * left a blank strip of card beside it. A fade should say "there is more", not delete it.
 */
.timeline_session:not(.open_ended) .session.narrow:not(.extended) .card-top {
    -webkit-mask-image: linear-gradient(to right, #000 50%, transparent 130%);
    mask-image: linear-gradient(to right, #000 50%, transparent 130%);
}

/*
 * On `.timeline_session` rather than on the card, which is why timeline.js mirrors `extended` onto
 * it: a mask clips at the border box and a card's box-shadow is painted outside its own, so masking
 * the card erased the shadow. The container's margins are the 5px the blur needs.
 */
.timeline_session.open_ended:not(.extended) {
    -webkit-mask-image: linear-gradient(to right, #000 70%, transparent 94%);
    mask-image: linear-gradient(to right, #000 70%, transparent 94%);
}

.timeline_session.in_modal {
    margin: 0 !important;
    width: auto !important;
}

.timeline_session.in_modal .session_start_time {
    display: none
}

.timeline_session.in_modal .card-top {
    justify-content: center;
    align-items: center;
}

body.timeline .session .card-controls {
    display: none;
}

body.dim_filtered .session.in_timeline.hidden {
    visibility: visible;
    opacity: .4;
}

.offset {
    flex-grow: 0;
    flex-shrink: 0;
}

.wrapper#program,
.wrapper#posters,
.wrapper#speakers {
    display: none;
}

body.program #program,
body.posters #posters,
body.speakers #speakers
 {
    display: flex;
}
/* ============================ POSTERS ============================ */

#posters .filter_search {
    flex: 3;
}

/* Carries the filters toggle now, in the same position as the programme's. */
#posters .header_bottom {
    margin-top: var(--op-space-1);
    display: flex;
}

#poster_list {
    display: block;
}

.poster_container {
    text-align: left;
    flex: 1;
}

.poster_container .poster_title {
    font-family: Bold;
    color: var(--card-title-color, var(--op-accent));
    /*
     * The chevron is absolutely positioned over the card's bottom-right corner, and a collapsed
     * poster card is only as tall as its title -- which ran straight under it. 26px of chevron,
     * 10px of offset.
     */
    /* clears the chevron in the corner, which is why it names it */
    padding-right: calc(var(--op-handle-width) + var(--op-space-3));

    
}

.poster_container .poster_sessions {
    font-size: .8em;
    padding-bottom: var(--op-space-3);
    margin-bottom: var(--op-space-3);
    border-bottom: 1px solid var(--op-border);
}

.poster_container .poster_sessions .poster_session {
    margin-bottom: var(--op-space-1);
}

.poster_container .poster_sessions .poster_session_title {
    font-weight: bold;
}

.poster_container .poster_description {
    padding-bottom: var(--op-space-3);
    margin-bottom: var(--op-space-3);
    
}

.poster_field:empty {
    display: none;
}

/* Fields promoted to the poster card's face. Smaller and tighter than the detail's copy, to stay
 * scannable at the density a poster list is read at. */
.poster_card_fields {
    margin-top: var(--op-space-1);
    font-size: .8em;
    /* the chevron sits over the card's bottom-right corner; the title already clears it */
    /* clears the chevron in the corner, which is why it names it */
    padding-right: calc(var(--op-handle-width) + var(--op-space-3));
}

.poster_card_fields .poster_field {
    margin-bottom: .25em;
}

.poster_card_fields .poster_field_name {
    color: var(--op-text-muted);
    font-weight: normal;
}

.poster_field_name {
    font-weight: bold;
}

.poster_field {
    margin-bottom: .5em;
}

.poster_field_content {
    font-size: .9em;
}

.poster_buttons {
    display: flex;
    padding-bottom: var(--op-space-3);
    margin-bottom: var(--op-space-3);
    
}

.poster_buttons .button {
    margin-right: var(--op-space-3);
}

.poster_buttons .button::before {
    content: 'download';
}

/*
 * The empty div the poster card ends with, given the height the chevron needs: open, the last
 * field's last line ran under it exactly as the title did when closed. Its height is part of
 * card-detail's scrollHeight, so the open animation measures it like any other content.
 */
.poster .poster_controls {
    height: 20px;
}

.poster_container>div:last-child {
    padding-bottom: 0px;
    margin-bottom: 0px;
    border-bottom: 0px solid var(--op-border);
}
/* ============================ EMPTY, LOADING AND ERROR ============================ */

#poster_list .empty_message:last-child {
    display: none;
}

.empty_message {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    padding: var(--op-space-6);
    transform: translateY(-50%);
    color: var(--op-border-strong);
    font-size: 1.4em;
    text-align: center;
}

.empty .empty_message {
    display: block;
}

body.loading:before
{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    
    background-color: var(--op-accent-light);
    background-image: url('img/loading.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 10vmin;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 3vmin;
    color: #d50303;
}

/*
 * The message itself is #load_error below, not a `content:` string -- it was hardcoded English with
 * nowhere for a translation to go, and it is the only text a visitor can reach before anything has
 * loaded.
 */
body.error:before {
    background-image: none;
}

#load_error {
    display: none;
}

body.error #load_error {
    display: grid;
    place-items: center;
    position: fixed;
    inset: 0;
    z-index: 1001;
    padding: 0 1.5em;
    text-align: center;
    font-size: 3vmin;
    color: #d50303;
    pointer-events: none;
}

body .wrapper {
    transition: opacity .2s ease-out;
}

body.error .wrapper,
body.loading .wrapper {
    opacity: 0;
}

#poster_list  .poster_type_title {
    color: var(--op-accent);
    font-family: Bold;
}

/* The poster card's one piece of text. Same shape as the session card's settings, but only two
 * properties deep: a poster face carries its title and nothing else. */
.poster {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--card-background, var(--op-bg-card));
}

/*
 * The size belongs here rather than with the colour in `.poster_container .poster_title`: that rule
 * is earlier and of equal specificity, so a size declared there would never apply.
 */
.poster .poster_title {
    font-size: calc(.9em * var(--card-title-scale, 1));
    font-family: bold;
}

.poster_more {
    margin-left: 15px;
    color: var(--op-accent);
    font-size: .8em;
    cursor: pointer;
    font-weight: bold;
    flex: 0 0 auto;
}

#posters .content_right {
    display: flex;
}

/*
 * Positioned and sized in pixels by list.js from the real button geometry. It used to be a
 * full-width bar scaled by transform, which only worked while every day took an identical share.
 */
.filter_day #slider{
    position: absolute;
    left: 0;
    width: 0;
    top: 0;
    bottom: 0;
    background-color: var(--op-accent);
    opacity: .3;
    z-index: 11;
    will-change: transform;
    pointer-events: none;
}
/* ============================ THEME HELPERS ============================ */

.font_color_text {
    color: var(--op-text);
}

/* the class is set by applyLegacyColumns; the picture itself is the token it sets beside it */
body.has_background_image {
    background-image: var(--op-bg-image);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.bg_color_body {
    background-color: var(--op-bg-page);
}

.bg_color_clickable {
    background-color: var(--op-bg-card);
}
/* ============================ THIRD PARTY ============================ */

button.swal2-confirm.swal2-styled {
    background-color: var(--op-accent);
}

#vanilla-toast {
  border-radius: 4px;
}

#vanilla-toast.success {
  background: rgba(92, 184, 92, 1);
}

#vanilla-toast.info {
  background: rgba(91, 192, 222, 1);
}

#vanilla-toast.warning {
  background: rgba(236, 151, 31, 1);
}

#vanilla-toast.error {
  background: rgba(201, 48, 44, 1);
}

/*
 * Phone layout: no room for a column beside the content. This is the width the filter panel becomes
 * a drawer at, and that decision is made in JavaScript -- isDrawer() in filters.js and posters.js --
 * so the number here and the number there have to stay the same.
 *
 * It is NOT the width the header's labels stop fitting at; that is 767 and has its own block.
 */
@media (max-width: 600px) {
    /*
     * Reduces the scale rather than pinning a size: a configured `large` is still larger here than
     * a configured `normal`, which a literal 14px threw away. No line-height -- 18px against 14px
     * was a ratio frozen at one size; the unitless values on the elements themselves follow.
     */
    body {
        --op-scale-viewport: .875;
    }

    /*
     * The logo stops being a column and becomes a band across the top. Its column is the panel's,
     * so it stops being one exactly when there is no longer a panel beside it to align to.
     *
     * It used to be hidden outright here, which ten events overrode in their own CSS.
     */
    .header {
        flex-direction: column;
    }

    .header>.header_logo {
        height: var(--op-header-height);
        max-width: none;
        margin: 0;
        justify-content: center;
    }

    /* a band of fixed height here, so a percentage has something to resolve against */
    .header>.header_logo>img {
        max-height: 100%;
    }

    .header_bottom {
        margin-top: 10px;
    }

    #modal .content {
        max-width: unset;
        max-height: unset;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .pdf_session_detail_button {
        padding: 10px;
    }
    .session {
        padding: 10px;
        background-color: var(--op-bg-card);
    }
    .card .card-image {
        width: 60px;
        height: 60px;
    }
    .control_button {
        line-height: 1.2;
        padding: 0 var(--op-space-2)
    }
    #posters .header_bottom {
        display: flex;
    }
    .filter_search .icon {
        right: 2px;
        background-size: 18px;
    }
    .speaker_container {
        width: auto;
    }
}

/*
 * The header's controls become icons here rather than disappearing. What was here before hid
 * .header_bottom .select_type outright at 600px, taking the filters toggle, the view switcher and
 * the PDF export with it -- and the panel is a drawer on a phone, so nothing could open it.
 *
 * 768 rather than 600 because the labels do not fit well before that either: every label in this
 * row was already clipped by its button at 601px. The labels are hidden from view but kept in the
 * accessibility tree -- an icon whose only text is `display: none` has no accessible name at all.
 * `translate-title` puts the same string on the tooltip; see the pass in data.js.
 */
@media (max-width: 767px) {
    /*
     * Scoped to .select_type: the day bar beside it is .filter_day, and its buttons are
     * .control_button too, with the day's name in a span that has to stay visible.
     */
    .header_bottom .select_type .control_button > span,
    .toggle > div > span,
    .header_link span {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
        border: 0;
    }

    /* the gap the label used to sit after */
    .control_button i.mi {
        margin-right: 0 !important;
    }

    /*
     * The section toggle collapses the same way: at 390px each section had 46px for a word needing
     * 82, and two of the three start with P. `!important` because the base rule pins it to 25%
     * with one, and the width has to come from the icon now.
     */
    .toggle {
        flex: 0 0 auto !important;
    }

    .toggle > div > i.mi,
    #type_list > i.mi,
    #type_timeline > i.mi {
        display: inline-flex;
    }

    /*
     * Not a label, but it shares the threshold: it used to sit at 768 and so went mobile one pixel
     * before the header did.
     */
    #language_switch_button {
        right: 16px;
        bottom: 16px;
        padding: 5px 10px;
    }
}

/*
 * Printing, through the browser's own Ctrl+P. There is no separate print view: the page unpins its
 * scroll containers and lets the section on screen flow down the paper.
 *
 * It covers the two lists and deliberately not the timeline -- a fixed-height lane grid positioned
 * against a viewport-sized ruler cannot paginate, and a print from it used to emit the hidden list
 * as blank paper. Printing from the timeline gives the programme as a list instead.
 */
@media print {
    html {
        overflow: initial;
    }
    body, .wrapper, .content, .content_right {
        position: unset;
        height: auto;
        display: block;
        margin: 0;
    }
    .header, .content_left {
        display: none !important;
    }
    /*
     * The list and the timeline are stacked and swapped with opacity, not display -- so in timeline
     * view the list is still in the document, at opacity 0 and the full height of the programme.
     * Forcing it opaque and dropping the timeline makes a print from either view give the same pages.
     */
    .session_timeline {
        display: none !important;
    }
    #session_list, #poster_list {
        position: unset;
        opacity: 1;
        height: auto;
        overflow: visible;
        margin: 0;
        z-index: 1000;
        background-color: var(--op-bg-card);
    }
    /*
     * table + table-header-group is what repeats a day or an abstract type at the top of every page
     * its sessions spill onto, rather than naming it once and leaving the rest unlabelled.
     */
    #session_list .day,
    #poster_list .poster_type {
        display: table;
        width: 100%;
    }
    /*
     * !important because an abstract type's display is an inline style, rewritten on every filter
     * pass -- a stylesheet rule cannot outrank that, and without the table the heading below is a
     * table-header-group with no table to repeat itself in.
     */
    #poster_list .poster_type[style] {
        display: table !important;
    }
    .day_title, .poster_type_title {
        display: table-header-group;
        position: relative;
        background-color: transparent;
    }
    /*
     * A filtered-out day keeps its slot at height 0 with its overflow clipped, which `display:
     * table` above would undo -- the day would print in full having been filtered away on screen.
     */
    #session_list .day.hide {
        display: none;
    }
    .hour {
        margin-bottom: 0;
    }
    .session, .poster {
        break-inside: avoid;
        transform: translateY(5px);
    }
    .session .card-controls,
    .poster .card-controls {
        display: none;
    }
    /* the chevron that opens a card: an affordance for a screen, noise on paper */
    .card.has-detail .handle {
        display: none;
    }
    /* chrome that says nothing on paper: an empty-state line, and the element that only measures a column */
    .empty_message, #posters_width_helper {
        display: none !important;
    }
    /* the buttons that produce a PDF are not themselves part of the printed page */
    .pdf_session_detail_button, .pdf_export {
        display: none !important;
    }
}

body,
input,
select,
textarea,
button {
    font-family: var(--font-family-regular);
}

#language_switch_button,
.day_title,
.poster_type_title,
.session .session_title,
.session .session_location,
.session_intervention .intervention_title,
.hour,
.content_left .title,
.speaker_container .speaker_name,
.poster_container .poster_title,
.day_timeline_hours .hour_text,
.timeline_room_name,
#poster_list .poster_type_title,
.poster .poster_title {
    font-family: var(--font-family-bold);
    font-weight: var(--font-weight-bold);
}