:root {
  --ui-toolbar-height: 3.125rem;
  --ui-button-size: 1.875rem;
  --ui-filter-icon-size: 1.875rem;
  --ui-heading-size: 1.5rem;
  --ui-heading-height: 1.875rem;
  --ui-content-top-gap: .625rem;
  --ui-schedule-height: 1.125rem;
}

body[data-page] .workspace { margin-top: var(--ui-content-top-gap); }

body[data-page] :is(.filter-tools, .catalog-tools, .detail-tools) {
  height: var(--ui-toolbar-height);
  min-height: var(--ui-toolbar-height);
  align-items: center;
}

body[data-page] .filter-tools :is(.reset-filters, .filter-toggle),
body[data-page] :is(.sort-toggle, .layout-toggle, .detail-close) {
  display: grid;
  place-items: center;
  flex: none;
  width: var(--ui-button-size);
  height: var(--ui-button-size);
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
}

body[data-page] .filter-tools .reset-filters svg { width: 1.25rem; height: 1.25rem; }
body[data-page] :is(.filter-toggle, .detail-close) .ui-chevron { width: 1.25rem; height: 1.625rem; }
body[data-page] .layout-toggle .ui-layout { width: 1.25rem; height: 1.625rem; }
body[data-page] .filters-collapsed .reset-filters { display: none; }

body[data-page] .filter-body .filter-group h2 {
  margin: 0 0 .25rem;
  font-size: var(--ui-heading-size);
  font-weight: 400;
  line-height: var(--ui-heading-height);
}

body[data-page] .filter-body { --filter-icon-max: var(--ui-filter-icon-size); }
body[data-page] .filter-body :is(.attribute-option, .band-option) {
  width: var(--ui-filter-icon-size);
  height: var(--ui-filter-icon-size);
}
body[data-page] .filter-body .tag-option { font-size: 1.5rem; }
body[data-page="cards"] .filter-sidebar { padding-bottom: 1rem; }
body[data-page="cards"] .catalog { padding-left: 1.25rem; }

body:not([data-page]) .monthbar { flex-basis: 1.875rem; height: 1.875rem; }
body:not([data-page]) .arrow { width: var(--ui-button-size); height: var(--ui-button-size); font-size: 1.5rem; line-height: 1; }
body:not([data-page]) .prev { left: calc(-1 * var(--ui-button-size)); }
body:not([data-page]) .next { right: calc(-1 * var(--ui-button-size)); }
.schedule-bar {
  top: calc(1rem + var(--lane) * var(--ui-schedule-height));
  height: var(--ui-schedule-height);
  line-height: var(--ui-schedule-height);
}
