/* Delimita los filtros desplegables dentro de la barra del tablero. */
#project-filter-controls .date-range-filter>summary,
#project-filter-controls .board-assignee-filter>summary {
  border:1px solid var(--line);
}

#project-filter-controls .date-range-filter>summary:hover,
#project-filter-controls .date-range-filter[open]>summary,
#project-filter-controls .board-assignee-filter>summary:hover,
#project-filter-controls .board-assignee-filter[open]>summary {
  border-color:color-mix(in srgb,var(--accent) 58%,var(--line));
}

html[data-theme="dark"] #project-filter-controls .date-range-filter>summary,
html[data-theme="dark"] #project-filter-controls .board-assignee-filter>summary {
  border-color:#4a5046;
}

html[data-theme="dark"] #project-filter-controls .date-range-filter[open]>summary,
html[data-theme="dark"] #project-filter-controls .board-assignee-filter[open]>summary {
  border-color:var(--accent);
}

html[data-theme="dark"] #project-filter-controls .board-assignee-filter>summary span {
  color:#fff;
}

.date-range-panel {
  grid-template-columns:minmax(0,1fr) auto;
}

.date-range-panel .date-filter-mode {
  grid-column:1;
  grid-row:3;
  width:max-content;
  min-height:0;
  padding:0;
  display:grid;
  justify-items:start;
  align-content:end;
  gap:6px;
  border:0;
  border-radius:0;
  background:transparent;
  cursor:pointer;
}

.date-range-panel>label:not(.date-filter-mode) {
  grid-column:1 / -1;
  width:100%;
}

.date-range-panel>.date-filter-mode+div {
  grid-column:2;
  grid-row:3;
  align-self:end;
}

.date-range-panel .date-filter-mode b {
  color:var(--muted);
  font-size:10px;
  font-weight:800;
  line-height:1.2;
  text-transform:uppercase;
}

.date-range-panel .date-filter-mode input {
  position:relative;
  width:40px;
  min-width:40px;
  height:23px;
  min-height:23px;
  margin:0;
  padding:0;
  appearance:none;
  border:1px solid color-mix(in srgb,var(--muted) 55%,var(--line));
  border-radius:999px;
  background:color-mix(in srgb,var(--muted) 28%,var(--soft));
  cursor:pointer;
  transition:.18s ease;
}

.date-range-panel .date-filter-mode input::after {
  content:"";
  position:absolute;
  top:2px;
  left:2px;
  width:17px;
  height:17px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 4px rgba(0,0,0,.28);
  transition:transform .18s ease;
}

.date-range-panel .date-filter-mode input:checked {
  border-color:var(--accent);
  background:var(--accent);
}

.date-range-panel .date-filter-mode input:checked::after {
  transform:translateX(17px);
}

.date-range-panel .date-filter-mode input:focus-visible {
  outline:2px solid color-mix(in srgb,var(--accent) 55%,transparent);
  outline-offset:2px;
}
