:root {
    /*
     * Palette. Defaults reproduce exactly what was hardcoded before tokenizing, so an event that
     * configures nothing looks unchanged. theme.js seeds these from the event's colour scheme,
     * which the payload already carried and the page previously threw away, and the module
     * configuration overrides them on top of that.
     */
    /* --op-bg-page and --op-bg-header are intentionally undefined: the rules that read them
     * fall back to what paints the page today, so the token only does something once configured */
    --op-bg-card: #fff;
    --op-bg-alt: #e6f7f9;
    --op-bg-alt-2: #d9e8ea;

    --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;
    --op-accent-light: #f2f2f2;

    /* 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);

    /* Set only when an event overrides them; otherwise titles follow the accent and times the
       muted text, which is what they did when the values were literal. */

    /* kept: existing names are read by app code and by per-congress custom.css */
    --color-icon-clickable: var(--op-accent);
    --color-icon-clickable-light: var(--op-accent-light);
    --form_border_radius: 4px;
    --font-family-regular: Regular;
    --font-family-bold: Bold;
    --font-weight-bold: normal;
    --header-gap: 10px;
}

* {
    -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);
}

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

i.mi.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/*
 * Scrollbars.
 *
 * The track used to be a solid grey band, which framed every scrollable area with a visible
 * gutter whether or not anything was scrolling. Track and corner are transparent now, so only
 * the thumb draws, and the stepper arrows are removed -- they are absent on macOS anyway, so
 * leaving them on made the same page look different per platform.
 *
 * The thumb is a translucent neutral rather than the accent: it sits over cards, the timeline
 * and the filter panel, and a saturated brand colour reads as content at that size. Being
 * translucent, it darkens whatever it is over and works on any of the palette's surfaces.
 */
/*
 * WebKit and Blink. Styling ::-webkit-scrollbar at all is what removes the stepper arrows;
 * the explicit rule below is belt and braces.
 */
::-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 and needs the standard properties instead.
 *
 * Deliberately kept away from Chrome. Setting scrollbar-width or scrollbar-color makes Chrome
 * switch to the standard scrollbar and ignore every ::-webkit-scrollbar rule -- including the
 * one above that removes the arrows, so applying both put the arrows back. Firefox does not
 * support the ::-webkit-scrollbar selector, so this block reaches it and not Chrome.
 */
@supports not selector(::-webkit-scrollbar) {
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--op-scrollbar) transparent;
    }
}

html {
    overflow: hidden;
    -webkit-text-size-adjust: none;
}

body {
    font-family: Regular;
    font-size: 16px;
    height: 100%;
    width:100%;
    margin: 0;
    overflow: hidden;
    position: fixed; top: 0; left: 0; right:0; bottom: 0;
    /* touch-action: none; */
}

a:-webkit-any-link {
    color: var(--color-icon-clickable);
}

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

.session.hide, .time.hide {
    display: none;
}
.day.hide {
    height: 0;
    overflow: hidden;
}
input, select {
    width: 100%;
    height: 100%;
    padding: 0;
    display: block;
    height: 40px;
    box-sizing: border-box;
    outline: none;
    padding: 10px 10px;
    border: none;
}

.filter_search input {
    padding-right: 35px;
}
.filter_search {
    position: relative;
    border: 1px solid var(--op-border-strong);
    border-radius: var(--form_border_radius);
    overflow: hidden;
}
.filter_search .icon {
    content: '';
    position: absolute;
    right: 6px;
    top: 0;
    bottom: 0;
    width: 24px;
    z-index: 10;
    opacity: .5;
    background-image: url(img/search.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon.searching {
    background-image: url(img/close.png);
    background-size: 18px;
    cursor: pointer;
}

.filter_types select,
.filter_exhibitors select,
.filter_locations select,
.filter_sessions select,
.filter_languages select {
    border: none;
    width: calc(100% + 20px);
    padding-right: 30px;
    line-height: 1.2em;
}

.login,
.filter_types,
.filter_locations,
.filter_exhibitors,
.filter_sessions,
.filter_languages {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--op-border-strong);
    border-radius: var(--form_border_radius);
}

.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: 6px 12px;
    border: none;
    border-radius: var(--form_border_radius);
    background: var(--color-icon-clickable);
    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;
}

.login > div {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
}



