/* ═══════════════════════════════════════════════════════════
   VCM Program UI — Professional Conference Program Display
   ═══════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */

:root {
    --vcm-gold:           #c8a24a;
    --vcm-gold-dark:      #b08a3e;
    --vcm-gold-light:     #c9a84f;
    --vcm-text:           #1c2431;
    --vcm-text-secondary: #4a5058;
    --vcm-text-muted:     #9aa0a8;
    --vcm-bg-panel:       #f5f6f8;
    --vcm-bg-page:        #ffffff;
    --vcm-hairline:       #e5e7eb;
    --vcm-radius-card:    8px;
    --vcm-radius-chip:    4px;
    --vcm-font:           'Poppins', 'Noto Sans KR', system-ui, -apple-system, sans-serif;
    --vcm-grid-min-row:   60px;
    --vcm-panel-width:    420px;
    --vcm-transition:     0.2s ease;
}


/* ── Layout Container ── */

.vcm-program {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    font-family: var(--vcm-font);
    color: var(--vcm-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.vcm-program *,
.vcm-program *::before,
.vcm-program *::after {
    box-sizing: border-box;
}

.vcm-program [hidden] {
    display: none !important;
}


/* ── Day Tabs ── */

.vcm-day-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--vcm-hairline);
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--vcm-bg-page);
    padding: 0;
    margin: 0 0 16px;
}

.vcm-day-tab {
    flex: 1;
    padding: 12px 8px 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--vcm-text-muted);
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 3px solid transparent;
    transition: color var(--vcm-transition), border-color var(--vcm-transition);
    white-space: nowrap;
    font-family: var(--vcm-font);
}

.vcm-day-tab:hover {
    color: var(--vcm-text-secondary);
}

.vcm-day-tab.active {
    color: var(--vcm-text);
    font-weight: 600;
    border-bottom-color: var(--vcm-gold);
}

.vcm-day-tab .vcm-tab-date {
    display: block;
    font-size: 13px;
    font-weight: 600;
}

.vcm-day-tab .vcm-tab-weekday {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--vcm-text-muted);
    margin-top: 1px;
}

.vcm-day-tab.active .vcm-tab-weekday {
    color: var(--vcm-text-secondary);
}


/* ── Filter Bar ── */

.vcm-filters {
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-card);
    margin-bottom: 16px;
    background: var(--vcm-bg-page);
}

.vcm-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    font-family: var(--vcm-font);
    font-size: 13px;
    color: var(--vcm-text-secondary);
    font-weight: 500;
}

.vcm-filter-toggle-icon {
    transition: transform var(--vcm-transition);
    font-size: 12px;
    color: var(--vcm-text-muted);
}

.vcm-filters.open .vcm-filter-toggle-icon {
    transform: rotate(180deg);
}

.vcm-filter-summary {
    font-size: 12px;
    color: var(--vcm-text-muted);
    margin-left: 12px;
    flex: 1;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vcm-filter-summary:empty {
    display: none;
}

.vcm-filter-body {
    display: none;
    padding: 0 16px 16px;
    border-top: 1px solid var(--vcm-hairline);
}

.vcm-filters.open .vcm-filter-body {
    display: block;
}

.vcm-filter-group {
    margin-bottom: 14px;
}

.vcm-filter-group:last-child {
    margin-bottom: 0;
}

.vcm-filter-group-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--vcm-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 8px;
}

.vcm-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.vcm-filter-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--vcm-text-muted);
    min-width: 24px;
    text-align: center;
    padding: 4px 0;
    flex-shrink: 0;
}

/* Filter Chips */

.vcm-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--vcm-text-secondary);
    background: var(--vcm-bg-page);
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-chip);
    cursor: pointer;
    transition: background var(--vcm-transition), border-color var(--vcm-transition);
    user-select: none;
    font-family: var(--vcm-font);
    line-height: 1.3;
}

.vcm-filter-chip:hover {
    border-color: var(--vcm-text-muted);
}

.vcm-filter-chip.checked {
    background: var(--vcm-bg-panel);
    border-color: var(--vcm-text-secondary);
}

.vcm-filter-chip .vcm-chip-check {
    display: none;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.vcm-filter-chip.checked .vcm-chip-check {
    display: inline-block;
}

.vcm-chip-count {
    font-size: 11px;
    color: var(--vcm-text-muted);
    font-weight: 400;
}

/* Symposium Panel (collapsible) */

.vcm-filter-symposium-panel {
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-chip);
    overflow: hidden;
}

.vcm-filter-symposium-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--vcm-text-secondary);
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    font-family: var(--vcm-font);
}

.vcm-filter-symposium-body {
    display: none;
    padding: 4px 12px 12px;
}

.vcm-filter-symposium-panel.open .vcm-filter-symposium-body {
    display: block;
}

.vcm-symposium-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
}

.vcm-symposium-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    color: var(--vcm-text-secondary);
    padding: 4px 0;
    cursor: pointer;
}

.vcm-symposium-item input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--vcm-gold);
}

.vcm-symposium-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Search Input */

.vcm-filter-search {
    width: 100%;
    padding: 8px 12px 8px 32px;
    font-size: 13px;
    font-family: var(--vcm-font);
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-chip);
    background: var(--vcm-bg-page);
    color: var(--vcm-text);
    outline: none;
    transition: border-color var(--vcm-transition);
}

.vcm-filter-search:focus {
    border-color: var(--vcm-gold);
}

.vcm-filter-search-wrap {
    position: relative;
    margin-bottom: 14px;
}

.vcm-filter-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vcm-text-muted);
    pointer-events: none;
    font-size: 14px;
}

/* Filter Actions */

.vcm-filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--vcm-hairline);
}

.vcm-filter-clear-btn {
    font-size: 12px;
    color: var(--vcm-text-muted);
    background: none;
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-chip);
    padding: 4px 10px;
    cursor: pointer;
    font-family: var(--vcm-font);
    transition: color var(--vcm-transition), border-color var(--vcm-transition);
}

.vcm-filter-clear-btn:hover {
    color: var(--vcm-text-secondary);
    border-color: var(--vcm-text-muted);
}

.vcm-filter-result-count {
    font-size: 12px;
    color: var(--vcm-text-muted);
    font-variant-numeric: tabular-nums;
}


/* ═══════════════════════════════════════════════════════════
   Desktop Grid (≥1024px)
   ═══════════════════════════════════════════════════════════ */

.vcm-grid-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 24px;
}

.vcm-grid {
    display: none;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

@media (min-width: 1024px) {
    .vcm-grid {
        display: grid;
        gap: 0;
    }
    .vcm-mobile-list {
        display: none !important;
    }
}

.vcm-grid-corner {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 12;
    background: var(--vcm-bg-page);
    border-bottom: 1px solid var(--vcm-hairline);
    border-right: 1px solid var(--vcm-hairline);
    min-width: 72px;
}

.vcm-grid-room-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--vcm-bg-page);
    border-bottom: 1px solid var(--vcm-hairline);
    padding: 10px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--vcm-text-secondary);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vcm-grid-room-floor {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: var(--vcm-text-muted);
    margin-top: 1px;
}

.vcm-grid-time {
    position: sticky;
    left: 0;
    z-index: 8;
    background: var(--vcm-bg-page);
    border-right: 1px solid var(--vcm-hairline);
    padding: 6px 10px 6px 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--vcm-text-secondary);
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
    vertical-align: top;
    min-width: 72px;
}

.vcm-grid-cell {
    border-bottom: 1px solid var(--vcm-hairline);
    border-right: 1px solid var(--vcm-hairline);
    min-height: var(--vcm-grid-min-row);
    padding: 3px;
    vertical-align: top;
    position: relative;
}

