/* BOLT, the Bonus Orchestration Launch Tool: the brand, drawn on top of styles.css, which is pinned and never edited.
   Mark A, a lightning bolt in an Electric Blue circle, approved on 2026-12-02. The marks and icons are the files in brand/. */

/* The wordmark and the full name, at the top of the left menu. */
.brand { gap: 6px; padding: 2px 8px 4px; }
.brand-lockup { display: flex; align-items: center; gap: 8px; }
.brand-logo { height: 21px; width: auto; }
.brand-desc { font-size: 11px; line-height: 1.3; color: var(--ink-3); }

/* Two copies of the wordmark, one for each theme. The page shows one, by the same rule as styles.css's dark theme. */
.brand-logo.on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo.on-light { display: none; }
  :root:not([data-theme="light"]) .brand-logo.on-dark { display: block; }
}
:root[data-theme="dark"] .brand-logo.on-light { display: none; }
:root[data-theme="dark"] .brand-logo.on-dark { display: block; }

/* An icon before each item of the left menu, in the item's own colour. */
.nav-list a { justify-content: flex-start; gap: 10px; }
.nav-list a .nav-count { margin-left: auto; }
.nav-list a::before { content: ''; width: 18px; height: 18px; flex: none; background-color: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.nav-list a[href="#home"] { --icon: url(brand/icons/home.svg); }
.nav-list a[href="#audiences"] { --icon: url(brand/icons/audiences.svg); }
.nav-list a[href="#promos"] { --icon: url(brand/icons/promos.svg); }
.nav-list a[href="#bonus-audiences"] { --icon: url(brand/icons/deploy.svg); }
.nav-list a[href="#approvals"] { --icon: url(brand/icons/approvals.svg); }
.nav-list a[href="#reporting"] { --icon: url(brand/icons/reporting.svg); }
.nav-list a[href="#destinations"] { --icon: url(brand/icons/destinations.svg); }
.nav-list a[href="#activity"] { --icon: url(brand/icons/activity.svg); }

/* The page you are on: an Electric Blue edge on its menu item. */
.nav-list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); border-radius: 0 var(--r) var(--r) 0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav-list a[aria-current="page"] { box-shadow: inset 3px 0 0 #8FA9FF; }
}
:root[data-theme="dark"] .nav-list a[aria-current="page"] { box-shadow: inset 3px 0 0 #8FA9FF; }

/* High-contrast mode drops the masks' colour and the edge's shadow. The icons take the links' own colour and the page you
   are on gets a border, so both still show. */
@media (forced-colors: active) {
  .nav-list a::before { forced-color-adjust: none; background-color: LinkText; }
  .nav-list a[aria-current="page"] { border-left: 3px solid Highlight; }
}

/* On a phone the menu is one line: the wordmark alone, as styles.css hides the menu's other text there. */
@media (max-width: 760px) {
  .brand-desc { display: none; }
}