.filter_types::before,
.filter_exhibitors::before,
.filter_locations::before,
.filter_sessions::before,
.filter_languages::before {
    content: '';
    position: absolute;
    right: 6px;
    top: 0;
    bottom: 0;
    width: 22px;
    z-index: 10;
    opacity: .5;
    background-image: url(img/chevron_down.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}


/*
 * The header container had no rule of its own -- only its children were styled -- so the header
 * colour token had nothing to attach to. Transparent by default, which is what it was.
 */
.header {
    background-color: var(--op-bg-header, transparent);
}

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

.header_top>div {
    flex: 1;
}

.header_top>.filter_languages {
    flex: 0 0 80px;
}

/*
 * The header's logo slot. Empty and display:none until an event configures one, so a header
 * without a logo is laid out exactly as it was before the slot existed.
 *
 * This replaces the `.header:before` background-image hack that was the only way to get a logo in
 * -- hand-written CSS on production disk, per congress.
 */
.header_top>.header_logo {
    flex: 0 0 auto;
    width: 12%;
    min-width: 90px;
    max-width: 220px;
    background-position: left center;
    background-size: contain;
    background-repeat: no-repeat;
}

/*
 * Configurable header buttons: a link back to the main site, a PDF, a ticket page. Sized to their
 * content rather than sharing the row, so adding one does not shrink the search field.
 */
.header_top>.header_links {
    flex: 0 0 auto;
    display: flex;
    gap: 6px;
}

.header_link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 12px;
    border-radius: var(--form_border_radius);
    font-size: .8em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

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

@media (max-width: 600px) {
    /* the header is already tight on a phone; the logo is the first thing that can go */
    .header_top>.header_logo {
        display: none !important;
    }
    .header_link span {
        display: none;
    }
    .header_link {
        padding: 0 8px;
    }
}

.header_top>div:last-child {
    margin: 0;
}

.header_top>.filter_search {
    flex: 3;
}

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

.header_bottom>div {
    flex: 1;
    display: flex;
    border-radius: var(--form_border_radius);
    min-width: 0;
}

.header_bottom .select_type {
    flex: 0 0 25%;
    text-transform: uppercase;
    border: 1px solid var(--op-border-strong);
    overflow: hidden;
}

.header_bottom .filter_day {
    flex: 1;
    border: 1px solid var(--op-border-strong);
    position: relative;
    /*
     * Scrolls rather than clips. The buttons size to their names now, so on a narrow viewport they
     * overflow instead of being squeezed into an ellipsis -- "25 Fevereiro" had 78px at 700px wide.
     */
    overflow-x: auto;
    overflow-y: hidden;
}

@media (max-width: 768px) {
    #language_switch_button {
        right: 16px;
        bottom: 16px;
        padding: 5px 10px;
    }
}


.toggle_filter {
    border-right: 1px solid var(--op-border-strong);
    flex: 1;
    padding: 0 10px;
    height: 40px;
    text-align: center;
    cursor: pointer;
    font-size: .8em;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-user-select: none;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 10;
    box-sizing: border-box;
    min-width: 0;
}

.toggle_filter:last-child {
    border-right: none;
}

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

/*
 * The foot of the filter column. `margin-top: auto` pushes it to the bottom of the flex column,
 * which is how the four hand-written copies of this positioned themselves too.
 */
.content_left .footer_text {
    /*
     * Bottom of the column when the groups are short, after them when they are not -- which is
     * what three of the four hand-written copies did. Sticking it to the viewport bottom instead
     * was tried and reverted: the column is the scroll container, so a sticky footer overlaps the
     * group list behind it. Pinning it properly means restructuring the panel into a fixed header,
     * a scrolling group list and a fixed footer, which is a real improvement but touches the
     * drawer, the collapsed column and both sections -- more than a footer warrants here.
     */
    margin-top: auto;
    padding: 1rem 0 .5rem;
    text-align: center;
    font-size: .75em;
    color: var(--op-text-muted);
}

/*
 * Day buttons share the bar when there is room and take their own width when there is not.
 *
 * `flex: 1` still distributes free space, so the buttons fill the bar on a wide screen. What stops
 * them truncating is the flex default `min-width: auto`, which floors every item at its content
 * width -- so instead of squeezing "25 Fevereiro" into 78px and ellipsing it, the row overflows and
 * .filter_day scrolls. Overriding overflow here undoes the base rule's ellipsis, which can then
 * only ever misfire.
 */
.filter_day .toggle_filter {
    flex: 1;
    overflow: visible;
    text-overflow: clip;
}

.toggle_filter.selected {
    color: var(--op-on-accent);
    background-color: var(--color-icon-clickable);
}
.disabled {
    opacity: .5;
    pointer-events: none;
}
.toggle_filter.disabled {
    opacity: 1;
    color: rgba(64,64,64,.5);
    background-color: var(--op-bg-card);
}

.content {
    display: flex;
    flex: 1;
    min-height: 0;
    margin-top: 10px;
}

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

.content_left {
    flex: 0 0 25%;
    padding-right: 5px !important;
    margin-right: 10px;
    overflow-y: auto;
    margin-top: 10px;
    /* the group cards used to sit flush against the viewport edge */
    padding: 0 2px 20px 10px;
    /*
     * A column, so the footer's margin-top:auto can push it to the bottom. The four congresses
     * that hand-wrote a footer added exactly this to .content_left themselves.
     */
    display: flex;
    flex-direction: column;
}

#posters .content_left {
    /* flex: 0 0 auto; */
    max-width: 25%;
}

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

#session_list {
    width: calc(100% - 10px);
}

#session_list, #poster_list {
    position: relative;
    height: 100%;
    width: 100%;
    margin-top: 10px;
    overflow-y: auto;
    padding: 0 5px;
    -webkit-overflow-scrolling: touch;
}

#session_list {
    width: calc(100% - 10px);
}

#poster_list {
    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, .fixed_title {
    font-size: 1.5em;
    color: var(--color-icon-clickable);
    font-family: Bold;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    background-color: var(--op-bg-card);
    position: relative;
    z-index: 100;
    margin-left: -5px;
    margin-right: -5px;
    padding: 0 5px;
    position: sticky;
    top: 0;
}

.day_title::after, .poster_type_title::after, .fixed_title::after  {
    content: '';
    margin-left: 5px;
    border-bottom: 2px solid var(--color-icon-clickable);
    flex:1;
}
.session, .poster {
    position: relative;
    padding: 15px;
    padding-left: 15px;
    border-radius: 4px;
    box-shadow: 0px 0px 5px rgba(0,0,0,.3);
    margin-bottom: 17px;
}