.vcm-grid-cell.empty {
    background: var(--vcm-bg-page);
}

/* Full-width band for plenary / break */

.vcm-grid-full {
    border-bottom: 1px solid var(--vcm-hairline);
    padding: 10px 16px;
    background: var(--vcm-bg-panel);
}

.vcm-grid-full-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vcm-grid-full .vcm-block-type-badge {
    flex-shrink: 0;
}

.vcm-grid-full-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--vcm-text);
}

.vcm-grid-full-time {
    font-size: 12px;
    color: var(--vcm-text-muted);
    font-variant-numeric: tabular-nums;
    margin-left: auto;
    flex-shrink: 0;
}

.vcm-grid-full-speaker {
    font-size: 12px;
    color: var(--vcm-text-secondary);
    font-weight: 400;
}

.vcm-grid-full-room {
    font-size: 11px;
    color: var(--vcm-text-muted);
}


/* ── Block Card (inside grid cell) ── */

.vcm-block-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    padding: 6px 8px;
    border-left: 2px solid var(--vcm-hairline);
    border-radius: 0 var(--vcm-radius-chip) var(--vcm-radius-chip) 0;
    background: var(--vcm-bg-page);
    cursor: pointer;
    transition: background var(--vcm-transition);
    overflow: hidden;
}

.vcm-block-card:hover {
    background: var(--vcm-bg-panel);
}

.vcm-block-card-num {
    font-size: 11px;
    font-weight: 600;
    color: var(--vcm-text);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vcm-block-card-title {
    font-size: 10px;
    color: var(--vcm-text-muted);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 2px;
}

.vcm-block-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
}

.vcm-block-card-time {
    font-size: 10px;
    color: var(--vcm-text-muted);
    font-variant-numeric: tabular-nums;
}

.vcm-block-card-count {
    font-size: 10px;
    color: var(--vcm-text-muted);
}


/* ── Type Badge ── */

.vcm-block-type-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 1px 6px;
    border: 1px solid var(--vcm-text-muted);
    border-radius: var(--vcm-radius-chip);
    color: var(--vcm-text-secondary);
    background: transparent;
    line-height: 1.4;
    text-transform: capitalize;
    white-space: nowrap;
}

.vcm-block-type-badge.badge-break {
    border-color: var(--vcm-hairline);
    color: var(--vcm-text-muted);
    font-weight: 400;
}


/* ═══════════════════════════════════════════════════════════
   Side Panel (Desktop — talk detail)
   ═══════════════════════════════════════════════════════════ */

.vcm-panel-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 200;
}

.vcm-panel-overlay.open {
    display: block;
}

.vcm-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--vcm-panel-width);
    max-width: 90vw;
    background: var(--vcm-bg-page);
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.08);
}

.vcm-panel.open {
    transform: translateX(0);
}

body.vcm-panel-active {
    overflow: hidden;
}

.vcm-panel-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: var(--vcm-text-muted);
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: background var(--vcm-transition);
}

.vcm-panel-close:hover {
    background: var(--vcm-bg-panel);
}

.vcm-panel-header {
    padding: 24px 20px 16px;
    border-bottom: 1px solid var(--vcm-hairline);
    flex-shrink: 0;
}

.vcm-panel-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.vcm-panel-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--vcm-text);
    line-height: 1.4;
    margin: 0 0 6px;
}

.vcm-panel-topic {
    font-size: 13px;
    color: var(--vcm-text-secondary);
    margin-bottom: 8px;
}

.vcm-panel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--vcm-text-muted);
    font-variant-numeric: tabular-nums;
}

.vcm-panel-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vcm-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.vcm-panel-talk-count {
    padding: 12px 20px;
    font-size: 12px;
    color: var(--vcm-text-muted);
    border-bottom: 1px solid var(--vcm-hairline);
}

.vcm-panel-talks {
    list-style: none;
    margin: 0;
    padding: 0;
}


/* ── Talk Row ── */

.vcm-talk-row {
    padding: 12px 20px;
    border-bottom: 1px solid var(--vcm-hairline);
    cursor: pointer;
    transition: background var(--vcm-transition);
}

.vcm-talk-row:hover {
    background: var(--vcm-bg-panel);
}

.vcm-talk-row:last-child {
    border-bottom: none;
}

.vcm-talk-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.vcm-talk-time {
    font-size: 12px;
    font-weight: 600;
    color: var(--vcm-text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    min-width: 44px;
    flex-shrink: 0;
    padding-top: 1px;
}

.vcm-talk-info {
    flex: 1;
    min-width: 0;
}

.vcm-talk-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--vcm-text);
    line-height: 1.4;
    margin: 0 0 3px;
}

.vcm-talk-presenter {
    font-size: 12px;
    color: var(--vcm-text-secondary);
    font-weight: 500;
}

.vcm-talk-affil {
    font-size: 11px;
    color: var(--vcm-text-muted);
    font-weight: 400;
}

.vcm-talk-type-badge {
    font-size: 10px;
    font-weight: 500;
    padding: 1px 5px;
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-chip);
    color: var(--vcm-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.vcm-talk-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding-left: 54px;
}

/* Talk Detail (expandable) */

.vcm-talk-detail {
    display: none;
    padding: 10px 0 4px 54px;
}

.vcm-talk-row.expanded .vcm-talk-detail {
    display: block;
}

.vcm-talk-keywords {
    font-size: 11px;
    color: var(--vcm-text-muted);
    margin-bottom: 6px;
}

.vcm-talk-keywords span {
    font-weight: 500;
    color: var(--vcm-text-secondary);
}

.vcm-talk-abstract {
    font-size: 12px;
    color: var(--vcm-text-secondary);
    line-height: 1.6;
    max-height: 200px;
    overflow-y: auto;
}


/* ═══════════════════════════════════════════════════════════
   Mobile Layout (<1024px)
   ═══════════════════════════════════════════════════════════ */

.vcm-mobile-list {
    display: block;
}

@media (min-width: 1024px) {
    .vcm-mobile-list {
        display: none;
    }
}

.vcm-timeslot-group {
    margin-bottom: 20px;
}

.vcm-timeslot-heading {
    font-size: 13px;
    font-weight: 600;
    color: var(--vcm-text);
    padding: 8px 0;
    font-variant-numeric: tabular-nums;
    position: sticky;
    top: 52px;
    background: var(--vcm-bg-page);
    z-index: 5;
    border-bottom: 1px solid var(--vcm-hairline);
}

.vcm-timeslot-heading::after {
    content: '';
    display: block;
    width: 34px;
    height: 3px;
    background: var(--vcm-gold);
    margin-top: 4px;
}

.vcm-mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
}

/* Mobile Block Card */

.vcm-mobile-card {
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-card);
    background: var(--vcm-bg-page);
    overflow: hidden;
    transition: border-color var(--vcm-transition);
}

.vcm-mobile-card.expanded {
    border-color: var(--vcm-text-muted);
}

.vcm-mobile-card-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
}

.vcm-mobile-card-body {
    flex: 1;
    min-width: 0;
}

.vcm-mobile-card-top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.vcm-mobile-card-room {
    font-size: 11px;
    font-weight: 500;
    color: var(--vcm-text-muted);
    padding: 1px 6px;
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-chip);
    white-space: nowrap;
}

.vcm-mobile-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--vcm-text);
    line-height: 1.4;
}

.vcm-mobile-card-topic {
    font-size: 12px;
    color: var(--vcm-text-secondary);
    margin-top: 2px;
}

