/* CSS-drawn interface marks stay identical in Safari, Chrome and the in-app preview. */
.nav-glyph,
.theme-glyph {
  color: currentColor;
  display: inline-block;
  flex: 0 0 auto;
  height: 15px;
  margin: 0;
  position: relative;
  width: 15px;
}

.nav-item .nav-glyph {
  margin: 0;
  width: 15px;
}

.nav-glyph::before,
.nav-glyph::after,
.theme-glyph::before {
  box-sizing: border-box;
  content: "";
  position: absolute;
}

body.dark-theme .theme-glyph::before {
  background: linear-gradient(90deg, transparent 0 50%, currentColor 50%);
}

.nav-glyph--overview::before {
  border: 1.5px solid currentColor;
  border-radius: 2px;
  inset: 2px 1px;
}

.nav-glyph--overview::after {
  background: currentColor;
  height: 9px;
  left: 7px;
  top: 3px;
  width: 1.5px;
}

.nav-glyph--strategy::before {
  border-bottom: 1.7px solid currentColor;
  border-top: 1.7px solid currentColor;
  height: 8px;
  left: 1px;
  top: 4px;
  transform: skewY(28deg);
  width: 13px;
}

.nav-glyph--strategy::after {
  background: currentColor;
  height: 1.7px;
  left: 5px;
  top: 7px;
  transform: rotate(-34deg);
  width: 7px;
}

.nav-glyph--bank::before {
  border: 1.5px solid currentColor;
  border-radius: 50%;
  inset: 1px;
}

.nav-glyph--bank::after {
  background: currentColor;
  border-radius: 50%;
  height: 3px;
  left: 6px;
  top: 6px;
  width: 3px;
}

.nav-glyph--activity::before {
  background: linear-gradient(currentColor 0 1.5px, transparent 1.5px 4px, currentColor 4px 5.5px, transparent 5.5px 8px, currentColor 8px 9.5px, transparent 9.5px);
  height: 10px;
  left: 1px;
  top: 3px;
  width: 13px;
}

.nav-glyph--wallet::before {
  border: 1.5px solid currentColor;
  border-radius: 3px;
  height: 10px;
  left: 1px;
  top: 3px;
  width: 13px;
}

.nav-glyph--wallet::after {
  background: currentColor;
  border-radius: 50%;
  height: 2.5px;
  right: 3px;
  top: 6.75px;
  width: 2.5px;
}

.nav-glyph--settings::before {
  background: repeating-conic-gradient(currentColor 0 8deg, transparent 8deg 45deg);
  border-radius: 50%;
  inset: 0;
}

.nav-glyph--settings::after {
  border: 1.5px solid currentColor;
  border-radius: 50%;
  height: 8px;
  left: 3.5px;
  top: 3.5px;
  width: 8px;
}

.theme-glyph::before {
  background: linear-gradient(90deg, currentColor 0 50%, transparent 50%);
  border: 1.4px solid currentColor;
  border-radius: 50%;
  inset: 1px;
}

.theme-toggle {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.button-arrow {
  display: inline-block;
  flex: 0 0 auto;
  height: 16px;
  position: relative;
  width: 16px;
}

.button-arrow::before {
  border-right: 1.8px solid currentColor;
  border-top: 1.8px solid currentColor;
  content: "";
  height: 7px;
  position: absolute;
  right: 1px;
  top: 1px;
  width: 7px;
}

.button-arrow::after {
  background: currentColor;
  content: "";
  height: 1.8px;
  position: absolute;
  right: 1px;
  top: 7px;
  transform: rotate(-45deg);
  transform-origin: right center;
  width: 14px;
}

.button-arrow--right::before {
  right: 1px;
  top: 4px;
  transform: rotate(45deg);
}

.button-arrow--right::after {
  right: 1px;
  top: 7px;
  transform: none;
  width: 14px;
}

.wallet-check {
  border-bottom: 1.8px solid currentColor;
  border-left: 1.8px solid currentColor;
  display: inline-block;
  height: 7px;
  transform:rotate(-45deg);
  width: 12px;
}

@media (max-width: 760px) {
  .nav-glyph {
    height: 16px;
    width: 16px;
  }
}

/* The reference icon is a filled outer panel with an inner panel that morphs in place. */
.sidebar-toggle {
  background: transparent;
  border-color: transparent;
  border-radius: 50%;
  height: 30px;
  width: 30px;
}

.sidebar-toggle:hover {
  background: var(--soft);
  box-shadow: none;
  transform: none;
}

.sidebar-toggle-icon {
  display: block;
  height: 21px;
  overflow: visible;
  width: 21px;
}

.sidebar-toggle-icon__panel {
  d: path("M10 5.5 C10 4.793 10 4.439 9.780 4.220 C9.560 4 9.207 4 8.5 4 H8.5 C6.379 4 5.318 4 4.659 4.659 C4 5.318 4 6.379 4 8.5 V15.5 C4 17.621 4 18.682 4.659 19.341 C5.318 20 6.379 20 8.5 20 H8.5 C9.207 20 9.561 20 9.780 19.780 C10 19.561 10 19.207 10 18.5 V5.5 Z");
  fill: var(--surface);
  transition: d .35s cubic-bezier(.4, 0, .2, 1);
}

body.sidebar-collapsed .sidebar-toggle-icon__panel {
  d: path("M14 6 C14 5.057 14 4.586 13.707 4.293 C13.414 4 12.943 4 12 4 H10 C7.172 4 5.757 4 4.879 4.879 C4 5.757 4 7.172 4 10 V14 C4 16.828 4 18.243 4.879 19.121 C5.757 20 7.172 20 10 20 H12 C12.943 20 13.414 20 13.707 19.707 C14 19.414 14 18.943 14 18 V6 Z");
}

body.dark-theme .sidebar-toggle {
  background: transparent;
  color: var(--ink);
}

body.dark-theme .sidebar-toggle:hover {
  background: #ffffff13;
  box-shadow: none;
}

/* The theme changes as one uninterrupted circular reveal from its control. */
::view-transition-group(root),::view-transition-image-pair(root){animation-duration:0s}::view-transition-old(root){animation:none;z-index:0}::view-transition-new(root){animation:aeolus-theme-reveal .32s linear both;z-index:1}@keyframes aeolus-theme-reveal{from{clip-path:circle(0 at var(--theme-reveal-x) var(--theme-reveal-y))}to{clip-path:circle(var(--theme-reveal-radius) at var(--theme-reveal-x) var(--theme-reveal-y))}}@media(prefers-reduced-motion:reduce){::view-transition-new(root){animation:none}}