.poster {
    padding: 15px;
}

/*
 * The card's colour stripe. The colour comes from --card-color, set per card from whichever source
 * the event chose (session type, location, or none), so this one rule serves all of them and the
 * same variable is available to custom CSS and to the card settings.
 */
.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, and an event may want the colour on the
     * background or the speaker chip while leaving the edge plain.
     */
    border-left: var(--card-border-width, 8px) solid var(--card-color, transparent);
}
/*
 * The card, and the four pieces of text on it that events most often want resized or recoloured.
 *
 * Each reads a custom property with the previous value as its fallback, so an event that configures
 * nothing renders exactly as it did. 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: var(--card-speaker-size, inherit);
}

/* 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: .2rem;
}

/*
 * Custom fields, wherever they are placed. Both slots render the same markup and now read the same:
 * label and value on one line, the label muted.
 *
 * These rules used to name .session_card_fields, and nothing styled the detail's wrapper at all --
 * so a field placed in the detail fell out of the flex row and came out as two stacked, unstyled
 * lines. The wrapper still carries the spacing, because only it knows which slot it is in.
 */
.session .session_card_fields,
.session .session_fields {
    margin-top: .3rem;
    font-size: .75em;
}

.session .custom_field {
    display: flex;
    gap: .35rem;
    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));
}

/*
 * A field holding several values -- a choose_many -- separates them with a bullet.
 *
 * On the separator between two spans rather than after each value, so the first carries none and
 * nothing has to count them. Drawn rather than written into the text, so it stays out of the search
 * haystack and cannot be copied as part of a value. Unscoped: sessions and posters emit the same
 * span, and the poster renderer used to hand-write a '|' of its own.
 *
 * --op-text rather than a literal black: it is the darkest text token, so the dot reads as black on
 * a light page and follows the palette on an event that has recoloured its text.
 */
.custom_field_option + .custom_field_option::before {
    content: '\2022';
    color: var(--op-text);
    margin: 0 .45em;
}

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

.card .card-info {
    position: relative;
    flex: 1;
    display: grid;
    gap: 4px;
}

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

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

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

/*
 * Holds the favourite star (only with has_agenda) and the detail handle (only when the session
 * has a detail), so on an event with neither it is an empty box still reserving its 20px -- 476
 * of 1029 cards on one event measured here. :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: 5px;
}

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

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

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


.card.has-detail .handle {
    width: 26px;
    height: 10px;
    z-index: 10;
    opacity: .3;
    background-image: url(img/chevron_down.png);
    background-position: center;
    background-size: 26px;
    background-repeat: no-repeat;
    transition: transform .15s linear;
    transform-origin: center;
    cursor: pointer;
    position: absolute;
    bottom: 15px;
    right: 10px;
}

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

/* body:not(.has_login) .session i.session_favorite {
    display: none;
} */

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

.timeline_session .session i.session_favorite {
    font-size: 20px;
}

.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: 5px;
}

.session .session_title {
    /*
     * On this rule rather than beside the other card overrides above: there are two
     * `.session .session_title` rules, and the later one wins on equal specificity. Declaring it
     * earlier looked right and did nothing.
     */
    color: var(--card-title-color, var(--color-icon-clickable));
    font-size: var(--card-title-size, inherit);
    font-family: Bold;
}

.session .session_footer {
    margin: -5px 0px 5px 0px;
    font-size: 0.8em;
}

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

.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: var(--card-time-size, .8em);
    /* three inline spans -- start, separator, end -- which would otherwise break mid-range */
    white-space: nowrap;
}
.session .session_start_time .start_time_separator {
    margin: 0 3px;
}
.session .intervention_start_time {
    /* display: none; */
    color: var(--op-text-muted);
    font-size: .7em;
}
.session .intervention_start_time .start_time_separator {
    margin: 0 2px;
}