.vcm-mobile-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    font-size: 11px;
    color: var(--vcm-text-muted);
    font-variant-numeric: tabular-nums;
}

.vcm-mobile-card-chevron {
    flex-shrink: 0;
    color: var(--vcm-text-muted);
    font-size: 14px;
    padding-top: 2px;
    transition: transform var(--vcm-transition);
}

.vcm-mobile-card.expanded .vcm-mobile-card-chevron {
    transform: rotate(90deg);
}

/* Mobile Talk List (accordion) */

.vcm-mobile-talks {
    display: none;
    border-top: 1px solid var(--vcm-hairline);
}

.vcm-mobile-card.expanded .vcm-mobile-talks {
    display: block;
}

.vcm-mobile-talk {
    padding: 10px 14px;
    border-bottom: 1px solid var(--vcm-hairline);
}

.vcm-mobile-talk:last-child {
    border-bottom: none;
}

.vcm-mobile-talk-time {
    font-size: 11px;
    font-weight: 600;
    color: var(--vcm-text-secondary);
    font-variant-numeric: tabular-nums;
    margin-bottom: 2px;
}

.vcm-mobile-talk-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--vcm-text);
    line-height: 1.4;
}

.vcm-mobile-talk-presenter {
    font-size: 12px;
    color: var(--vcm-text-secondary);
    margin-top: 2px;
}

.vcm-mobile-talk-affil {
    font-size: 11px;
    color: var(--vcm-text-muted);
}

/* Full-width break on mobile */

.vcm-mobile-break {
    padding: 10px 14px;
    background: var(--vcm-bg-panel);
    border-radius: var(--vcm-radius-chip);
    font-size: 12px;
    color: var(--vcm-text-muted);
    text-align: center;
}


/* ── Mobile Filter Bottom Sheet ── */

.vcm-filter-sheet {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 0, 0, 0.3);
}

.vcm-filter-sheet.open {
    display: block;
}

.vcm-filter-sheet-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 80vh;
    background: var(--vcm-bg-page);
    border-radius: 16px 16px 0 0;
    overflow-y: auto;
    padding: 8px 16px 24px;
    -webkit-overflow-scrolling: touch;
}

.vcm-filter-sheet-handle {
    width: 36px;
    height: 4px;
    background: var(--vcm-hairline);
    border-radius: 2px;
    margin: 0 auto 12px;
}

@media (min-width: 1024px) {
    .vcm-filter-sheet,
    .vcm-filter-mobile-btn {
        display: none !important;
    }
}

.vcm-filter-mobile-btn {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--vcm-text-secondary);
    background: var(--vcm-bg-page);
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-chip);
    cursor: pointer;
    font-family: var(--vcm-font);
    margin-bottom: 12px;
}

@media (max-width: 1023px) {
    .vcm-filter-mobile-btn {
        display: inline-flex;
    }
    .vcm-filters {
        display: none;
    }
}


/* ═══════════════════════════════════════════════════════════
   Favorites
   ═══════════════════════════════════════════════════════════ */

.vcm-fav-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--vcm-text-muted);
    padding: 2px;
    line-height: 1;
    transition: color var(--vcm-transition);
}

.vcm-fav-btn:hover {
    color: var(--vcm-gold);
}

.vcm-fav-btn.active {
    color: var(--vcm-gold);
}

.vcm-fav-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--vcm-text-secondary);
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-chip);
    background: none;
    font-family: var(--vcm-font);
    transition: border-color var(--vcm-transition), background var(--vcm-transition);
}

.vcm-fav-filter.active {
    border-color: var(--vcm-gold);
    background: rgba(200, 162, 74, 0.08);
}

.vcm-fav-filter .vcm-fav-star {
    color: var(--vcm-gold);
}


/* ═══════════════════════════════════════════════════════════
   Common Elements
   ═══════════════════════════════════════════════════════════ */

.vcm-empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--vcm-text-muted);
}

.vcm-empty-state-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--vcm-text-secondary);
    margin-bottom: 6px;
}

.vcm-empty-state-desc {
    font-size: 13px;
    margin-bottom: 16px;
}

.vcm-empty-state-btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--vcm-text-secondary);
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-chip);
    background: none;
    cursor: pointer;
    font-family: var(--vcm-font);
    transition: border-color var(--vcm-transition);
}

.vcm-empty-state-btn:hover {
    border-color: var(--vcm-text-muted);
}

.vcm-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
}

.vcm-loading-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--vcm-hairline);
    border-top-color: var(--vcm-gold);
    border-radius: 50%;
    animation: vcm-spin 0.8s linear infinite;
}

@keyframes vcm-spin {
    to { transform: rotate(360deg); }
}

.vcm-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-chip);
    color: var(--vcm-text-muted);
}


/* ── Now / Next Indicators ── */

.vcm-now-indicator {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 1px 6px;
    border-radius: var(--vcm-radius-chip);
    background: var(--vcm-gold);
    color: #fff;
    text-transform: uppercase;
}

.vcm-next-indicator {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 1px 6px;
    border-radius: var(--vcm-radius-chip);
    border: 1px solid var(--vcm-gold);
    color: var(--vcm-gold-dark);
    text-transform: uppercase;
}


/* ── Calendar Export ── */

.vcm-cal-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: var(--vcm-text-muted);
    background: none;
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-chip);
    padding: 3px 8px;
    cursor: pointer;
    font-family: var(--vcm-font);
    transition: border-color var(--vcm-transition), color var(--vcm-transition);
}

.vcm-cal-btn:hover {
    border-color: var(--vcm-text-muted);
    color: var(--vcm-text-secondary);
}

.vcm-cal-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: var(--vcm-bg-page);
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-card);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 50;
    min-width: 180px;
    display: none;
}

.vcm-cal-dropdown.open {
    display: block;
}

.vcm-cal-dropdown-item {
    display: block;
    width: 100%;
    padding: 8px 14px;
    font-size: 12px;
    color: var(--vcm-text-secondary);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--vcm-font);
    transition: background var(--vcm-transition);
}

.vcm-cal-dropdown-item:hover {
    background: var(--vcm-bg-panel);
}


/* ═══════════════════════════════════════════════════════════
   JS-Generated Classes — Desktop Grid (table-based)
   ═══════════════════════════════════════════════════════════ */

.vcm-day-tablist {
    display: flex;
    gap: 0;
    width: 100%;
}

.vcm-grid-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 24px;
}

.vcm-grid-table {
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

@media (max-width: 1023px) {
    .vcm-grid-container {
        display: none;
    }
}

.vcm-room-name {
    display: block;
    font-size: 11px;
    font-weight: 600;
}

.vcm-room-floor {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: var(--vcm-text-muted);
    margin-top: 1px;
}

/* Block card header (badge row) */
.vcm-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    margin-bottom: 4px;
}

.vcm-card-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--vcm-text);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.vcm-card-speaker {
    font-size: 10px;
    color: var(--vcm-text-secondary);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vcm-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
}

.vcm-card-time {
    font-size: 10px;
    color: var(--vcm-text-muted);
    font-variant-numeric: tabular-nums;
}

.vcm-card-count {
    font-size: 10px;
    color: var(--vcm-text-muted);
}

/* Full-width band (plenary/keynote/break) */

.vcm-break-band {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 4px 0;
    text-align: center;
}

.vcm-break-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--vcm-text-muted);
    font-style: italic;
}

.vcm-break-time {
    font-size: 11px;
    color: var(--vcm-text-muted);
    font-variant-numeric: tabular-nums;
}

.vcm-full-band {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 4px 0;
    transition: background var(--vcm-transition);
}

