/* The report filter bar (report-filter.js): organisation and period for every report on screen. */
.bc-report-filter{display:flex;flex-direction:column;gap:8px;margin:0 0 14px;padding:12px 14px;background:#fff;border:1px solid #e4e7ec;border-radius:12px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.bc-report-filter-fields{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:flex-end}.bc-report-filter-fields[hidden]{display:none}
/* Folded (c5): the Filters button and the active chips share one quiet row. */
.bc-report-filter[data-open="false"]{flex-direction:row;flex-wrap:wrap;align-items:center;padding:6px 8px;box-shadow:none}
.bc-report-filter-toggle{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:4px 12px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#344054;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.bc-report-filter-toggle::before{content:"";width:12px;height:10px;background:linear-gradient(currentColor,currentColor) 0 0/12px 2px no-repeat,linear-gradient(currentColor,currentColor) 2px 4px/8px 2px no-repeat,linear-gradient(currentColor,currentColor) 4px 8px/4px 2px no-repeat}
.bc-report-filter-toggle[aria-expanded="true"]{border-color:var(--brand,#007b77);color:var(--brand,#007b77)}
.bc-report-filter-toggle:focus-visible{outline:2px solid var(--brand,#007b77);outline-offset:1px}
.bc-report-filter-field{display:flex;flex-direction:column;gap:4px;flex:1 1 170px;min-width:0;font-size:12px;font-weight:600;color:#475467}
.bc-report-filter-field[hidden]{display:none}
.bc-report-filter-field select{width:100%;min-height:36px;padding:6px 30px 6px 10px;border:1px solid #d0d5dd;border-radius:8px;background-color:#fff;color:#171b26;font:inherit;font-size:13px;font-weight:500}
.bc-report-filter-field select:focus-visible{outline:2px solid var(--brand,#007b77);outline-offset:1px}
.bc-report-filter-active{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.bc-report-filter-active[hidden]{display:none}
.bc-report-filter-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.bc-report-filter-chips[hidden]{display:none}
.bc-report-filter-chip{display:inline-flex;align-items:center;gap:2px;max-width:100%;padding:3px 4px 3px 10px;border:1px solid var(--brand-line,#9bdedb);border-radius:999px;background:var(--brand-tint,#eaf8f7);color:var(--brand,#007b77);font-size:12px;font-weight:600}
.bc-report-filter-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bc-report-filter-chip-remove{width:24px;height:24px;border:0;border-radius:999px;background:transparent;color:inherit;font-size:15px;line-height:1;cursor:pointer}
.bc-report-filter-chip-remove:hover{background:rgba(0,123,119,.12)}
.bc-report-filter-chip-remove:focus-visible,.bc-report-filter-reset:focus-visible,.bc-report-filter-default:focus-visible{outline:2px solid var(--brand,#007b77);outline-offset:1px}
.bc-report-filter-reset,.bc-report-filter-default{min-height:30px;padding:4px 12px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#344054;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.bc-report-filter-reset[hidden],.bc-report-filter-default[hidden]{display:none}
.bc-report-filter-status{color:#667085;font-size:12px}
/* While the server recomputes, what is on screen is the previous selection's: said, and dimmed. */
.bc-report-filter[aria-busy="true"] .bc-report-filter-status::before{content:"";display:inline-block;width:10px;height:10px;margin-right:6px;border:2px solid var(--brand-line,#9bdedb);border-top-color:var(--brand,#007b77);border-radius:50%;vertical-align:-1px;animation:bc-report-filter-spin .8s linear infinite}
[data-report-filter-busy="true"]{opacity:.55;transition:opacity .15s}
@keyframes bc-report-filter-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.bc-report-filter[aria-busy="true"] .bc-report-filter-status::before{animation:none}}
@media (max-width:640px){.bc-report-filter{padding:10px}.bc-report-filter-field{flex-basis:calc(50% - 6px)}}