body.timeline .timeline_session .session .session_start_time .start_time_separator,
body.timeline .timeline_session .session .session_start_time .end_time {
    display: none;
}
.session_timeline .pdf_session_detail_button {
    display: none;
}
.pdf_session_detail_button {
    font-size: .9rem;
    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: 22px;
    height: 22px;
    z-index: 10;
    opacity: .6;
    background-image: url(img/pdf.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.modal_session .pdf_session_detail_button {
    padding: 5px 0 0 0;
    position: relative;
    display: flex;
    justify-content: end;
}
.pdf_session_detail_button i {
    color: var(--op-text-muted);
}
.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;
}
/*
 * Scoped to the single-session export. A whole-programme PDF matches what the page prints, where a
 * card is as collapsed or open as the visitor left it; expanding every detail would turn a two-day
 * listing into a book nobody asked for.
 */
.pdf-content.pdf-session_detail .card-detail {
    height: auto !important;
}
.pdf-content .session_intervention {
    break-inside: avoid !important;
}

.session .session_location {
    font-size: var(--card-location-size, .7em);
    /* 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: .25rem;
}

.card .card-detail {
    height: 0;
    overflow: hidden;
    transition: height .15s ease;
    margin-right: 15px;
}

#session_list .card .card-detail {
    padding-bottom: 12px;
}

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

.card-detail .card-detail-content {
}

.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: 5px;
    flex: 0 0 100%;
}

.session_card_speaker {
    border: 1px solid var(--op-border-strong);
    padding: 3px 6px;
    border-radius: 6px;
    /*
     * The overrides replace these declarations rather than being added above them: the colour
     * carries !important, and a later rule would have to repeat that to win. Both accept
     * var(--card-color), so a chip can take the card's own type or location colour.
     */
    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: 15px;
    padding: 15px;
    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: 5px;
}

.session_intervention .intervention_image {
    width: 50px;
    flex-shrink: 0;
    padding-bottom: 50px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
    display: none;
}

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

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

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

.session_intervention.poster{
    margin-right: 10px;
}

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

.session_intervention .intervention_speakers {
    font-size: .7em;
    line-height: 1em;
    color: var(--op-text-faint);
    line-height: 1.8em;
    display: flex;
    flex-flow: row wrap;
    gap: 5px;
    align-items: center;
    line-height: 1;
    margin-top: 5px;
}

.hour {
    font-size: .9em;
    font-family: Bold;
    margin-bottom: 10px;
    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;
}

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

.content_left .title {
    text-transform: uppercase;
    color: var(--color-icon-clickable);
    margin-top: 15px;
    font-family: Bold;
}

/*
 * The filter panel. Rendered from the filter dimensions, so these rules describe a generic
 * entry rather than rooms / types / exhibitors specifically.
 *
 * Each group is a titled card and each option a checkbox, which is what says "you may pick
 * several" before anything has been picked -- a plain list of labels does not.
 */
.filter_group {
    border-radius: var(--form_border_radius);
    overflow: hidden;
    margin-bottom: 12px;
    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: 8px 10px;
    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.
 *
 * Fixed square with a 50% radius rather than padding and a large radius: padding made the badge
 * grow with the number, so a group at 1 and a group at 12 drew different shapes down the column.
 * Hidden rather than sized when empty, so an unfiltered group reserves no space for it.
 */
.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: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 6px;
    background-color: var(--op-accent);
    color: var(--op-on-accent);
    font-size: .8em;
    line-height: 1;
}

/*
 * Inverted while the button is selected: the button's own background is the accent then, so an
 * accent badge on it would be invisible. Swapping the pair keeps the same contrast either way.
 */
.toggle_filter.filter_toggle.selected.has_filters::after {
    background-color: var(--op-on-accent);
    color: var(--op-accent);
}

.filter_group_chevron {
    flex-shrink: 0;
    font-size: 18px;
    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: 4px 0;
}

.filter_entry {
    display: none;
    align-items: flex-start;
    cursor: pointer;
    padding: 6px 10px;
    line-height: 1.35em;
}

/* `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: 14px;
    height: 14px;
    margin-right: 8px;
    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 the reader can
 * switch it off -- hiding it would leave a filter counted in the group's badge with no way to
 * reach it -- and marked so it does not read as an ordinary available option.
 */
.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: 4px;
    top: 0px;
    width: 4px;
    height: 9px;
    border: solid var(--op-on-accent);
    border-width: 0 2px 2px 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: 16px;
    margin-right: .3em;
    flex-shrink: 0;
    color: var(--op-text-muted);
}

.filter_swatch {
    flex-shrink: 0;
    margin-right: 6px;
    margin-top: .35em;
    border-radius: 50%;
    height: 10px;
    width: 10px;
}

/*
 * 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;
    z-index: 30;
    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);
    /* symmetric, unlike the column padding, which is asymmetric to sit against the content */
    padding: 15px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .25s ease;
}

.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: 10px;
}

/*
 * Always available, in every view. In the list it collapses the pinned column to reclaim the
 * width; everywhere else it opens the drawer.
 *
 * It is a .toggle_filter 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;
}

.toggle_filter.filter_toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-right: none;
}

.toggle_filter.filter_toggle i.mi {
    font-size: 1.2em;
    margin-right: .4em;
}

/*
 * How many sessions a day still has under the current filter. Only rendered while filtering --
 * a permanent count would just repeat the programme back at the reader.
 */
.toggle_filter .day_count {
    display: none;
}

.toggle_filter.has_count .day_count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    margin-left: .4em;
    border-radius: 9px;
    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 */
.toggle_filter.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 */
.toggle_filter.has_count.no_matches {
    opacity: .45;
}

/* the global clear, beside the toggle in the same bordered group */
.toggle_filter.filter_clear {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-right: none;
    border-left: 1px solid var(--op-border-strong);
    padding: 0px 12px;
    color: var(--op-text-muted);
}

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

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

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

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

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

.empty .empty_message {
    display: block;
}

.empty + .fixed_title {
    display: none;
}

#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;
    transition: opacity .1s;
    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: 20px;
    background-image: url(img/close.png);
    background-position: center;
    background-size: 18px;
    background-repeat: no-repeat;
    cursor: pointer;
    text-align: center
}

#modal .content .info {
    overflow-y: auto;
    width: 100%;
    padding: 30px;
}

.speaker_container {
    text-align: left;
}

.speaker_container .speaker_info {
    display: flex;
    align-items: center;
}
.speaker_container .speaker_details {
    margin-left: 10px;
}
.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: 5px;
}

.speaker_container .speaker_description {
    margin-top: 20px;
}
/* .session_timeline {
    opacity: 0;
    pointer-events: none;
} */