.vcm-full-band:hover {
    background: rgba(0, 0, 0, 0.02);
}

.vcm-full-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--vcm-text);
}

.vcm-full-speaker {
    font-size: 12px;
    color: var(--vcm-text-secondary);
    font-weight: 400;
}

.vcm-full-time {
    font-size: 12px;
    color: var(--vcm-text-muted);
    font-variant-numeric: tabular-nums;
    margin-left: auto;
    flex-shrink: 0;
}

.vcm-full-room {
    font-size: 11px;
    color: var(--vcm-text-muted);
}

.vcm-no-data {
    padding: 24px;
    text-align: center;
    color: var(--vcm-text-muted);
    font-size: 13px;
}


/* ═══════════════════════════════════════════════════════════
   JS-Generated Classes — Filter Chips
   ═══════════════════════════════════════════════════════════ */

.vcm-filter-group-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--vcm-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vcm-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.vcm-filter-chip input[type="checkbox"] {
    display: none;
}

.vcm-filter-action-btn {
    font-size: 11px;
    color: var(--vcm-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--vcm-font);
    padding: 2px 6px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.vcm-filter-action-btn:hover {
    color: var(--vcm-text-secondary);
}

.vcm-filter-floor-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.vcm-filter-floor-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--vcm-text-muted);
    min-width: 24px;
    text-align: center;
    padding: 2px 0;
    flex-shrink: 0;
}

.vcm-filter-search-input {
    width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    font-family: var(--vcm-font);
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-chip);
    background: var(--vcm-bg-page);
    color: var(--vcm-text);
    outline: none;
    transition: border-color var(--vcm-transition);
}

.vcm-filter-search-input:focus {
    border-color: var(--vcm-gold);
}

/* Symposia collapsible */

.vcm-sym-toggle {
    cursor: pointer;
    user-select: none;
}

.vcm-sym-count {
    font-weight: 400;
    font-size: 10px;
}

.vcm-sym-arrow {
    font-size: 10px;
    transition: transform var(--vcm-transition);
}

.vcm-sym-panel {
    display: none;
    padding: 4px 0 0;
}

.vcm-sym-panel.open {
    display: block;
}

.vcm-sym-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.vcm-sym-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
}

.vcm-sym-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    color: var(--vcm-text-secondary);
    padding: 4px 0;
    cursor: pointer;
}

.vcm-sym-item input[type="checkbox"] {
    display: none;
}

.vcm-sym-item .vcm-chip-check {
    display: none;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    font-size: 10px;
}

.vcm-sym-item.checked .vcm-chip-check {
    display: inline-block;
}

.vcm-fav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--vcm-text-secondary);
    cursor: pointer;
    font-family: var(--vcm-font);
}

.vcm-fav-toggle input[type="checkbox"] {
    accent-color: var(--vcm-gold);
}

.vcm-fav-star {
    color: var(--vcm-gold);
}

/* Filter hidden state */

.filtered-out {
    display: none !important;
}


/* ═══════════════════════════════════════════════════════════
   JS-Generated Classes — Mobile List
   ═══════════════════════════════════════════════════════════ */

.vcm-timeslot-header {
    font-size: 13px;
    font-weight: 600;
    color: var(--vcm-text);
    padding: 8px 0;
    font-variant-numeric: tabular-nums;
    position: sticky;
    top: 52px;
    background: var(--vcm-bg-page);
    z-index: 5;
    border-bottom: 1px solid var(--vcm-hairline);
}

.vcm-timeslot-header::after {
    content: '';
    display: block;
    width: 34px;
    height: 3px;
    background: var(--vcm-gold);
    margin-top: 4px;
}

.vcm-timeslot-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
}

.vcm-mcard-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    cursor: pointer;
}

.vcm-mcard-body {
    border-top: 1px solid var(--vcm-hairline);
    padding: 0;
}

.vcm-mcard-top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.vcm-mcard-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--vcm-text);
    line-height: 1.4;
}

.vcm-mcard-speaker {
    font-size: 12px;
    color: var(--vcm-text-secondary);
    margin-top: 2px;
}

.vcm-mcard-room {
    font-size: 11px;
    font-weight: 500;
    color: var(--vcm-text-muted);
    padding: 1px 6px;
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-chip);
    white-space: nowrap;
}

.vcm-mcard-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    font-size: 11px;
    color: var(--vcm-text-muted);
    font-variant-numeric: tabular-nums;
}

.vcm-mcard-time {
    font-size: 11px;
    color: var(--vcm-text-muted);
    font-variant-numeric: tabular-nums;
}

.vcm-mcard-count {
    font-size: 11px;
    color: var(--vcm-text-muted);
}

.vcm-mobile-card.is-break {
    background: var(--vcm-bg-panel);
    border-color: transparent;
}

.vcm-mobile-card.is-break .vcm-mcard-header {
    cursor: default;
}

.vcm-mobile-card.is-break .vcm-mcard-title {
    font-weight: 400;
    font-style: italic;
    color: var(--vcm-text-muted);
    text-align: center;
}

.vcm-mobile-card.expanded {
    border-color: var(--vcm-text-muted);
}


/* ═══════════════════════════════════════════════════════════
   JS-Generated Classes — Side Panel
   ═══════════════════════════════════════════════════════════ */

.vcm-panel-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.vcm-panel-speaker {
    font-size: 13px;
    color: var(--vcm-text-secondary);
    margin-bottom: 4px;
}

.vcm-panel-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--vcm-text-muted);
    font-variant-numeric: tabular-nums;
    margin-top: 8px;
}

.vcm-panel-time,
.vcm-panel-room,
.vcm-panel-chair {
    white-space: nowrap;
}

.vcm-panel-cal {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.vcm-panel-talks {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.vcm-panel-talks-heading {
    font-size: 12px;
    font-weight: 600;
    color: var(--vcm-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 20px;
    border-bottom: 1px solid var(--vcm-hairline);
    margin: 0;
}

.vcm-panel-talk {
    padding: 12px 20px;
    border-bottom: 1px solid var(--vcm-hairline);
}

.vcm-panel-talk:last-child {
    border-bottom: none;
}

.vcm-ptalk-header {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    transition: background var(--vcm-transition);
    padding: 2px 0;
}

.vcm-ptalk-header:hover {
    background: var(--vcm-bg-panel);
    margin: -2px -8px;
    padding: 4px 8px;
    border-radius: var(--vcm-radius-chip);
}

.vcm-ptalk-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--vcm-text);
    line-height: 1.4;
    flex: 1;
    min-width: 0;
}

.vcm-ptalk-authors {
    font-size: 12px;
    color: var(--vcm-text-secondary);
    margin-top: 4px;
    line-height: 1.5;
}

.vcm-ptalk-detail {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--vcm-hairline);
}

.vcm-ptalk-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.vcm-keyword-tag {
    font-size: 11px;
    color: var(--vcm-text-secondary);
    background: var(--vcm-bg-panel);
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
}

.vcm-ptalk-abstract {
    font-size: 12px;
    color: var(--vcm-text-secondary);
    line-height: 1.6;
    max-height: 200px;
    overflow-y: auto;
}

.vcm-ptalk-cal {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.vcm-no-talks {
    padding: 16px 20px;
    text-align: center;
    color: var(--vcm-text-muted);
    font-size: 13px;
}


/* ═══════════════════════════════════════════════════════════
   JS-Generated Classes — Buttons
   ═══════════════════════════════════════════════════════════ */

.vcm-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    font-family: var(--vcm-font);
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-chip);
    background: var(--vcm-bg-page);
    color: var(--vcm-text-secondary);
    padding: 6px 12px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color var(--vcm-transition), background var(--vcm-transition);
}

