/* Keep newly added dates and session titles independent of the site's subset font. */
.recording-archive .section-head h1 { margin: 0; font-size: clamp(29px, 3vw, 38px); font-weight: 500; line-height: 1.45; }
.rc-fallback { margin-top: 20px; font-family: system-ui, "Microsoft YaHei", sans-serif; }
.rc-fallback h2 { font: inherit; font-size: 21px; font-weight: 600; }
.rc-fallback ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.rc-fallback li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; border: 1px solid #ccd7cc; border-radius: 7px; background: rgba(247, 249, 243, .85); }
.rc-fallback a { padding: 7px 13px; border: 1px solid #a5b9ad; border-radius: 999px; color: #3b5549; }
#recording-calendar,
.rc-dialog {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    letter-spacing: normal;
}

#recording-calendar { display: grid; gap: 18px; min-width: 0; }
#recording-calendar[hidden] { display: none; }
.rc-loading {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 10px;
    background: rgba(247, 249, 243, .83);
    color: #607276;
    font-size: 15px;
    text-align: center;
}

.rc-month {
    min-width: 0;
    overflow: clip;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 10px;
    background: rgba(247, 249, 243, .83);
    box-shadow: 0 12px 30px rgba(44, 66, 57, .075);
    backdrop-filter: blur(12px);
}
.rc-month-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 100px;
    padding: 21px 26px;
    color: #344b57;
    list-style: none;
    cursor: pointer;
    transition: background .18s ease;
}
.rc-month-header::-webkit-details-marker { display: none; }
.rc-month-header:hover { background: rgba(238, 244, 235, .7); }
.rc-month-title-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; min-width: 0; }
.rc-month-name { font-size: 24px; font-weight: 650; white-space: nowrap; }
.rc-month-stats { color: #607276; font-size: 14px; line-height: 1.7; }
.rc-month-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.rc-recording-link,
.rc-recording-pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 18px;
    border: 1px solid #a5b9ad;
    border-radius: 999px;
    color: #3b5549;
    background: rgba(255, 255, 255, .67);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}