body.timeline .session_timeline {
    opacity: 1;
    pointer-events: all;
}

/*
 * The timeline used to hide the panel outright, which left that view with no filters at all once
 * the duplicate header dropdowns were retired. It is a drawer there now -- see .content_left.drawer
 * below, applied by filterpanel.js.
 */

.room {
    display: flex;
}


.session_intervention .buttons {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-left: 20px;
}

.session_intervention .buttons_empty {
    margin-left: 0;
}

.button {
    flex: 0 0 12ch;
    background-color: var(--color-icon-clickable);
    padding: 5px 10px;
    padding-left: 35px;
    border-radius: 3px;
    color: var(--op-on-accent);
    font-size: .6em;
    background-position: 2px center;
    background-size: 32px;
    background-repeat: no-repeat;
    background-image: url(img/intervention.png);
    cursor: pointer;
    min-height: 20px;
    display: flex;
    align-items: center;
}

.session_intervention.poster .button {
    background-image: url(img/poster.png);
}

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

.poster_container .poster_title {
    font-family: Bold;
    color: var(--card-title-color, var(--color-icon-clickable));
    /*
     * The chevron is absolutely positioned over the card's bottom-right corner, and a collapsed
     * poster card is only as tall as its title -- so that corner is the title's own last line,
     * which ran straight under the chevron. 26px of chevron, 10px of offset.
     */
    padding-right: 36px;
    /* padding-bottom: 10px; */
    /* margin-bottom: 10px; */
    /* border-bottom: 1px solid var(--op-border); */
}

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

.poster_container .poster_sessions .poster_session {
    margin-bottom: 5px;
}

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

.poster_container .poster_description {
    padding-bottom: 10px;
    margin-bottom: 10px;
    /* border-bottom: 1px solid var(--op-border); */
}

.poster_field:empty {
    display: none;
}

/*
 * Fields promoted to the poster card's face. Smaller and tighter than the detail's copy: the face
 * is a title and whatever an event chose to put beside it, and it has to stay scannable at the
 * density a poster list is read at.
 */
.poster_card_fields {
    margin-top: .35rem;
    font-size: .8em;
    /* the chevron sits over the card's bottom-right corner; the title already clears it */
    padding-right: 36px;
}

.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: 10px;
    margin-bottom: 10px;
    /* border-bottom: 1px solid var(--op-border); */
}

.poster_buttons .button {
    margin-right: 10px;
    background-image: url(img/download.png);
    background-size: 20px;
    background-position: 8px;
}

/*
 * 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);
}

.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. It keeps
 * its space and stops being drawn, which reads as "gone" while the ruler stays honest.
 *
 * `timeline_dim_filtered` restores the old behaviour of leaving them faintly visible, for events
 * that would rather show the whole shape of the day with the matches picked out.
 */
.session.in_timeline.hidden {
    visibility: hidden;
}

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

/*
 * A narrower gutter on the right than on the left, which is where the extra characters come from.
 * It can afford to be tighter because a title long enough to reach it is fading by then anyway,
 * while the left gutter holds the text off the session-type stripe and has to stay at 8.
 *
 * Margin, and not the padding this was briefly written as. Padding cannot compress: a 30-minute
 * session at this zoom is a 7px card, and 12px of padding made .card-top wider than the card
 * holding it, so it spilled over its neighbour. A margin has the opposite failure, which is the
 * harmless one -- the content box floors at zero and the card simply goes blank.
 *
 * Keeping the 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, not by its content -- it is often 50px wide and its title is
 * already clamped to 72px and faded where it does not fit. A label-and-value pair has nowhere to
 * go in that, and every card carrying one would push the lane taller for text nobody can read.
 *
 * Not in the modal: clicking a lane card opens one, timeline.js moves the block into its detail
 * first, and that is where a card-placed field lands in this view. 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.in_timeline .session_location {
    background-color: var(--color-icon-clickable);
    color: var(--op-on-accent);
    padding: 3px 8px;
    border-radius: 10px;
    display: inline-block;
} */

.session_timeline {
    height: 100%;
    font-size: 14px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

#session_timeline {
    display: flex;
    height: 100%;
    transform: translateX(0);
    /* transition: transform .4s ease-out; */
}

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);
    /* overflow: hidden; */
    /* cursor: move; */
    user-select: none;
    -webkit-user-select: none;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}



/*
 * A session that occupies the whole venue -- a lunch or coffee break, a plenary -- drawn as a band
 * across every lane instead of as a card in one arbitrary room, where it is both untrue and easy
 * to miss. Which locations these are is configured per event.
 *
 * Behind the cards at z-index 1, like the guideline track, so the lanes stay readable over it. Its
 * height comes from the content element, which is as tall as all the lanes together.
 */
.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. The tint
     * is light enough that the cards underneath stay readable, and it takes no pointer events.
     */
    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 to .12 took its label with it and left the name unreadable.
 */
.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 rather than only being
 * legible at the very top of a tall day.
 */