.vcm-btn:hover {
    border-color: var(--vcm-text-muted);
    background: var(--vcm-bg-panel);
}

.vcm-btn-sm {
    font-size: 11px;
    padding: 4px 10px;
}

.vcm-btn-xs {
    font-size: 10px;
    padding: 3px 8px;
}

.vcm-btn-ics {
    border-color: var(--vcm-gold);
    color: var(--vcm-gold-dark);
}

.vcm-btn-ics:hover {
    background: rgba(200, 162, 74, 0.08);
}

.vcm-btn-gcal {
    color: var(--vcm-text-muted);
}

.vcm-btn-clear-filters {
    border-color: var(--vcm-gold);
    color: var(--vcm-gold-dark);
}

.vcm-btn-dl-favs {
    margin-left: 12px;
}


/* ═══════════════════════════════════════════════════════════
   JS-Generated Classes — Talk List (used in mobile cards)
   ═══════════════════════════════════════════════════════════ */

.vcm-talk-list {
    padding: 0;
}

.vcm-talk-row {
    padding: 10px 14px;
    border-bottom: 1px solid var(--vcm-hairline);
}

.vcm-talk-row:last-child {
    border-bottom: none;
}

.vcm-talk-main {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.vcm-talk-presenter {
    font-size: 12px;
    color: var(--vcm-text-secondary);
    margin-top: 4px;
    padding-left: 0;
}


/* ═══════════════════════════════════════════════════════════
   JS-Generated Classes — Empty State
   ═══════════════════════════════════════════════════════════ */

.vcm-empty-msg {
    text-align: center;
}

.vcm-empty-msg p {
    margin: 0 0 8px;
}

.vcm-empty-reasons {
    font-size: 12px;
    color: var(--vcm-text-muted);
}


/* ═══════════════════════════════════════════════════════════
   JS-Generated Classes — Now / Next
   ═══════════════════════════════════════════════════════════ */

.vcm-is-now {
    box-shadow: inset 0 0 0 2px var(--vcm-gold);
    border-radius: var(--vcm-radius-chip);
}

.vcm-is-next {
    box-shadow: inset 0 0 0 1px var(--vcm-gold-light);
    border-radius: var(--vcm-radius-chip);
}


/* ═══════════════════════════════════════════════════════════
   Accessibility
   ═══════════════════════════════════════════════════════════ */

.vcm-program *:focus-visible {
    outline: 2px solid var(--vcm-gold);
    outline-offset: 2px;
}

.vcm-day-tab:focus-visible {
    outline-offset: -2px;
}

[aria-expanded="true"] > .vcm-mobile-card-chevron {
    transform: rotate(90deg);
}


/* ═══════════════════════════════════════════════════════════
   Tablet (≥768px, <1024px)
   ═══════════════════════════════════════════════════════════ */

@media (min-width: 768px) and (max-width: 1023px) {
    .vcm-mobile-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .vcm-mobile-card {
        break-inside: avoid;
    }

    .vcm-symposium-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Small mobile */

@media (max-width: 767px) {
    .vcm-program {
        padding: 0 12px;
    }

    .vcm-day-tab {
        padding: 10px 4px 8px;
        font-size: 12px;
    }

    .vcm-day-tab .vcm-tab-date {
        font-size: 12px;
    }

    .vcm-day-tab .vcm-tab-weekday {
        font-size: 10px;
    }

    .vcm-panel {
        width: 100vw;
        max-width: 100vw;
    }

    .vcm-symposium-grid {
        grid-template-columns: 1fr;
    }
}


/* ── Missing structural rules ── */

.vcm-filter-toggle-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--vcm-text);
}

.vcm-filter-group--collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.vcm-filter-group--collapsible.expanded {
    max-height: 600px;
}

.vcm-grid-full-row .vcm-grid-full {
    background: var(--vcm-bg-panel);
    padding: 8px 12px;
    border-bottom: 1px solid var(--vcm-hairline);
}

.vcm-fav-only .vcm-fav-toggle {
    background: var(--vcm-gold);
    color: #fff;
    border-color: var(--vcm-gold);
}

.vcm-result-count {
    font-size: 0.82rem;
    color: var(--vcm-text-muted);
    padding: 4px 0;
}


/* ═══════════════════════════════════════════════════════════
   v3.3.1 — Grid cards, all-days search, calendar menus
   (placed after the base rules on purpose: these override them)
   ═══════════════════════════════════════════════════════════ */

.vcm-program {
    --vcm-navy:       #1c2a48;
    --vcm-navy-hover: #26385e;
    --vcm-room-col:   156px;
    --vcm-time-col:   60px;
}

.vcm-sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ── Toolbar: search (all days) + My Program ── */

.vcm-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin: 0 0 12px;
}

.vcm-search {
    position: relative;
    flex: 1 1 320px;
    min-width: 0;
}

.vcm-program .vcm-search-input {
    width: 100%;
    height: 42px;
    padding: 0 40px 0 14px;
    font: 500 14px/1 var(--vcm-font);
    color: var(--vcm-text);
    background: var(--vcm-bg-page);
    border: 1px solid #cfd4db;
    border-radius: var(--vcm-radius-card);
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.vcm-program .vcm-search-input::placeholder { color: var(--vcm-text-muted); font-weight: 400; }

.vcm-program .vcm-search-input:focus {
    outline: none;
    border-color: var(--vcm-gold);
    box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.22);
}

.vcm-program .vcm-search-input::-webkit-search-cancel-button { display: none; }

.vcm-search-clear {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--vcm-text-muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.vcm-search-clear:hover { background: var(--vcm-bg-panel); color: var(--vcm-text); }

.vcm-toolbar .vcm-fav-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: none;
}

/* Day tabs read as "not the current scope" while searching all days */
.vcm-program.is-searching .vcm-day-tab.active {
    color: var(--vcm-text-muted);
    font-weight: 500;
    border-bottom-color: transparent;
}

.vcm-program.is-searching .vcm-filter-result-count { display: none; }

/* ── Desktop grid ── */

.vcm-grid-scroll {
    overflow: auto;
    max-height: calc(100vh - 120px);
    border: 1px solid var(--vcm-hairline);
    border-radius: var(--vcm-radius-card);
    background: var(--vcm-bg-page);
}

.vcm-program .vcm-grid-table {
    width: max(100%, calc(var(--vcm-time-col) + var(--vcm-cols, 4) * var(--vcm-room-col)));
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    font-size: 12px;
}

.vcm-program .vcm-grid-table th,
.vcm-program .vcm-grid-table td {
    border: 0;
    margin: 0;
}

.vcm-program .vcm-grid-corner {
    width: var(--vcm-time-col);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 6;
    background: var(--vcm-bg-page);
    border-bottom: 1px solid #d5d9df;
}

.vcm-program .vcm-grid-room-header {
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 9px 6px 8px;
    background: var(--vcm-bg-page);
    border-bottom: 1px solid #d5d9df;
    border-left: 1px solid var(--vcm-hairline);
    text-align: center;
}

