/* Visible archive controls, isolated to the Home dashboard calendar. */
body.home .bsf-home .bsf-dashboard .bsf-calendar-history-panel {
    box-sizing: border-box;
    margin: 18px 0 12px;
    padding: 16px;
    background: #171015;
    border: 1px solid #a17c43;
    border-radius: 12px;
    color: #fff;
}
body.home .bsf-home .bsf-dashboard .bsf-calendar-history__title {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 14px;
}
body.home .bsf-home .bsf-dashboard .bsf-calendar-history {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 1.5fr) minmax(0, 1fr);
    gap: 12px;
    align-items: end;
    min-width: 0;
}
body.home .bsf-home .bsf-dashboard .bsf-calendar-history > a,
body.home .bsf-home .bsf-dashboard .bsf-calendar-history__disabled,
body.home .bsf-home .bsf-dashboard .bsf-calendar-history__picker button {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #b18b50;
    border-radius: 8px;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: #542038;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    text-align: center;
    overflow-wrap: normal;
    cursor: pointer;
}
body.home .bsf-home .bsf-dashboard .bsf-calendar-history__disabled {
    background: #0c0b0e;
    border-color: #675a4d;
    cursor: default;
}
body.home .bsf-home .bsf-dashboard .bsf-calendar-history__form {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}
body.home .bsf-home .bsf-dashboard .bsf-calendar-history__form label {
    display: block;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px;
}
body.home .bsf-home .bsf-dashboard .bsf-calendar-history__picker {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    min-width: 0;
}
body.home .bsf-home .bsf-dashboard .bsf-calendar-history__picker select {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    min-height: 48px;
    padding: 9px 30px 9px 10px;
    border: 1px solid #b18b50;
    border-radius: 8px;
    color: #fff;
    background: #080b0f;
    color-scheme: dark;
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
}
body.home .bsf-home .bsf-dashboard .bsf-calendar-history__picker option { background: #080b0f; color: #fff; }
body.home .bsf-home .bsf-dashboard .bsf-calendar-history__current {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 10px;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}
body.home .bsf-home .bsf-dashboard .bsf-calendar-history__coverage,
body.home .bsf-home .bsf-dashboard .bsf-calendar-history__note {
    margin: 10px 0 12px;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 13px;
    line-height: 1.55;
}
body.home .bsf-home .bsf-dashboard .bsf-calendar-history__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 16px 0;
    padding: 12px 0;
    border-block: 1px solid #6f5939;
    color: #fff !important;
    font-size: 14px;
    line-height: 1.5;
}
body.home .bsf-home .bsf-dashboard .bsf-calendar-history__total strong {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 22px;
    font-variant-numeric: tabular-nums;
}
body.home .bsf-home .bsf-dashboard .bsf-calendar-history :focus-visible,
body.home .bsf-home .bsf-dashboard .bsf-calendar-history__current:focus-visible {
    outline: 3px solid #e5b95f;
    outline-offset: 3px;
}
body.home .bsf-home .bsf-dashboard #bsf-calendar-title { scroll-margin-top: 100px; }
@media (max-width: 480px) {
    body.home .bsf-home .bsf-dashboard .bsf-calendar-history__picker {
        grid-template-columns: minmax(0, 1fr) 48px;
        gap: 6px;
    }
    body.home .bsf-home .bsf-dashboard .bsf-calendar-history__picker select {
        padding-left: 8px;
        padding-right: 24px;
    }
    body.home .bsf-home .bsf-dashboard .bsf-calendar-history__picker button {
        padding: 8px 4px;
        font-size: 13px;
    }
}
@media (max-width: 720px) {
    body.home .bsf-home .bsf-dashboard .bsf-calendar-history-panel { padding: 12px; }
    body.home .bsf-home .bsf-dashboard .bsf-calendar-history {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    body.home .bsf-home .bsf-dashboard .bsf-calendar-history__form {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    body.home .bsf-home .bsf-dashboard .bsf-calendar-history > a,
    body.home .bsf-home .bsf-dashboard .bsf-calendar-history__disabled { font-size: 13px; padding: 10px 6px; }
}

/* Arrows-only calendar and supplied results artwork: Home scope only. */
body.home .bsf-home .bsf-dashboard .bsf-calendar-history {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 8px;
}
body.home .bsf-home .bsf-dashboard .bsf-calendar-history > [data-bsf-calendar-direction] {
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    font-size: 30px;
    line-height: 1;
}
body.home .bsf-home .bsf-dashboard .bsf-calendar-history__month {
    min-width: 0;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    overflow-wrap: normal;
    word-break: normal;
}
body.home .bsf-home .bsf-dashboard .bsf-section--calendar > .bsf-section__heading > span { display: none; }
body.home .bsf-home .bsf-results-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    align-items: center;
    gap: 32px;
    margin: 0 0 24px;
}
body.home .bsf-home .bsf-results-intro > .bsf-home-section__heading { min-width: 0; margin-bottom: 0; }
body.home .bsf-home .bsf-results-intro__art { min-width: 0; width: 100%; max-width: 440px; margin: 0 auto; }
body.home .bsf-home .bsf-results-intro__art img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
@media (max-width: 920px) {
    body.home .bsf-home .bsf-results-intro { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    body.home .bsf-home .bsf-results-intro__art { max-width: 320px; }
}
@media (max-width: 480px) {
    body.home .bsf-home .bsf-results-intro__art { max-width: 280px; }
}