.day_timeline .timeline_full_width_label {
    position: sticky;
    /*
     * Clears the hour ruler. .day_timeline_content starts 30px above its first lane -- margin-top
     * -30px against padding-top 30px -- so a label pinned at 0 renders underneath the ruler.
     */
    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 real box rather than a pair of lines, it can also tint the whole
 * track -- set --guideline-bg to a translucent colour and the slot fills instead of just being
 * bracketed. Both at once works too.
 *
 * It hangs off .day_timeline_content, not off .day_timeline_container. The container is the
 * scrolling box, and an absolutely positioned child of a scroller resolves top/bottom against its
 * *visible* box while still scrolling away with the content -- so the guidelines used to be one
 * screenful tall, anchored at the top, and absent for every lane below the fold.
 *
 * z-index 1 keeps it behind the lanes, which is what it has always been: the lane backgrounds are
 * translucent, so it reads through them, and the cards sit on top of it. Raising it above
 * .timeline_room (z-index 5) would paint the tint over the cards as well.
 */
.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;
}

.day_timeline.show {
    display: block;
}

.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(), not by :nth-child: this
 * element's parent also holds the hour lines and the guideline track, and -- more importantly --
 * a filter that hides a lane would otherwise leave two shaded lanes adjacent, because a hidden
 * child still counts. The class is assigned over the lanes actually on screen.
 */
.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;
}


/*
 * Was width:100% from when the filter panel was hidden in the timeline and the content had the
 * row to itself. The panel is a pinned column in both views now, so the content takes what is
 * left -- `flex: 1` on .content_right already does that, and the explicit 100% would overflow
 * the row by the width of the column.
 */

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

#filter_day, #filter_day_timeline {
    display: none;
}
body.list #filter_day,
body.timeline #filter_day_timeline {
    display: flex;
}

/* body.timeline #program .header_top>div:not(.toggle, .login) {
    opacity: .5;
    pointer-events: none;
} */

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

.day_timeline_nav {
    position: relative;
    overflow: hidden;
    /* margin-bottom: 10px; */
    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 {
        /* content: ''; */
        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;
    width: 100%;
    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(--color-icon-clickable);
}

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

.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: 13px;
    font-family: Bold;
    color: var(--op-text-muted);
    padding: 4px 8px;
    will-change: transform;
}

.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;
}

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

body.program #program,
body.posters #posters,
body.speakers #speakers
 {
    display: flex;
}

#posters .filter_search {
    flex: 3;
}

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

#poster_list {
    margin-top: 0;
}

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

.active_poster_session {
    width: calc(100% - 20px);
}

.active_poster_session>div:hover {
    background-color: transparent !important;
}

/*
 * The poster card, and the one piece of text on it. Same shape as the session card's settings and
 * the same fallback-to-the-previous-value rule, but only two properties deep: a poster card face
 * carries its title and nothing else, and a poster type has no colour to draw a stripe from.
 */
.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 this one wins and a size declared there would never
 * apply.
 */
.poster .poster_title {
    font-size: var(--card-title-size, .9em);
    font-family: bold;
}

.poster .poster_session_card {
    font-size: .8em;
    line-height: 1.4em;
    margin-top: 5px;
}

.poster .poster_session_card .poster_session_title,
    .poster .poster_session_card .poster_session_info {
    width: 100%;
    margin-left: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

#filter_poster_type .poster_filter {
    display: flex;
    font-size: 1em;
    line-height: 1.2em;
    margin-bottom: 10px;
    cursor: pointer;
    align-items: center;
}



#filter_poster_type .poster_filter::before {
    content: attr(count);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--op-text-muted);
    margin-right: 5px;
    margin-top: 2px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 9px;
    line-height: 10px;
    color: var(--op-on-accent);
    font-weight: normal;
}

#filter_poster_type .poster_filter.selected,
#filter_poster_type .poster_filter:hover {
    color: var(--color-icon-clickable);
    font-weight: bold;
}

#filter_poster_type .poster_filter.selected::before {
    background-color: var(--color-icon-clickable);
}
#filter_poster_type .poster_filter.selected.disabled {
    color: initial;
    font-weight: normal;
}
#filter_poster_type .poster_filter.selected.disabled::before {
    background-color: var(--op-border-strong);
}

#posters .filter_types {
    display: block;
}

/*
 * Was display:none because this row held nothing on the posters side. It carries the filters
 * toggle now, in the same position as the programme's.
 */
#posters .header_bottom {
    margin-top: 5px;
    display: flex;
}
.fixed_title {
    padding: 0 5px 5px 5px;
    position: absolute;
    left: 0;
    width: 100%;
    top: 0;
    z-index: 10;
    background-color: var(--op-bg-card);
    margin-bottom: 0;
}

#posters .content_right {
    display: flex;
}

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

.header_top .filter_sessions {
    flex: 0 0 40%;
}

#select_poster_sessions {
    overflow: visible;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    align-items: center;
    padding: 0 10px;
    outline: none;
    max-width: 40%;
    flex: 1;
}

.select_poster_sessions {
    display: none;
    position: absolute;
    top: calc(100% - 5px);
    left: -1px;
    right: -1px;
    z-index: 150;
    background-color: var(--op-bg-card);
    padding: 5px 0;
    padding-top: 8px;
    border: 1px solid var(--op-border-strong);
    border-radius: var(--form_border_radius);
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

#select_poster_sessions.active .select_poster_sessions {
    display: block;
}