.vcm-program .vcm-grid-room-header .vcm-room-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--vcm-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vcm-program .vcm-grid-time {
    position: sticky;
    left: 0;
    z-index: 4;
    width: var(--vcm-time-col);
    padding: 0 8px 0 0;
    background: var(--vcm-bg-page);
    color: var(--vcm-text-muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 14px;
    text-align: right;
    vertical-align: top;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.vcm-program .vcm-grid-time.is-start { color: var(--vcm-text); font-weight: 600; }

/* Row heights are set inline (proportional to slot duration); keep cells content-free */
.vcm-program .vcm-slot-row > td { padding-top: 0; padding-bottom: 0; line-height: 0; font-size: 0; }
.vcm-program .vcm-slot-row.is-hour > td { border-top: 1px solid var(--vcm-hairline); }
.vcm-program .vcm-time-label {
    position: absolute;
    top: 1px;
    right: 8px;
    font-size: 11px;
    line-height: 14px;
}

.vcm-program .vcm-grid-cell {
    position: relative;
    padding: 0;
    min-height: 0;
    border-left: 1px solid #f0f1f3;
    vertical-align: top;
}

.vcm-program .vcm-grid-cell.empty { background: transparent; }

/* Card fills the whole (row-spanned) cell */
.vcm-grid-cell.has-block .vcm-block-card {
    position: absolute;
    inset: 2px 3px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 5px 8px;
    border: 1px solid var(--trk-line, #d3dae3);
    border-radius: 4px;
    background: var(--trk-bg, #edf1f6);
    color: var(--vcm-text);
    font-size: 11.5px;
    line-height: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.vcm-grid-cell.has-block .vcm-block-card:hover,
.vcm-grid-cell.has-block .vcm-block-card:focus-visible {
    background: var(--trk-bg-hover, #e1e7ef);
    border-color: var(--trk, #4a5a73);
    z-index: 2;
}

.vcm-grid-cell.has-block .vcm-block-card:focus-visible { outline: 2px solid var(--vcm-gold); outline-offset: 1px; }

.vcm-block-card .vcm-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    min-height: 15px;
}

.vcm-program .vcm-card-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--trk, #4a5a73);
    white-space: nowrap;
}

.vcm-block-card .vcm-card-time {
    font-size: 10.5px;
    color: var(--vcm-text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.vcm-block-card .vcm-fav-btn {
    margin-left: auto;
    font-size: 14px;
    padding: 0 0 0 2px;
    color: rgba(28, 36, 49, 0.35);
}

.vcm-block-card .vcm-fav-btn.active,
.vcm-block-card .vcm-fav-btn:hover { color: var(--vcm-gold-dark); }

.vcm-block-card .vcm-card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    line-height: 15px;
    color: var(--vcm-text);
    margin: 0;
}

.vcm-block-card .vcm-card-speaker,
.vcm-block-card .vcm-card-topic,
.vcm-block-card .vcm-card-chair,
.vcm-block-card .vcm-card-count {
    font-size: 11px;
    line-height: 15px;
    color: var(--vcm-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vcm-block-card .vcm-card-speaker { font-weight: 600; color: var(--vcm-text); }

.vcm-card-talks {
    list-style: none;
    margin: 3px 0 0;
    padding: 3px 0 0;
    border-top: 1px solid rgba(28, 36, 49, 0.08);
}

.vcm-card-talks li {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    font-size: 11px;
    line-height: 15px;
    white-space: nowrap;
    overflow: hidden;
}

.vcm-card-talk-time {
    flex: none;
    color: var(--vcm-text-muted);
    font-variant-numeric: tabular-nums;
}

.vcm-card-talk-who {
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--vcm-text);
}

.vcm-card-talks .vcm-card-more { color: var(--vcm-text-muted); font-style: italic; }

/* Block-type colours */
.vcm-grid-cell.type-plenary .vcm-block-card {
    --trk: var(--vcm-gold);
    --trk-line: var(--vcm-navy);
    background: var(--vcm-navy);
    color: #fff;
}
.vcm-grid-cell.type-plenary .vcm-block-card:hover { background: var(--vcm-navy-hover); }
.vcm-grid-cell.type-plenary .vcm-card-title,
.vcm-grid-cell.type-plenary .vcm-card-speaker,
.vcm-grid-cell.type-plenary .vcm-card-talk-who { color: #fff; }
.vcm-grid-cell.type-plenary .vcm-card-time,
.vcm-grid-cell.type-plenary .vcm-card-topic,
.vcm-grid-cell.type-plenary .vcm-card-chair,
.vcm-grid-cell.type-plenary .vcm-card-count,
.vcm-grid-cell.type-plenary .vcm-card-talk-time { color: rgba(255, 255, 255, 0.72); }
.vcm-grid-cell.type-plenary .vcm-fav-btn { color: rgba(255, 255, 255, 0.5); }
.vcm-grid-cell.type-plenary .vcm-card-talks { border-top-color: rgba(255, 255, 255, 0.18); }

.vcm-grid-cell.type-keynote .vcm-block-card {
    --trk: #a8832e;
    --trk-bg: #f8f0dc;
    --trk-bg-hover: #f2e3bd;
    --trk-line: #e3d09e;
}

.vcm-grid-cell.type-common .vcm-block-card {
    --trk: #66717f;
    --trk-bg: #eef0f3;
    --trk-bg-hover: #e2e6eb;
    --trk-line: #d6dbe1;
}

/* Filtered-out blocks stay in place (grid alignment) but recede */
.vcm-grid-cell.is-dimmed .vcm-block-card,
.vcm-grid-full.is-dimmed .vcm-full-band {
    opacity: 0.16;
    filter: grayscale(1);
    box-shadow: none;
    cursor: default;
    pointer-events: none;
}

/* Full-width rows: plenary / common bands and breaks */
.vcm-program .vcm-grid-full-row > td { border-top: 1px solid var(--vcm-hairline); }
.vcm-program .vcm-grid-full-row > .vcm-grid-time { padding-top: 8px; color: var(--vcm-text); font-weight: 600; }

.vcm-program .vcm-grid-full {
    padding: 3px;
    background: transparent;
    border-bottom: 0;
}

.vcm-program .vcm-full-band {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 14px;
    padding: 9px 14px;
    border-radius: 6px;
    background: var(--vcm-navy);
    color: #fff;
    cursor: pointer;
}

.vcm-program .vcm-full-band:hover { background: var(--vcm-navy-hover); }
.vcm-program .vcm-full-band .vcm-block-type-badge { border-color: var(--vcm-gold); color: var(--vcm-gold); }
.vcm-program .vcm-full-band .vcm-full-title { font-size: 13px; font-weight: 600; color: #fff; }
.vcm-program .vcm-full-band .vcm-full-speaker { color: #fff; opacity: 0.85; }
.vcm-program .vcm-full-band .vcm-full-time,
.vcm-program .vcm-full-band .vcm-full-room { font-size: 12px; color: rgba(255, 255, 255, 0.72); font-variant-numeric: tabular-nums; }
.vcm-program .vcm-full-band .vcm-fav-btn { color: rgba(255, 255, 255, 0.55); margin-left: auto; }
.vcm-program .vcm-full-band .vcm-fav-btn.active { color: var(--vcm-gold); }

.vcm-program .vcm-grid-full.type-common .vcm-full-band { background: #eef0f3; color: var(--vcm-text); border: 1px solid #d6dbe1; }
.vcm-program .vcm-grid-full.type-common .vcm-full-title { color: var(--vcm-text); }
.vcm-program .vcm-grid-full.type-common .vcm-full-time,
.vcm-program .vcm-grid-full.type-common .vcm-full-room,
.vcm-program .vcm-grid-full.type-common .vcm-full-speaker { color: var(--vcm-text-secondary); }
.vcm-program .vcm-grid-full.type-common .vcm-block-type-badge { border-color: #9aa3ae; color: var(--vcm-text-secondary); }
.vcm-program .vcm-grid-full.type-common .vcm-fav-btn { color: var(--vcm-text-muted); }
.vcm-program .vcm-grid-full.type-keynote .vcm-full-band { background: #f8f0dc; color: var(--vcm-text); border: 1px solid #e3d09e; }
.vcm-program .vcm-grid-full.type-keynote .vcm-full-title { color: var(--vcm-text); }
.vcm-program .vcm-grid-full.type-keynote .vcm-full-time,
.vcm-program .vcm-grid-full.type-keynote .vcm-full-room,
.vcm-program .vcm-grid-full.type-keynote .vcm-full-speaker { color: var(--vcm-text-secondary); }
.vcm-program .vcm-grid-full.type-keynote .vcm-fav-btn { color: var(--vcm-text-muted); }

.vcm-program .vcm-grid-full-row.is-break .vcm-grid-full { padding: 2px 3px; }
.vcm-program .vcm-break-band {
    padding: 5px 12px;
    border-radius: 6px;
    background: #f1f3f5;
    justify-content: center;
}
.vcm-program .vcm-break-title { font-style: normal; font-weight: 600; color: var(--vcm-text-secondary); }

.vcm-program .vcm-no-data {
    padding: 32px 16px;
    text-align: center;
    color: var(--vcm-text-secondary);
    border: 1px dashed var(--vcm-hairline);
    border-radius: var(--vcm-radius-card);
}

/* ── Mobile cards: same colour language ── */
.vcm-mobile-card { border: 1px solid var(--trk-line, var(--vcm-hairline)); border-radius: 6px; }
.vcm-mobile-card.type-session { background: var(--trk-bg, #fff); }
.vcm-mobile-card.type-session.expanded { border-color: var(--trk, var(--vcm-text-muted)); }
.vcm-mobile-card.type-plenary { border-color: var(--vcm-navy); }
.vcm-mobile-card.type-plenary .vcm-mcard-header { background: var(--vcm-navy); color: #fff; }
.vcm-mobile-card.type-plenary .vcm-mcard-title,
.vcm-mobile-card.type-plenary .vcm-mcard-speaker { color: #fff; }
.vcm-mobile-card.type-plenary .vcm-mcard-time,
.vcm-mobile-card.type-plenary .vcm-mcard-room,
.vcm-mobile-card.type-plenary .vcm-mcard-count { color: rgba(255, 255, 255, 0.75); }
.vcm-mobile-card.type-keynote { border-color: #e3d09e; background: #fbf6ea; }
.vcm-mobile-card.type-common { background: #f4f5f7; }
.vcm-mobile-card.is-break { border-style: dashed; background: transparent; }
.vcm-program .vcm-timeslot-header::after { display: none; }
.vcm-program .vcm-timeslot-header { border-bottom: 1px solid var(--vcm-hairline); padding-bottom: 6px; }

.vcm-mcard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0 2px;
}

/* ── Search results ── */

.vcm-search-results { margin-top: 4px; }

.vcm-search-status,
.vcm-search-empty {
    padding: 36px 16px;
    text-align: center;
    color: var(--vcm-text-secondary);
}

.vcm-search-empty-title { font-size: 15px; font-weight: 600; color: var(--vcm-text); margin: 0 0 6px; }

.vcm-search-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: var(--vcm-radius-card);
    background: var(--vcm-navy);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

.vcm-search-summary strong { color: #fff; }
.vcm-search-summary .vcm-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.vcm-search-summary .vcm-btn:hover { background: rgba(255, 255, 255, 0.1); }

.vcm-search-note { font-size: 12px; color: var(--vcm-text-secondary); margin: 0 0 10px; }

.vcm-link-btn {
    border: 0;
    background: none;
    padding: 0;
    color: var(--vcm-gold-dark);
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.vcm-search-day { margin: 18px 0 0; }

.vcm-program .vcm-search-day-title {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    padding: 8px 0;
    background: var(--vcm-bg-page);
    border-bottom: 1px solid var(--vcm-text);
    font-size: 15px;
    font-weight: 600;
    color: var(--vcm-text);
}

.vcm-search-day-count {
    font-size: 11px;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: 10px;
    background: var(--vcm-bg-panel);
    color: var(--vcm-text-secondary);
}

.vcm-search-session {
    margin: 0 0 10px;
    border: 1px solid var(--trk-line, var(--vcm-hairline));
    border-radius: 6px;
    background: var(--vcm-bg-page);
    overflow: hidden;
}

.vcm-search-session.type-plenary { --trk: var(--vcm-navy); --trk-bg: #e8ebf1; --trk-bg-hover: #dde2ea; }
.vcm-search-session.type-keynote { --trk: #a8832e; --trk-bg: #f8f0dc; --trk-bg-hover: #f2e3bd; --trk-line: #e3d09e; }
.vcm-search-session.type-common  { --trk: #66717f; }

.vcm-search-session-head,
.vcm-search-talk {
    display: grid;
    width: 100%;
    margin: 0;
    border: 0;
    background: none;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.vcm-search-session-head {
    grid-template-columns: 92px minmax(70px, 140px) 1fr;
    gap: 2px 12px;
    align-items: baseline;
    padding: 10px 14px;
    background: var(--trk-bg, var(--vcm-bg-panel));
}

.vcm-search-session-head:hover { background: var(--trk-bg-hover, #e9ecf0); }

.vcm-search-when {
    font-size: 12px;
    font-weight: 600;
    color: var(--vcm-text);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.vcm-search-where { font-size: 12px; color: var(--vcm-text-secondary); }

.vcm-search-session-title { font-size: 13px; font-weight: 600; color: var(--vcm-text); }
.vcm-search-speaker { font-weight: 500; color: var(--vcm-text-secondary); }

.vcm-search-topic {
    grid-column: 3;
    font-size: 12px;
    color: var(--vcm-text-secondary);
}

.vcm-search-talks { list-style: none; margin: 0; padding: 0; }
.vcm-search-talks li { margin: 0; padding: 0; border-top: 1px solid var(--vcm-hairline); }

.vcm-search-talk {
    grid-template-columns: 92px 1fr;
    gap: 12px;
    padding: 10px 14px;
}

.vcm-search-talk:hover { background: #fafbfc; }

.vcm-search-talk-time {
    font-size: 12px;
    color: var(--vcm-text-secondary);
    font-variant-numeric: tabular-nums;
}

.vcm-search-talk-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vcm-search-talk-title { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--vcm-text); }
.vcm-search-talk-people { font-size: 12.5px; color: var(--vcm-text-secondary); }
.vcm-search-talk-people strong { color: var(--vcm-text); }
.vcm-search-talk-kw { font-size: 12px; color: var(--vcm-text-muted); }

.vcm-search-results mark {
    background: #f6e7b8;
    color: inherit;
    padding: 0 1px;
    border-radius: 2px;
}

@media (max-width: 640px) {
    .vcm-search-session-head { grid-template-columns: auto 1fr; }
    .vcm-search-session-title,
    .vcm-search-topic { grid-column: 1 / -1; }
    .vcm-search-talk { grid-template-columns: 1fr; gap: 2px; }
}

/* ── Side panel ── */

.vcm-program .vcm-panel-overlay { z-index: 99998; }
.vcm-program .vcm-panel { z-index: 99999; overflow-y: auto; }
.vcm-panel-day { font-size: 12px; font-weight: 600; color: var(--vcm-gold-dark); margin-top: 10px; }
.vcm-panel-talk.is-target { background: #fbf6ea; }
.vcm-ptalk-actions { margin-top: 6px; }

/* ── Calendar menus ── */

.vcm-cal-menu { position: relative; display: inline-block; }

.vcm-program .vcm-cal-trigger {
    border-color: var(--vcm-gold);
    color: var(--vcm-gold-dark);
    font-weight: 600;
}

.vcm-program .vcm-cal-trigger:hover,
.vcm-program .vcm-cal-trigger[aria-expanded="true"] { background: rgba(200, 162, 74, 0.1); border-color: var(--vcm-gold-dark); }

.vcm-program .vcm-cal-dropdown {
    left: 0;
    right: auto;
    min-width: 230px;
    padding: 6px 0;
    z-index: 100000;
}

.vcm-program .vcm-myprog-menu .vcm-cal-dropdown { left: auto; right: 0; }

.vcm-program .vcm-cal-dropdown-item,
.vcm-program .vcm-cal-dropdown .vcm-btn-ics {
    display: block;
    width: 100%;
    padding: 8px 14px;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--vcm-text);
    font: 500 13px/1.3 var(--vcm-font);
    text-align: left;
    text-decoration: none;
}

.vcm-program .vcm-cal-dropdown-item:hover { background: var(--vcm-bg-panel); }

.vcm-cal-dropdown-label {
    padding: 8px 14px 4px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--vcm-text-muted);
}

.vcm-cal-dropdown-label + .vcm-cal-dropdown-item { margin-top: 0; }

.vcm-cal-dropdown-note {
    margin: 6px 14px 4px;
    padding-top: 8px;
    border-top: 1px solid var(--vcm-hairline);
    font-size: 11px;
    line-height: 1.45;
    color: var(--vcm-text-muted);
}



/* ── Filter bar layout (count on the right, works on mobile too) ── */
.vcm-program .vcm-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.vcm-program .vcm-filter-toggle { flex: 1 1 auto; width: auto; justify-content: flex-start; gap: 4px; }
.vcm-program .vcm-filter-toggle-icon { order: 3; margin-left: 8px; }
.vcm-program .vcm-filter-toggle-icon::after { content: '▾'; }
.vcm-program .vcm-filter-result-count {
    order: 2;
    padding: 0 16px;
    font-size: 12px;
    color: var(--vcm-text-muted);
    white-space: nowrap;
}
.vcm-program .vcm-filter-body { order: 4; flex: 0 0 100%; padding-top: 14px; }
@media (max-width: 1023px) {
    .vcm-program .vcm-filters { display: flex; }
    .vcm-program .vcm-filter-summary { display: none; }
}

/* Full-width band: time pushed right */
.vcm-program .vcm-full-band .vcm-full-time { margin-left: 0; }
.vcm-program .vcm-full-band .vcm-fav-btn { margin-left: 0; }

/* Day tabs scroll instead of clipping on narrow screens */
.vcm-program .vcm-day-tablist { overflow-x: auto; scrollbar-width: none; }
.vcm-program .vcm-day-tablist::-webkit-scrollbar { display: none; }
@media (max-width: 640px) {
    .vcm-program .vcm-day-tab { flex: 0 0 auto; padding-left: 12px; padding-right: 12px; }
}

/* Mobile plenary card badge on navy */
.vcm-mobile-card.type-plenary .vcm-block-type-badge { color: var(--vcm-gold); border-color: var(--vcm-gold); }
.vcm-mobile-card.type-plenary .vcm-fav-btn { color: rgba(255, 255, 255, 0.6); }


/* ── Poster blocks (all symposia) ── */
.vcm-grid-cell.type-poster .vcm-block-card {
    --trk: #3d6b4c;
    --trk-bg: #e8f0ea;
    --trk-bg-hover: #dbe8df;
    --trk-line: #bfd4c5;
}
.vcm-program .vcm-grid-full.type-poster .vcm-full-band { background: #e8f0ea; color: var(--vcm-text); border: 1px solid #bfd4c5; }
.vcm-program .vcm-grid-full.type-poster .vcm-full-band:hover { background: #dbe8df; }
.vcm-program .vcm-grid-full.type-poster .vcm-full-title { color: var(--vcm-text); }
.vcm-program .vcm-grid-full.type-poster .vcm-full-time,
.vcm-program .vcm-grid-full.type-poster .vcm-full-room { color: var(--vcm-text-secondary); }
.vcm-program .vcm-grid-full.type-poster .vcm-block-type-badge { border-color: #3d6b4c; color: #3d6b4c; }
.vcm-program .vcm-grid-full.type-poster .vcm-fav-btn { color: var(--vcm-text-muted); }
.vcm-mobile-card.type-poster { background: #f1f6f2; border-color: #bfd4c5; }
.vcm-search-session.type-poster { --trk: #3d6b4c; --trk-bg: #e8f0ea; --trk-bg-hover: #dbe8df; --trk-line: #bfd4c5; }

.vcm-program .vcm-poster-no {
    display: inline-block;
    min-width: 44px;
    padding: 1px 6px;
    border: 1px solid #bfd4c5;
    border-radius: 3px;
    background: #f1f6f2;
    color: #2f5a3d;
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: center;
    line-height: 16px;
    margin-right: 8px;
    flex: none;
    white-space: nowrap;
}

.vcm-program .vcm-poster-group {
    margin: 0;
    padding: 14px 20px 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--vcm-text-secondary);
    border-bottom: 1px solid var(--vcm-hairline);
}
.vcm-program .vcm-poster-group span { font-weight: 400; color: var(--vcm-text-muted); margin-left: 4px; }
.vcm-program .vcm-poster-list .vcm-poster-group { padding: 12px 0 4px; }

.vcm-program .vcm-poster-filter {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 8px;
    height: 34px;
    padding: 0 10px;
    font: 13px var(--vcm-font);
    border: 1px solid #cfd4db;
    border-radius: 4px;
}
.vcm-program .vcm-poster-filter:focus { outline: none; border-color: var(--vcm-gold); }

/* Presentation number (printed program code) — outlined, unlike the filled poster board number */
.vcm-program .vcm-presno {
    display: inline-block;
    margin-right: 6px;
    padding: 0 5px;
    border: 1px solid #c9ced6;
    border-radius: 3px;
    color: var(--vcm-text-secondary);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 16px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    vertical-align: 1px;
}

/* ═══════════════════════════════════════════════════════════
   Print Stylesheet
   ═══════════════════════════════════════════════════════════ */

@media print {
    .vcm-program {
        max-width: none;
        padding: 0;
        font-size: 10pt;
    }

    .vcm-day-tabs {
        position: static;
        border-bottom: 2px solid #000;
    }

    .vcm-day-tab {
        color: var(--vcm-text) !important;
    }

    .vcm-day-tab:not(.active) {
        display: none;
    }

    .vcm-day-tab.active {
        font-size: 14pt;
        border-bottom: none;
    }

    .vcm-filters,
    .vcm-filter-mobile-btn,
    .vcm-filter-sheet,
    .vcm-panel-overlay,
    .vcm-fav-btn,
    .vcm-fav-filter,
    .vcm-cal-btn,
    .vcm-filter-actions,
    .vcm-talk-actions,
    .vcm-now-indicator,
    .vcm-next-indicator {
        display: none !important;
    }

    .vcm-grid-wrapper {
        overflow: visible;
    }

    .vcm-grid {
        display: grid !important;
        page-break-inside: avoid;
    }

    .vcm-mobile-list {
        display: none !important;
    }

    .vcm-grid-room-header {
        position: static;
        background: #f0f0f0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .vcm-grid-time {
        position: static;
    }

    .vcm-grid-corner {
        position: static;
    }

    .vcm-grid-cell {
        border: 1px solid #ccc;
    }

    .vcm-block-card {
        border-left-width: 1px;
        font-size: 8pt;
    }

    .vcm-grid-full {
        background: #f5f5f5 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    @page {
        size: A4 landscape;
        margin: 10mm;
    }
}
