/* Streamline Guidance uses the control's foreground and the original 24-unit grid. */
.guidance-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  vertical-align: middle;
  pointer-events: none;
}
html.wn-evolution .header #studio-navigation .edition-icon {
  width: 21px;
  height: 21px;
  color: inherit;
}
html.wn-evolution body.wn-evolution-public .header #studio-navigation a { color: var(--ev-accent) !important; }
html.wn-evolution body.wn-evolution-public .header #studio-navigation a > span { color: var(--ev-ink); }
html.wn-evolution body.wn-evolution-public .header #studio-navigation a:is(:hover,:focus-visible) > span { color: inherit; }
html.wn-evolution body.wn-evolution-public .header :is(.studio-menu-toggle,.studio-motion-toggle) > span {
  display: inline;
  font: 400 .84rem/1 PalatinoProRoman, serif;
  letter-spacing: normal;
}
html.wn-evolution body.wn-evolution-public .header .studio-motion-toggle::before,
html.wn-evolution body.wn-evolution-public .header .studio-menu-toggle::before { content: none !important; display: none !important; }
html.wn-evolution body.wn-evolution-public .header .studio-motion-toggle svg { width: 19px; height: 19px; }
html.wn-evolution body.wn-evolution-public .dialog-close svg { width: 20px; height: 20px; }

html .wn-comment-toolbar:not([hidden]) {
  display: flex;
  align-items: stretch;
  gap: .125rem;
  padding: .15rem;
  max-width: calc(100% - 1rem);
}
html body .wn-comment-toolbar > :is(.cs-comment-icon,.wn-librarian-book-trigger) {
  display: inline-flex !important;
  align-items: center;
  gap: .4rem;
  justify-content: center;
  flex: none;
  min-height: 44px;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  padding: .4rem .7rem !important;
  text-indent: 0 !important;
  white-space: nowrap;
  font-size: 1rem !important;
}
html body .wn-comment-toolbar > :is(.cs-comment-icon,.wn-librarian-book-trigger)::before,
html body .wn-comment-toolbar > :is(.cs-comment-icon,.wn-librarian-book-trigger)::after {
  display: none !important;
  content: none !important;
}
html .wn-comment-toolbar .guidance-icon { width: 24px !important; height: 24px !important; }
html body:has(.wn-citation-overlay, .wn-comment-composer) .wn-comment-toolbar { display: none !important; }
.guidance-credit { margin: .75rem 1.25rem; font-size: .8rem; }
.guidance-credit a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .16em; }

/* Display the approved artwork at its native size to preserve its 0.75 px strokes. */
.draft-product-mark {
  display: inline-block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  color: var(--tool-icon, #92278f);
  background-color: currentColor;
  -webkit-mask: url("/assets/approved-icons/draft.svg?v=aligned-comment-wheel") center / contain no-repeat;
  mask: url("/assets/approved-icons/draft.svg?v=aligned-comment-wheel") center / contain no-repeat;
}
html:is([data-theme="dark"], [data-wn-theme="dark"]) .draft-product-mark {
  color: var(--tool-icon, #efc4e7);
}
@media (forced-colors: active) {
  html .draft-product-mark { forced-color-adjust: none; background-color: CanvasText; }
}

/* The WikiNative light switch stays within reach when the navigation collapses. */
html.wn-evolution body.wn-evolution-public .header .studio-header-utility {
  flex: 0 0 auto;
  gap: .4rem;
}
html.wn-evolution body.wn-evolution-public .header .wn-theme-lightbulb[hidden] { display: none; }
html.wn-evolution body.wn-evolution-public .header .wn-theme-lightbulb { touch-action: manipulation; }
html.wn-evolution body.wn-evolution-public .header .wn-theme-bulb {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}
html.wn-evolution body.wn-evolution-public .header .wn-theme-bulb .secondary { opacity: .65; }
@media (max-width: 460px) {
  html.wn-evolution body.wn-evolution-public .header > a.business-wordmark {
    min-width: 0;
    flex-shrink: 1;
  }
}