.poster_day_title {
    font-size: .8em;
    font-family: Bold;
    padding: 0 10px;
    margin-bottom: 3px;
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter_sessions .poster_session {
    font-size: .8em;
    padding: 3px 10px;
    padding-left: 20px;
    cursor: default;
    display: flex;
}

.filter_sessions .active_poster_session .poster_session,
.filter_sessions .active_poster_session .poster_session_all {
    padding: 0;
}

.filter_sessions .poster_session_time{
    font-family: Bold;
    flex: 0 0 auto;
    margin-right: 3px;
}
.filter_sessions .poster_session_title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 3px;
}
.filter_sessions .poster_session:hover,
.poster_session_all:hover,
.filter_sessions .poster_session.selected {
    background-color: var(--op-border-strong);
}

.filter_sessions .poster_session_all {
    padding-left: 10px;
    font-size: .8em;
    font-family: Bold;
}

#modal .session_interventions {
    padding-right: 0;
}

/*
 * 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 occupied an identical
 * fraction of the bar -- and, being absolutely positioned, would have been sized to the visible
 * box rather than the scrollable one the moment this bar started scrolling.
 */
.filter_day #slider{
    position: absolute;
    left: 0;
    width: 0;
    top: 0;
    bottom: 0;
    background-color: var(--color-icon-clickable);
    opacity: .3;
    z-index: 11;
    will-change: transform;
    pointer-events: none;
}

/*
 * Two fades on a timeline card, and they mean different things -- so they are drawn on different
 * elements, which is what tells them apart.
 *
 * `narrow`: the title is wider than the space the session's own duration gives it. The card is the
 * right size, the text is simply longer than it, so it is the *content* that fades -- on .card-top,
 * inside the card, leaving the background, the type stripe, the border and the shadow intact all
 * the way to the card's real right edge.
 *
 * `open_ended`: the session has no end time and nothing nearby to deduce one from, so the width is
 * a guess. Here the *whole card* fades, edge and shadow with it, because what is uncertain is where
 * the card stops rather than what is written on 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: white for the content, which was only ever right on an
 * uncoloured card, and the lane colour for the card, which cost one rule per stripe and another for
 * every stripe added. A mask makes the element transparent instead, so whatever is behind shows
 * through and no rule has to name it.
 *
 * Both stop at `.extended`: a card expanded under the pointer shows its title in full, so there is
 * nothing left to fade -- and an expanded card 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 reaches only about a third
 * of the way down its alpha by the time it runs off the right edge. The fade used to finish at
 * 100% -- fully transparent exactly where .card-top ends, which is 4px short of the card -- so the
 * tail of a clipped title disappeared completely and left a blank strip of card beside it. Ending
 * the ramp off-element keeps those last characters faint but readable, which is the whole job of
 * a fade: say "there is more" rather than 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 --
 * masking the card erased the shadow entirely. The container's margins are the 5px the blur needs,
 * so from there the shadow survives on three sides and fades with the card on the fourth.
 *
 * 70% / 94% is where the overlay's 30%-wide strip reached full opacity.
 */
.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%);
}

@media (max-width: 600px) {
    body {
        font-size: 14px;
        line-height: 18px;
    }
    /*
     * Drawer styling lives on .content_left.drawer now, applied by filterpanel.js, because the
     * panel is also a drawer in the timeline at full width -- not just on narrow screens.
     */
    .toggle_filter {
        /* height: 20px; */
        padding: 5px;
    }

    .header input,.header select {
        height: 30px;
        padding: 0 5px;
        font-size: .7em;
        padding-right: 25px;
    }
    .header_bottom .select_type {
        display: none;
    }

    .filter_types::before, .filter_locations::before, .filter_exhibitors::before {
        right: 1px;
    }

    .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;
    }
    .toggle_filter {
        line-height: 1.2em;
    }

    #posters .header_bottom {
        display: flex;
    }
    .filter_search .icon {
        right: 2px;
        background-size: 18px;
    }
    .icon.searching {
        right: 0;
    }
    .select_poster_sessions {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 300;
        border: none;
        border-radius: 0;
        padding-top: 15px;
    }
    .speaker_container {
        width: auto;
    }
}

.kiosk_portrait .content_left,
.kiosk_portrait .header_bottom,
.kiosk_portrait .filter_search,
.kiosk_portrait .filter_types,
.kiosk_portrait .hour,
.kiosk_portrait ::-webkit-scrollbar,
.kiosk_portrait .session .session_location,
.kiosk_portrait .header_bottom .select_type {
    display: none;
}

.kiosk_portrait #select_location {
    font-size: 1.6em;
    background-color: var(--color-icon-clickable);
    color: var(--op-on-accent);
    font-family: Bold;
    padding: 0 10px;
    height: 3em;
}