.rc-recording-link:hover { color: #203f2f; background: #e7f0e6; border-color: #839d8b; }
.rc-recording-pending { border-color: #ccd5ce; color: #738279; background: transparent; font-weight: 400; }
.rc-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    padding: 0;
    color: #84998e;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 25px;
    line-height: 1;
}
.rc-chevron::before { content: "+"; }
.rc-month[open] .rc-chevron::before { content: "−"; }
.rc-month[open] .rc-month-header { border-bottom: 1px solid rgba(80, 103, 92, .16); }
.rc-month-body { min-width: 0; padding: 20px 20px 23px; }
.rc-week-toolbar { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; }
.rc-week-arrow,
.rc-week-select,
.rc-time-toggle {
    min-height: 40px;
    margin: 0;
    border: 1px solid #c5d1c7;
    border-radius: 6px;
    color: #3f5651;
    background: rgba(255, 255, 255, .83);
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
}
.rc-week-arrow { width: 40px; font-size: 25px; cursor: pointer; }
.rc-week-select { width: min(260px, 58vw); padding: 8px 12px; cursor: pointer; }
.rc-time-toggle { padding: 8px 14px; white-space: nowrap; cursor: pointer; }
.rc-time-toggle[aria-pressed="true"] { background: #e3eddf; border-color: #8ea68e; color: #32503b; }
.rc-week-arrow:hover:not(:disabled),
.rc-time-toggle:hover:not(:disabled) { background: #e8f0e6; border-color: #96ad9d; }
.rc-week-arrow:disabled { opacity: .4; cursor: default; }
.rc-chart-hint { margin: 14px 0 12px; color: #687a76; text-align: center; font-size: 12px; line-height: 1.7; }
.rc-week-empty { margin: 12px 0; padding: 12px 16px; border-radius: 6px; color: #5e7366; background: rgba(229, 237, 224, .8); font-size: 14px; text-align: center; }
.rc-week-empty[hidden],
#recording-calendar-fallback[hidden] { display: none; }
.rc-chart-scroll { width: 100%; min-width: 0; max-width: 100%; overflow-x: hidden; border: 1px solid #cbd4cd; border-radius: 7px; background: rgba(255, 255, 255, .86); }
.rc-chart { width: 100%; min-width: 0; padding-bottom: 11px; }
.rc-grid { width: 100%; min-width: 0; margin: 0; border-spacing: 0; table-layout: fixed; color: #365048; font-family: inherit; }
.rc-grid th,
.rc-grid td { padding: 0; border-right: 1px solid #d7dfd8; }
.rc-grid tr > :last-child { border-right: 0; }
.rc-grid thead th { height: 65px; border-bottom: 1px solid #d4ded4; background: rgba(242, 246, 240, .92); text-align: center; }
.rc-time-heading { width: 44px; font-size: 11px; font-weight: 500; }
.rc-weekday { display: block; font-size: 11px; font-weight: 500; }
.rc-date { display: block; margin-top: 3px; font-size: 14px; font-weight: 650; }
.rc-date-compact,
.rc-event-start-compact,
.rc-gap-label-compact { display: none; }
.rc-grid .rc-today { background: #e1eddf; color: #244b34; }
.rc-grid .rc-outside-month { color: #98a79c; background-color: rgba(233, 236, 229, .44); }
.rc-axis-cell { width: 44px; vertical-align: top; }
.rc-axis { position: relative; height: var(--rc-timeline-height, 864px); }
.rc-hour { position: absolute; right: 5px; transform: translateY(-50%); font-size: 10px; line-height: 1; }
.rc-hour-start { transform: translateY(3px); }
.rc-hour-gap { right: 7px; color: #8b9a8c; font-size: 16px; }
.rc-day-cell { vertical-align: top; }
.rc-day-column {
    position: relative;
    height: var(--rc-timeline-height, 864px);
    overflow: visible;
}
.rc-hour-line { position: absolute; inset-inline: 0; height: 0; border-top: 1px solid #dbe2db; pointer-events: none; }
.rc-time-gap {
    position: absolute;
    inset-inline: 0;
    overflow: visible;
    border-top: 1px dashed #c4d0c1;
    border-bottom: 1px dashed #c4d0c1;
    background: repeating-linear-gradient(135deg, rgba(228, 236, 223, .68) 0, rgba(228, 236, 223, .68) 5px, rgba(245, 247, 239, .8) 5px, rgba(245, 247, 239, .8) 10px);
    pointer-events: none;
}
.rc-gap-label {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: max-content;
    max-width: min(560px, calc(700% - 12px));
    padding: 2px 10px;
    overflow: hidden;
    border: 1px solid #d0dbca;
    border-radius: 999px;
    color: #62745d;
    background: rgba(255, 255, 255, .96);
    font-size: 10px;
    line-height: 1.4;
    white-space: nowrap;
    text-overflow: ellipsis;
    pointer-events: none;
}
.rc-event {
    position: absolute;
    z-index: 1;
    display: block;
    min-height: 2px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 4px;
    background: var(--rc-event-bg);
    color: var(--rc-event-text);
    font: inherit;
    font-size: 11px;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: filter .15s ease;
}
.rc-event:hover { z-index: 3; filter: brightness(.97); outline: 2px solid rgba(50, 77, 63, .55); outline-offset: 1px; }
.rc-event-time { display: block; margin: 3px 4px 0; font-size: 10px; font-weight: 700; overflow-wrap: anywhere; }
.rc-event-title { display: block; margin: 3px 4px 0; overflow-wrap: anywhere; }
.rc-event-continuation { display: block; margin: 5px 4px 0; font-size: 10px; opacity: .9; }
/* Monday through Sunday; continuations retain their session's starting weekday. */
.rc-color-0 { --rc-event-bg: #D3D3D3; --rc-event-text: #000; }
.rc-color-1 { --rc-event-bg: #4D4030; --rc-event-text: #fff; }
.rc-color-2 { --rc-event-bg: #9EEEFF; --rc-event-text: #000; }
.rc-color-3 { --rc-event-bg: #DA5D77; --rc-event-text: #000; }
.rc-color-4 { --rc-event-bg: #FCC8CB; --rc-event-text: #000; }
.rc-color-5 { --rc-event-bg: #D4DA7B; --rc-event-text: #000; }
.rc-color-6 { --rc-event-bg: #8eb056; --rc-event-text: #000; }
/* Override the shared stylesheet's forced black text inside colored event blocks. */
#recording-calendar .rc-event,
#recording-calendar .rc-event * { color: var(--rc-event-text) !important; }
.rc-event-unknown { height: 25px; border: 1px dashed currentColor; background-image: repeating-linear-gradient(135deg, transparent 0, transparent 5px, rgba(255, 255, 255, .25) 5px, rgba(255, 255, 255, .25) 9px); }
.rc-event-unknown .rc-event-title { display: none; }
.rc-month-header:focus-visible,
.rc-recording-link:focus-visible,
.rc-week-arrow:focus-visible,
.rc-week-select:focus-visible,
.rc-time-toggle:focus-visible,
.rc-event:focus-visible,
.rc-close:focus-visible { outline: 3px solid #6d937b; outline-offset: 3px; }
.rc-event:focus-visible { z-index: 4; }
.rc-dialog {
    width: min(560px, calc(100% - 32px));
    max-height: calc(100svh - 48px);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 10px;
    background: #f4f6ef;
    color: #344b57;
    box-shadow: 0 25px 80px rgba(22, 42, 30, .23);
}
.rc-dialog::backdrop { background: rgba(24, 38, 31, .48); backdrop-filter: blur(3px); }
.rc-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 25px 18px; border-bottom: 1px solid #d4ddd3; }
.rc-dialog-header h2 { margin: 0; color: #344b57; font: inherit; font-size: 22px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.rc-close { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; color: #526a5d; background: #e5ece2; font: inherit; font-size: 27px; line-height: 1; cursor: pointer; }
.rc-close:hover { background: #dbe7d8; }
.rc-dialog-body { padding: 22px 25px 28px; }
.rc-session-details { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px 18px; margin: 0; font-size: 15px; line-height: 1.8; }
.rc-session-details dt { color: #738276; }
.rc-session-details dd { margin: 0; overflow-wrap: anywhere; }
body.rc-dialog-open { overflow: hidden; }
.rc-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 640px) {
    .rc-month { border-radius: 8px; }
    .rc-month-header { gap: 10px; min-height: 98px; padding: 17px 16px; }
    .rc-month-title-group { display: block; flex: 1 1 auto; }
    .rc-month-name { display: block; font-size: clamp(17px, 4.7vw, 21px); }
    .rc-month-stats { display: block; margin-top: 4px; font-size: 12px; }
    .rc-month-actions { gap: 6px; }
    .rc-recording-link,
    .rc-recording-pending { min-height: 38px; padding: 7px 10px; font-size: 12px; }
    .rc-month-body { padding: 16px 8px; }
    .rc-week-toolbar { display: grid; grid-template-columns: 32px minmax(0, 1fr) 32px; gap: 7px; }
    .rc-week-arrow { width: 32px; min-width: 0; min-height: 36px; font-size: 23px; }
    .rc-week-select { width: 100%; min-width: 0; min-height: 36px; padding: 6px; font-size: 12px; }
    .rc-time-toggle { grid-column: 1 / -1; justify-self: center; min-height: 36px; padding: 7px 12px; font-size: 12px; }
    .rc-chart-hint { padding: 0 2px; font-size: 11px; }
    /* The time axis stays narrow while all seven day columns share the remaining width. */
    .rc-chart-scroll { border-radius: 6px; }
    .rc-grid thead th { height: 52px; }
    .rc-time-heading,
    .rc-axis-cell { width: 26px; }
    .rc-weekday { font-size: 10px; white-space: nowrap; }
    .rc-date { font-size: 11px; white-space: nowrap; }
    .rc-date-full,
    .rc-event-start,
    .rc-event-duration,
    .rc-gap-label-full { display: none; }
    .rc-date-compact,
    .rc-event-start-compact,
    .rc-gap-label-compact { display: inline; }
    .rc-hour { right: 3px; font-size: 9px; }
    .rc-hour-gap { right: 5px; font-size: 14px; }
    .rc-gap-label { padding: 2px 6px; font-size: 9px; }
    .rc-event-time { margin: 2px 2px 0; overflow: hidden; font-size: 10px; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
    .rc-event-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin: 3px 2px 0; max-height: 2.7em; overflow: hidden; font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
    .rc-event-continuation { display: none; }
    .rc-dialog-header { padding: 20px; }
    .rc-dialog-body { padding: 20px; }
    .rc-dialog-header h2 { font-size: 20px; }
    .rc-session-details { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; font-size: 14px; }
}
@media (max-width: 360px) {
    .rc-month-header { gap: 6px; padding-inline: 11px; }
    .rc-month-actions { gap: 3px; }
    .rc-chevron { flex-basis: 24px; width: 24px; }
    .rc-month-stats { font-size: 11px; overflow-wrap: anywhere; }
    .rc-month-body { padding-inline: 6px; }
    .rc-week-select { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .rc-month-header,
    .rc-event { transition: none; }
}

.rc-audience-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin-top: 14px;
}
.rc-audience-details .rc-session-details {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
    min-width: 0;
}
