/* On a phone, the open page's nav icon is its outline one drawn bolder, so any Tabler outline icon can be a nav icon:
   one custom property, `--wi-nav-icon-stroke`, set where the open page's colour is set (here for the More sheet's
   links, BottomTabBar.css for the tab that is open or shows as opening), and read by the nav's stroke rule
   (application.css, "The nav's icons"). The normal stroke is 1.75, the open page's 2.5. The sidebar keeps the normal
   stroke: its open page has the white pill, the bar and the semibold name. */
.wi-bottom-tab-bar-more__link[aria-current="page"] {
  --wi-nav-icon-stroke: 2.5;
}
/* A phone bar's button (a group's tab, or More) is not in that rule, as its icon is otherwise drawn with the SVG's own
   stroke: it takes the bolder one whenever it shows as open (the open tab, one opening, one under a swiping finger). */
button.wi-bottom-tab-bar__item > .wi-bottom-tab-bar__icon > svg {
  stroke-width: var(--wi-nav-icon-stroke, 2);
}
/* A sidebar group's pages show no icon of their own (SidebarNav.css): the group's label shows its icon as the open
   page's, in the open page's colour, when one of its pages is open, as the group's tab does on a phone. */
.wi-sidebar-nav__item:has(> .wi-sidebar-nav__list--tree [aria-current="page"]) > .wi-sidebar-nav__group-label > .wi-sidebar-nav__icon {
  color: var(--brand-secondary-bg);
}