.kiosk_portrait .header_bottom .filter_day {
    border: none;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.kiosk_portrait .session, .kiosk_portrait .poster {
    box-shadow: none;
}

.kiosk_portrait .toggle_filter {
    border-right: 1px solid var(--op-border);
}

.kiosk_portrait .session_card_speaker {
    border: none;
    padding: 1px 6px;
    background-color: var(--op-accent-light);
    font-size: .8em;
}


.kiosk_portrait .filter_locations {
    border: none;
    border-radius: 0;
}

.kiosk_portrait .header_top>div {
    margin-right: 0;
}
.kiosk_portrait .header_top {
    margin: -10px;
    margin-bottom: 0;
}
.kiosk_portrait .content {
    margin-top: 10px;
}

.kiosk_portrait .filter_types::before, .kiosk_portrait .filter_locations::before, .kiosk_portrait .filter_exhibitors::before, .kiosk_portrait .filter_sessions::before {
    right: 20px;
    width: 30px;
    opacity: 1;
    filter: invert(1);
}

body.kiosk_portrait {
    font-size: 2vw;
}

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

.font_color_main {
    color: var(--color-icon-clickable);
}

.bg_color_main {
    background-color: var(--color-icon-clickable);
}

/* set by applyLegacyColumns from the background_image column */
body.has_background_image {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.bg_color_body {
    background-color: var(--op-bg-page, var(--color-icon-clickable-light));
}

.bg_color_clickable {
    background-color: var(--op-bg-card);
}

#hand {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    bottom: 25%;
    left: 50%;
    width: 20%;
    transform: translateX(-50%);
    animation-name: hand;
    animation-iteration-count: infinite;
    animation-duration: 1s;
    animation-direction: alternate;
    transform: opacity .5s;
    z-index: 100;
}

#hand.show {
    opacity: .5;
}

.no_touch #hand.show {
    opacity: 0;
}

.no_touch .filter_locations::before {
    background-image: none;
}

.no_touch .session.has-detail .handle {
    opacity: 0;
}

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

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

.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.loading:before
{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    /* background-color: rgba(255,255,255,.7); */
    background-color: var(--color-icon-clickable-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 used to be one -- hardcoded
 * English, with nowhere for a translation to go -- and it is the only text on the page 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;
}


.toggle {
    flex: 0 0 25% !important;
    display: flex;
    border: 1px solid var(--op-border-strong);
    border-radius: var(--form_border_radius);
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    font-size: .8em;
    -webkit-user-select: none;
    user-select: none;
    z-index: 10;
    text-transform: uppercase;
}

.toggle > div {
    background-color: var(--op-bg-card);
    padding: 10px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

body:not(.show_toggle) .toggle {
    display: none;
}
/*
 * The two section exports, off unless the event asks for them -- same shape as the per-card button
 * below, so all three PDF affordances are gated the same way.
 */
body:not(.show_pdf_program) #program_pdf,
body:not(.show_pdf_posters) #posters_pdf {
    display: none;
}

.pdf_export .toggle_filter {
    display: flex;
    align-items: center;
    gap: .3em;
    white-space: nowrap;
}

body:not(.show_pdf_session_detail) .pdf_session_detail_button {
    display: none;
}
.session:not(.has-detail) .pdf_session_detail_button {
    display:none;
}

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

/*
 * A separator before every visible item that follows another, which is the same thing as a
 * separator *between* them.
 *
 * It was border-right, which put the line on the wrong side of the wrong element: with two items
 * the second one got a trailing border against the group's own edge and nothing divided it from
 * the first; with three, the gap between the first two went unmarked. The :not(.hide) sibling
 * pair is what makes this survive a toggle being switched off by show_toggle -- the hidden item
 * is skipped rather than leaving its separator behind.
 */
.toggle > div:not(.hide) ~ div:not(.hide) {
    border-left: 1px solid var(--op-border-strong);
}

button.swal2-confirm.swal2-styled {
    background-color: var(--color-icon-clickable);
}

body .filter_exhibitors {
    display: none;
}

/*
 * Activities used to be a mode with its own cut-down chrome: the location and type filters were
 * hidden, only exhibitors were offered, and the list/timeline switch was removed. All of it was
 * written against the hand-built sidebar (.content_left .rooms / .types / .exhibitors), which the
 * rendered filter panel replaced -- so those selectors matched nothing any more.
 *
 * The panel decides this on its own now: a group is shown only while some option in it is still
 * reachable, so exhibitors appear for activities and disappear for the programme without anything
 * naming either case.
 *
 * The view switcher is no longer hidden either: the timeline builds a lane per (section,
 * location), so activities have lanes of their own to show.
 */

.session_location_exhibitor {
    display: flex;
    align-items: center;
    gap: .2rem;
    margin-top: .25rem;
}

.session_location_exhibitor .session_exhibitor {
    color: var(--color-icon-clickable);
    font-weight: bold;
    font-size: .8rem;
}

.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;
}


#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);
}


/*
 * 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 -- the programme and the abstracts -- and deliberately not the timeline.
 * That is a fixed-height lane grid whose cards are positioned against a viewport-sized ruler; it
 * cannot paginate, and a print from it used to emit the hidden list as blank paper (see the opacity
 * note below). Printing from the timeline gives the programme as a list instead, which is what
 * somebody reaching for Ctrl+P is after.
 */
@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 on top of each other 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 the list opaque and dropping the timeline outright is what
     * makes a print from either view produce 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, instead of naming it once and leaving the rest of the pages 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 by its show()/hide() -- a stylesheet rule cannot outrank that, and without the table the
     * type 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,
.fixed_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,
.poster_day_title,
.filter_sessions .poster_session_time,
.filter_sessions .poster_session_all,
.kiosk_portrait #select_location {
    font-family: var(--font-family-bold);
    font-weight: var(--font-weight-bold);
}

/*
 * Superseded by the filter panel, kept in the DOM because posters.js still builds `filter_el`
 * for each type and toggles its state. `.hide` is not a general-purpose utility in this
 * stylesheet -- it only has rules for specific elements -- so these are hidden explicitly.
 */
#filter_poster_type,
#select_poster_sessions,
#posters .filter_types.hide,
.filter_types.hide {
    display: none;
}
