/* BizzWeave ERP Help Centre: navy and gold theme on top of Material for MkDocs */

:root {
  --navy-950: #08132a;
  --navy-900: #0c1a36;
  --navy-800: #12264a;
  --navy-700: #1b335f;
  --gold-50: #fff8ec;
  --gold-100: #fdecc9;
  --gold-300: #f8cd7c;
  --gold-400: #f2b44b;
  --gold-500: #e59a22;
  --gold-600: #c97e0e;
  --gold-700: #a8670a;
  --callout: #f97316;
  --sb: 16.5rem;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(12, 26, 54, .05), 0 1px 1px rgba(12, 26, 54, .03);
  --shadow-md: 0 12px 32px -14px rgba(12, 26, 54, .22), 0 2px 6px rgba(12, 26, 54, .05);
}

[data-md-color-scheme="default"] {
  --md-primary-fg-color: var(--navy-900);
  --md-primary-fg-color--light: var(--navy-700);
  --md-primary-fg-color--dark: var(--navy-950);
  --md-accent-fg-color: var(--gold-600);
  --md-default-bg-color: #ffffff;
  --md-typeset-a-color: var(--gold-700);
  --page-bg: #f6f7fb;
  --surface: #f7f8fb;
  --surface-2: #ffffff;
  --line: #e7e9f0;
  --muted: #5a6278;
  --heading: #0c1a36;
}

[data-md-color-scheme="slate"] {
  --md-hue: 222;
  --md-primary-fg-color: var(--navy-900);
  --md-accent-fg-color: var(--gold-400);
  --md-default-bg-color: #0b1528;
  --md-default-fg-color--light: #a7b0c6;
  --md-typeset-a-color: var(--gold-400);
  --page-bg: #091224;
  --surface: #0f1b33;
  --surface-2: #12203c;
  --line: #22314f;
  --muted: #a3acc2;
  --heading: #f4f6fb;
}

body, .md-main { background: var(--page-bg); }

/* ===================================================== header */
.bw-header {
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px);
  color: var(--heading); box-shadow: none; border-bottom: 1px solid var(--line); height: 4rem;
}
[data-md-color-scheme="slate"] .bw-header { background: rgba(9, 18, 36, .86); }
.bw-header .md-header__inner { height: 4rem; padding: 0 1.2rem; max-width: none; gap: 1rem; align-items: center; }
.bw-header .md-header__button { color: var(--heading); }
.bw-header__brand { display: flex; align-items: center; gap: .55rem; color: var(--heading) !important; font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; white-space: nowrap; }
.bw-header__brand img { width: 2.1rem; height: auto; }
.bw-header__brand b, .bw-brand b { color: var(--gold-500); font-weight: 800; }
.bw-header__search { flex: 1; display: flex; justify-content: center; }
.bw-header__actions { display: flex; align-items: center; gap: .6rem; }
.bw-header .md-header__option .md-header__button,
.bw-header .md-header__option label.md-header__button {
  width: 2.3rem; height: 2.3rem; padding: .45rem; margin: 0; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--heading);
  transition: transform .2s, background .2s;
}
.bw-header .md-header__option .md-header__button:hover { transform: rotate(20deg); background: var(--gold-50); }
.bw-open-app {
  display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .95rem; border-radius: 999px;
  font-size: .72rem; font-weight: 650; color: #fff !important; white-space: nowrap;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  box-shadow: 0 6px 16px -8px rgba(12, 26, 54, .7); transition: transform .2s, box-shadow .2s;
}
.bw-open-app svg { width: .95rem; height: .95rem; fill: var(--gold-400); }
.bw-open-app:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(12, 26, 54, .8); }
@media screen and (max-width: 44.9375em) { .bw-open-app { display: none; } }

/* search box: centred, white, with a Ctrl + K hint */
@media screen and (min-width: 60em) {
  .bw-header .md-search { flex: 0 1 34rem; }
  .bw-header .md-search__inner { width: 100%; float: none; }
  .bw-header .md-search__form {
    height: 2.6rem; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line);
    box-shadow: 0 4px 14px -10px rgba(12, 26, 54, .35); transition: border-color .2s, box-shadow .2s;
  }
  .bw-header .md-search__form:hover { background: var(--surface-2); border-color: var(--gold-300); }
  .bw-header .md-search__input { color: var(--heading); font-size: .8rem; padding-left: 2.6rem; height: 2.6rem; }
  .bw-header .md-search__input::placeholder { color: var(--muted); }
  .bw-header .md-search__icon[for="__search"] { color: var(--heading); top: .45rem; left: .7rem; }
  .bw-header .md-search__form::after {
    content: "Ctrl + K"; position: absolute; right: .55rem; top: 50%; transform: translateY(-50%);
    font-size: .62rem; font-weight: 600; color: var(--muted); padding: .25em .6em; border-radius: 6px;
    background: var(--surface); border: 1px solid var(--line); pointer-events: none;
  }
  [data-md-toggle="search"]:checked ~ .md-header .md-search__form::after { display: none; }
  .bw-header .md-search__output { border-radius: 0 0 12px 12px; }
}

/* ===================================================== full-height sidebar */
@media screen and (min-width: 76.25em) {
  body:has(.md-sidebar--primary) .md-header,
  body:has(.md-sidebar--primary) .md-container { padding-left: var(--sb); }
  body:has(.md-sidebar--primary) .bw-header__brand { display: none; }
  .md-sidebar--primary {
    position: fixed !important; top: 0 !important; left: 0; width: var(--sb) !important;
    height: 100vh !important; z-index: 5; padding: 0;
    background:
      radial-gradient(120% 40% at 0% 0%, rgba(242, 180, 75, .10), transparent 60%),
      linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
    box-shadow: 8px 0 30px -20px rgba(8, 19, 42, .6);
  }
  .md-sidebar--primary .md-sidebar__scrollwrap {
    height: 100% !important; max-height: none; margin: 0; padding: 0; overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent;
  }
  .md-sidebar--primary .md-sidebar__inner { padding: 0 !important; min-height: 100%; position: relative; }
  .md-sidebar--primary .md-nav__title[for="__drawer"] { display: none; }
  .md-main__inner { margin-top: 1.4rem; }
}

.bw-brand {
  display: flex; align-items: center; gap: .65rem; padding: 1.35rem 1.4rem 1.25rem;
  color: #fff !important; font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.bw-brand img { width: 2.5rem; height: auto; filter: drop-shadow(0 4px 10px rgba(242, 180, 75, .35)); }
.bw-nav-title { color: #fff; font-weight: 750; font-size: .95rem; padding: 1.4rem 1.45rem .7rem; letter-spacing: -.005em; }
@media screen and (max-width: 76.2344em) {
  .bw-brand, .bw-nav-title, .bw-wave { display: none; }
  .md-sidebar--primary .md-sidebar__scrollwrap { background: var(--navy-900); }
  .md-nav--primary .md-nav__title { background: var(--navy-950) !important; color: #fff !important; }
}

/* decorative gold wave at the bottom of the sidebar */
.bw-wave {
  position: sticky; bottom: 0; height: 15rem; margin-top: 2rem; pointer-events: none; opacity: .9;
  background: no-repeat bottom left / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 240' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23f2b44b' stop-opacity='0'/%3E%3Cstop offset='.6' stop-color='%23f2b44b' stop-opacity='.85'/%3E%3Cstop offset='1' stop-color='%23ffe1a3'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23f2b44b' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23f2b44b' stop-opacity='.35'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 240C60 200 110 120 300 40' fill='none' stroke='url(%23a)' stroke-width='3'/%3E%3Cpath d='M0 240C70 215 140 150 300 80' fill='none' stroke='url(%23b)' stroke-width='2'/%3E%3Cpath d='M0 240C50 190 90 110 300 10V240z' fill='url(%23b)' opacity='.25'/%3E%3C/svg%3E");
}

/* menu rows */
@keyframes navIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.md-sidebar--primary .md-nav { font-size: .82rem; }
.md-sidebar--primary .md-nav--primary > .md-nav__list { padding: 0 .75rem; }
.md-sidebar--primary .md-nav__item { padding: 0; }
.md-sidebar--primary .md-nav--primary > .md-nav__list > .md-nav__item { animation: navIn .45s cubic-bezier(.2, .7, .2, 1) both; }
.md-sidebar--primary .md-nav--primary > .md-nav__list > .md-nav__item:nth-child(2) { animation-delay: .04s; }
.md-sidebar--primary .md-nav--primary > .md-nav__list > .md-nav__item:nth-child(3) { animation-delay: .08s; }
.md-sidebar--primary .md-nav--primary > .md-nav__list > .md-nav__item:nth-child(4) { animation-delay: .12s; }
.md-sidebar--primary .md-nav--primary > .md-nav__list > .md-nav__item:nth-child(5) { animation-delay: .16s; }
.md-sidebar--primary .md-nav--primary > .md-nav__list > .md-nav__item:nth-child(6) { animation-delay: .2s; }

.md-sidebar--primary .md-nav__link {
  position: relative; display: flex; align-items: center; gap: .8rem; box-sizing: border-box;
  margin: 3px 0; padding: .62rem .85rem; border-radius: 12px;
  color: rgba(231, 236, 248, .82); font-weight: 500;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.md-sidebar--primary .md-nav__link .md-ellipsis { white-space: normal; }
.md-sidebar--primary .md-nav__link:hover { background: rgba(255, 255, 255, .06); color: #fff; transform: translateX(3px); }
.md-sidebar--primary .md-nav__link > svg {
  flex: none; width: 1.3rem; height: 1.3rem; fill: currentColor; opacity: .9; transition: transform .25s ease, fill .2s;
}
.md-sidebar--primary .md-nav__link:hover > svg { fill: var(--gold-300); transform: scale(1.12); }
.md-sidebar--primary .md-nav__icon { color: rgba(231, 236, 248, .45); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }

/* rows with both a page and a toggle */
.md-sidebar--primary .md-nav__container.md-nav__link { padding: 0; gap: 0; }
.md-sidebar--primary .md-nav__container.md-nav__link:hover { background: none; transform: none; }
.md-sidebar--primary .md-nav__container > a.md-nav__link { flex: 1 1 auto; min-width: 0; margin: 0; }
.md-sidebar--primary .md-nav__container > label.md-nav__link { flex: none; margin: 0; padding: .62rem .6rem; }
.md-sidebar--primary .md-nav__container > label.md-nav__link:hover { transform: none; }

/* submenus */
.md-sidebar--primary .md-nav__item--nested > .md-nav > .md-nav__list { margin: 0 0 .3rem 1.45rem; padding-left: .5rem; border-left: 1px solid rgba(255, 255, 255, .08); }
.md-sidebar--primary .md-nav__item--nested > .md-nav .md-nav__link { font-size: .79rem; padding: .5rem .8rem; }
.md-sidebar--primary .md-nav__toggle:checked ~ .md-nav > .md-nav__list > .md-nav__item { animation: navIn .35s cubic-bezier(.2, .7, .2, 1) both; }
.md-sidebar--primary .md-nav__toggle:checked ~ .md-nav > .md-nav__list > .md-nav__item:nth-child(2) { animation-delay: .05s; }
.md-sidebar--primary .md-nav__toggle:checked ~ .md-nav > .md-nav__list > .md-nav__item:nth-child(3) { animation-delay: .1s; }
.md-sidebar--primary .md-nav__toggle:checked ~ .md-nav > .md-nav__list > .md-nav__item:nth-child(4) { animation-delay: .15s; }

/* current page: gold pill with dark text */
.md-sidebar--primary .md-nav__link--active:not(.md-nav__container),
.md-sidebar--primary .md-nav__container:has(> a.md-nav__link--active) {
  background: linear-gradient(100deg, #f8cf7f 0%, #f0ad45 55%, #e59a22 100%) !important;
  color: var(--navy-950) !important; font-weight: 650; transform: none;
  box-shadow: 0 10px 24px -12px rgba(242, 180, 75, .9), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.md-sidebar--primary .md-nav__container > .md-nav__link--active { background: transparent !important; box-shadow: none !important; }
.md-sidebar--primary .md-nav__container:has(> a.md-nav__link--active) .md-nav__link,
.md-sidebar--primary .md-nav__container:has(> a.md-nav__link--active) .md-nav__icon { color: var(--navy-950) !important; }
.md-sidebar--primary .md-nav__link--active > svg,
.md-sidebar--primary .md-nav__container:has(> a.md-nav__link--active) svg { fill: var(--navy-950) !important; }
@media (prefers-reduced-motion: reduce) { .md-sidebar--primary * { animation: none !important; transition: none !important; } }

/* ===================================================== content column */
.md-grid { max-width: 92rem; }
.md-content { max-width: 60rem; }
.md-content__inner { margin: 0 1.6rem 2rem; padding-top: .4rem; }
.md-content__inner::before { display: none; }

/* breadcrumbs */
.md-path { font-size: .74rem; margin: 0 1.6rem .2rem; }
.md-path__list { color: var(--muted); }
.md-path__item:first-child::before {
  content: ""; display: inline-block; width: .95rem; height: .95rem; margin-right: .3rem; vertical-align: -.15rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.md-path__link { color: var(--muted); }
.md-path__link:hover { color: var(--gold-600); }

/* typography */
.md-typeset { font-size: .9rem; line-height: 1.75; }
.md-typeset h1 { font-weight: 800; letter-spacing: -.03em; color: var(--heading); font-size: 2.6em; line-height: 1.12; margin: .2em 0 .35em; }
.md-typeset h1 .accent, .md-typeset .accent {
  background: linear-gradient(90deg, #e59a22, #c97e0e); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.md-typeset h2 { font-weight: 750; letter-spacing: -.02em; color: var(--heading); font-size: 1.6em; margin-top: 2.1em; display: flex; align-items: center; gap: .75rem; }
.md-typeset h3 { font-weight: 700; color: var(--heading); font-size: 1.2em; }
.md-typeset .lead { font-size: 1.12em; color: var(--heading); margin-top: -.2em; font-weight: 500; }
.md-typeset .muted { color: var(--muted); }

/* icon tile before a heading: "## :material-...: Title" */
.md-typeset h2 > .twemoji:first-child, .md-typeset h3 > .twemoji:first-child {
  flex: none; display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 12px;
  background: var(--gold-50); border: 1px solid var(--gold-100); color: var(--gold-600);
}
[data-md-color-scheme="slate"] .md-typeset h2 > .twemoji:first-child { background: rgba(242, 180, 75, .1); border-color: rgba(242, 180, 75, .2); }
.md-typeset h2 > .twemoji:first-child svg { width: 1.3rem; height: 1.3rem; max-height: none; }
.md-typeset h3 > .twemoji:first-child { width: 2rem; height: 2rem; border-radius: 10px; }
.md-nav--secondary .twemoji { display: none; }

/* ===================================================== page hero (top of overview pages) */
.md-typeset .page-hero {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; margin: 0 0 1.4rem;
}
.md-typeset .page-hero h1 { margin-top: 0; }
.md-typeset .page-hero p { margin: .5em 0; }
.md-typeset .page-hero img.art { width: 100%; height: auto; border: 0; box-shadow: none; background: none; border-radius: 0; }
.md-typeset .page-hero .chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.md-typeset .page-hero .chips span {
  font-size: .72rem; font-weight: 550; padding: .3em .8em; border-radius: 999px;
  background: var(--gold-50); border: 1px solid var(--gold-100); color: var(--gold-700);
}
[data-md-color-scheme="slate"] .md-typeset .page-hero .chips span { background: rgba(242, 180, 75, .08); border-color: rgba(242, 180, 75, .2); color: var(--gold-300); }
@media screen and (max-width: 60em) { .md-typeset .page-hero { grid-template-columns: 1fr; } .md-typeset .page-hero img.art { max-width: 26rem; } }

/* ===================================================== screenshots */
.md-typeset figure { margin: 1.4em auto 1.9em; width: 100%; }
.md-typeset figure img, .md-typeset img.screen {
  width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: #fff;
}
.md-typeset figcaption { font-size: .8rem; color: var(--muted); margin-top: .8em; max-width: none; }
.md-typeset figcaption em { font-style: normal; }

/* ===================================================== numbered steps */
.md-typeset .steps > ol { list-style: none; padding: 0; margin: 1.2em 0 1.8em; counter-reset: step; }
.md-typeset .steps > ol > li {
  counter-increment: step; position: relative; margin: 0 0 1.1em; padding: 1em 1.2em 1em 3.8em;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.md-typeset .steps > ol > li::before {
  content: counter(step); position: absolute; left: 1.05em; top: .95em; width: 1.85em; height: 1.85em; border-radius: 50%;
  background: linear-gradient(135deg, #f8cf7f, #e59a22); color: var(--navy-950); font-weight: 800; font-size: .85em;
  display: grid; place-items: center; box-shadow: 0 6px 14px -6px rgba(229, 154, 34, .8);
}
.md-typeset .steps > ol > li > :first-child { margin-top: 0; }
.md-typeset .steps > ol > li > :last-child { margin-bottom: 0; }
.md-typeset .steps > ol > li figure { margin: 1em 0 .4em -2.6em; width: calc(100% + 2.6em); }

.md-typeset .n {
  display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; border-radius: 50%;
  background: var(--callout); color: #fff; font-weight: 700; font-size: .78em; vertical-align: .08em; margin: 0 .15em;
}

/* ===================================================== admonitions */
.md-typeset .admonition, .md-typeset details {
  border-radius: 14px; border: 1px solid var(--line); border-left-width: 4px; box-shadow: var(--shadow-sm); font-size: .86rem;
}
.md-typeset .admonition-title, .md-typeset summary { font-weight: 650; }

/* ===================================================== tables */
.md-typeset table:not([class]) {
  display: table; width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-md); font-size: .84rem; background: var(--surface-2);
}
.md-typeset table:not([class]) th {
  background: var(--surface); color: var(--heading); font-weight: 700; text-transform: uppercase; font-size: .7rem; letter-spacing: .05em;
}
.md-typeset table:not([class]) td, .md-typeset table:not([class]) th { padding: .9em 1.1em; vertical-align: middle; }
.md-typeset table:not([class]) tbody tr { transition: background .15s; }
.md-typeset table:not([class]) tbody tr:hover { background: var(--surface); }
.md-typeset table:not([class]) td strong { color: var(--heading); }

/* icon tiles: <span class="tile violet">:material-x:</span> */
.md-typeset .tile { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 11px; vertical-align: middle; margin-right: .8rem; }
.md-typeset .tile .twemoji svg { width: 1.2rem; height: 1.2rem; max-height: none; }
.md-typeset .tile.violet { background: #efeafe; color: #7c3aed; }
.md-typeset .tile.blue { background: #e6f1fe; color: #2563eb; }
.md-typeset .tile.green { background: #e3f8ef; color: #0f9f6e; }
.md-typeset .tile.orange { background: #fff1e2; color: #ea7a0c; }
.md-typeset .tile.rose { background: #fde8f0; color: #d6336c; }
.md-typeset .tile.indigo { background: #eceffe; color: #4f46e5; }
[data-md-color-scheme="slate"] .md-typeset .tile { background-color: rgba(255, 255, 255, .07) !important; }

/* ===================================================== right column cards */
@media screen and (min-width: 76.25em) {
  .md-sidebar--secondary { width: 15rem; }
}
.bw-toc-card, .bw-cta-card { border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); box-shadow: var(--shadow-sm); }
.bw-toc-card { padding: 1.1rem .6rem .8rem; }
.md-nav--secondary .md-nav__title { color: var(--heading); font-weight: 750; font-size: .82rem; background: none; box-shadow: none; padding: 0 .65rem .45rem; }
.md-nav--secondary .md-nav__list .md-nav__link {
  font-size: .74rem; color: var(--muted); display: flex; gap: .6rem; align-items: baseline; margin: .35em 0; padding: 0 .65rem;
}
.md-nav--secondary .bw-toc-card > .md-nav__list > .md-nav__item > .md-nav__link::before {
  content: ""; flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: #d4d9e3; transition: background .2s, transform .2s;
}
.md-nav--secondary .md-nav__link--active, .md-nav--secondary .md-nav__link:hover { color: var(--gold-600) !important; font-weight: 600; }
.md-nav--secondary .md-nav__link--active::before { background: var(--gold-500) !important; transform: scale(1.15); }
.md-nav--secondary .md-nav .md-nav .md-nav__link { padding-left: 1.85rem; }

.bw-cta-card {
  margin-top: 1rem; padding: 1.25rem 1.2rem; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fffaf1 0%, #fff4e1 100%); border-color: #f8e3bd;
}
[data-md-color-scheme="slate"] .bw-cta-card { background: linear-gradient(180deg, rgba(242, 180, 75, .1), rgba(242, 180, 75, .04)); border-color: rgba(242, 180, 75, .2); }
.bw-cta-card__icon { width: 2.8rem; height: 2.8rem; border-radius: 14px; display: grid; place-items: center; background: #fff; box-shadow: 0 8px 18px -10px rgba(201, 126, 14, .6); }
.bw-cta-card__icon svg { width: 1.6rem; height: 1.6rem; fill: var(--gold-500); }
.bw-cta-card h4 { margin: .9rem 0 .35rem; font-size: 1.02rem; font-weight: 800; color: var(--heading); line-height: 1.25; }
.bw-cta-card p { margin: 0 0 1rem; font-size: .76rem; color: var(--muted); line-height: 1.55; }
.bw-cta-card a {
  display: flex; justify-content: center; align-items: center; gap: .4rem; padding: .62rem .8rem; border-radius: 10px;
  font-size: .76rem; font-weight: 700; color: #fff !important;
  background: linear-gradient(135deg, #d98b12, #b86f08); box-shadow: 0 10px 20px -12px rgba(184, 111, 8, .9);
  transition: transform .2s, box-shadow .2s;
}
.bw-cta-card a:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -12px rgba(184, 111, 8, 1); }
.bw-cta-card a svg { width: 1rem; height: 1rem; fill: #fff; transition: transform .2s; }
.bw-cta-card a:hover svg { transform: translateX(3px); }

/* ===================================================== cards and paths */
.md-typeset .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin: 1.4em 0 2em; }
.md-typeset .card {
  display: block; position: relative; padding: 1.3rem 1.3rem 1.2rem; border-radius: 16px;
  background: var(--surface-2); border: 1px solid var(--line); color: inherit; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.md-typeset a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-300); color: inherit; }
.md-typeset .card h3 { margin: .75em 0 .25em; font-size: 1.05rem; }
.md-typeset .card p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.md-typeset .card .badge-icon { width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .82rem; }
.md-typeset .card .soon {
  position: absolute; top: 1rem; right: 1rem; font-size: .62rem; font-weight: 650; padding: .2em .65em; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
}
.g-ca { background: linear-gradient(135deg, #fb923c, #ea580c); }
.g-ge { background: linear-gradient(135deg, #2dd4bf, #0d9488); }
.g-it { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.g-pm { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.g-gs { background: linear-gradient(135deg, #f8cf7f, #d98b12); }

.path {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 1.2rem 0;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-sm);
}
.path a { padding: 1.15rem 1.25rem; color: inherit; border-right: 1px solid var(--line); transition: background .15s; }
.path a:last-child { border-right: 0; }
.path a:hover { background: var(--gold-50); color: inherit; }
[data-md-color-scheme="slate"] .path a:hover { background: rgba(242, 180, 75, .06); }
.path b { display: block; font-size: .64rem; text-transform: uppercase; letter-spacing: .09em; color: var(--gold-600); }
.path span { display: block; font-weight: 700; margin: .2rem 0; color: var(--heading); }
.path small { color: var(--muted); font-size: .78rem; line-height: 1.5; display: block; }

/* ===================================================== home page */
.home-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(242, 180, 75, .28), transparent 60%),
    radial-gradient(700px 500px at 0% 0%, rgba(27, 51, 95, .9), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}
.home-hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 60%; pointer-events: none; opacity: .55;
  background: no-repeat bottom / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%3Cpath d='M0 300C300 240 600 120 1200 60' fill='none' stroke='%23f2b44b' stroke-opacity='.6' stroke-width='2'/%3E%3Cpath d='M0 300C350 260 700 170 1200 120' fill='none' stroke='%23f2b44b' stroke-opacity='.25' stroke-width='2'/%3E%3C/svg%3E");
}
.home-hero__inner { position: relative; z-index: 1; max-width: 64rem; margin: 0 auto; padding: 4.4rem 1.2rem 7rem; text-align: center; }
.home-hero__eyebrow {
  display: inline-flex; gap: .5em; align-items: center; font-size: .8rem; font-weight: 600; letter-spacing: .03em;
  padding: .4em 1em; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
}
.home-hero__eyebrow i { width: .5em; height: .5em; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 3px rgba(242, 180, 75, .25); }
.home-hero h1 { font-size: 3.4rem; line-height: 1.08; font-weight: 800; letter-spacing: -.035em; margin: 1.1rem 0 .9rem; color: #fff; }
.home-hero h1 span { background: linear-gradient(90deg, #ffd88f, #f2a93b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero p { font-size: 1.12rem; color: rgba(255, 255, 255, .74); max-width: 44rem; margin: 0 auto 1.9rem; line-height: 1.7; }
.home-hero__search {
  display: flex; align-items: center; gap: .75rem; max-width: 40rem; width: 100%; margin: 0 auto; cursor: text;
  padding: 1rem 1.25rem; border-radius: 14px; background: #fff; color: #5a6278; font-size: .95rem; text-align: left;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .6); border: 0;
}
.home-hero__search svg { width: 1.2rem; height: 1.2rem; fill: var(--gold-600); flex: none; }
.home-hero__search kbd { margin-left: auto; font-family: inherit; font-size: .68rem; padding: .2em .55em; border-radius: 6px; border: 1px solid #e7e9f0; background: #f7f8fb; color: #5a6278; }
.home-hero__quick { margin-top: 1.2rem; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.home-hero__quick a { color: rgba(255, 255, 255, .92); margin: 0 .4rem; border-bottom: 1px dashed rgba(242, 180, 75, .6); }
.home-hero__quick a:hover { color: var(--gold-300); }
.home-body { max-width: 64rem; margin: -4.5rem auto 0; padding: 0 1.2rem 3rem; position: relative; z-index: 2; }
.home-body .md-typeset h2 { margin-top: 2.6rem; font-size: 1.6rem; }
.home-body .md-typeset h2 + p { color: var(--muted); margin-top: -.3rem; }
.home-body .cards.big { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 0; }
.home-body .cards.big .card { padding: 1.5rem; }
.home-body .card .more { display: inline-block; margin-top: .9rem; font-size: .8rem; font-weight: 700; color: var(--gold-700); }
.md-content:has(.home-body) { max-width: none; }
.md-main__inner:has(.home-body) { margin-top: 0; }
@media screen and (max-width: 44.9375em) { .home-hero h1 { font-size: 2.1rem; } .home-hero__inner { padding-top: 2.8rem; } }

/* footer */
.md-footer { background: var(--navy-900); }
.md-footer-meta { background: var(--navy-950); }

/* ---- refinements ---- */
:root { --sb: 15rem; }
.md-path__item, .md-path__link { display: inline-flex; align-items: center; }
.md-path__item:first-child::before { flex: none; }
.bw-cta-card a { white-space: nowrap; }
@media screen and (min-width: 76.25em) { .md-sidebar--secondary { width: 14rem; } }
.md-sidebar--primary .md-nav__item--nested > .md-nav > .md-nav__list { margin-left: 1.1rem; padding-left: .3rem; }
.md-sidebar--primary .md-nav__item--nested > .md-nav .md-nav__item--nested > .md-nav > .md-nav__list { margin-left: .6rem; }
.md-sidebar--primary .md-nav__item--nested > .md-nav .md-nav__link { gap: .6rem; padding: .5rem .7rem; }

/* ===================================================== standard documentation sizing
   Material scales the root font up to 137.5%/150% on wide screens; keep it at 125% (1rem = 20px). */
@media screen and (min-width: 100em) { html { font-size: 125%; } }
@media screen and (min-width: 125em) { html { font-size: 125%; } }

.md-typeset { font-size: .8rem; line-height: 1.7; }                  /* 16px body */
.md-typeset h1 { font-size: 2.1em; margin: .1em 0 .3em; }             /* ~34px */
.md-typeset h2 { font-size: 1.45em; margin-top: 1.9em; gap: .6rem; }  /* ~23px */
.md-typeset h3 { font-size: 1.15em; }
.md-typeset .lead { font-size: 1.06em; }
.md-typeset h2 > .twemoji:first-child { width: 2.1rem; height: 2.1rem; border-radius: 10px; }
.md-typeset h2 > .twemoji:first-child svg { width: 1.1rem; height: 1.1rem; }
.md-typeset figcaption { font-size: .72rem; }
.md-typeset .admonition, .md-typeset details { font-size: .78rem; }
.md-typeset table:not([class]) { font-size: .76rem; }
.md-typeset table:not([class]) th { font-size: .64rem; }
.md-typeset table:not([class]) td, .md-typeset table:not([class]) th { padding: .75em 1em; }
.md-typeset .tile { width: 2rem; height: 2rem; border-radius: 9px; margin-right: .65rem; }
.md-typeset .tile .twemoji svg { width: 1.05rem; height: 1.05rem; }
.md-typeset .page-hero .chips span { font-size: .66rem; }
.md-typeset .card h3 { font-size: .95rem; }
.md-typeset .card p, .path small { font-size: .74rem; }
.md-typeset .steps > ol > li { padding: .85em 1.1em .85em 3.5em; }
.md-path { font-size: .68rem; }

/* header */
.bw-header, .bw-header .md-header__inner { height: 3.3rem; }
.bw-header__brand { font-size: .92rem; }
.bw-header__brand img { width: 1.8rem; }
@media screen and (min-width: 60em) {
  .bw-header .md-search__form { height: 2.15rem; border-radius: 10px; }
  .bw-header .md-search__input { font-size: .72rem; height: 2.15rem; padding-left: 2.3rem; }
  .bw-header .md-search__icon[for="__search"] { top: .25rem; left: .55rem; }
  .bw-header .md-search__form::after { font-size: .56rem; }
}
.bw-header .md-header__option .md-header__button,
.bw-header .md-header__option label.md-header__button { width: 2rem; height: 2rem; padding: .38rem; }
.bw-open-app { font-size: .66rem; padding: .42rem .85rem; }

/* sidebar */
:root { --sb: 13.5rem; }
.bw-brand { font-size: .95rem; padding: 1.05rem 1.15rem 1rem; gap: .55rem; }
.bw-brand img { width: 2rem; }
.bw-nav-title { font-size: .8rem; padding: 1.1rem 1.2rem .5rem; }
.md-sidebar--primary .md-nav { font-size: .74rem; }
.md-sidebar--primary .md-nav--primary > .md-nav__list { padding: 0 .6rem; }
.md-sidebar--primary .md-nav__link { padding: .5rem .7rem; gap: .65rem; border-radius: 10px; margin: 2px 0; }
.md-sidebar--primary .md-nav__link > svg { width: 1.1rem; height: 1.1rem; }
.md-sidebar--primary .md-nav__container > label.md-nav__link { padding: .5rem .5rem; }
.md-sidebar--primary .md-nav__item--nested > .md-nav .md-nav__link { font-size: .71rem; padding: .42rem .6rem; gap: .5rem; }
.bw-wave { height: 11rem; }

/* right column */
@media screen and (min-width: 76.25em) { .md-sidebar--secondary { width: 12.5rem; } }
.md-nav--secondary .md-nav__title { font-size: .74rem; }
.md-nav--secondary .md-nav__list .md-nav__link { font-size: .68rem; margin: .3em 0; }
.bw-toc-card { padding: .9rem .5rem .6rem; }
.bw-cta-card { padding: 1rem 1rem; }
.bw-cta-card__icon { width: 2.3rem; height: 2.3rem; border-radius: 11px; }
.bw-cta-card__icon svg { width: 1.3rem; height: 1.3rem; }
.bw-cta-card h4 { font-size: .88rem; margin: .75rem 0 .3rem; }
.bw-cta-card p { font-size: .68rem; margin-bottom: .8rem; }
.bw-cta-card a { font-size: .68rem; padding: .5rem .7rem; }

/* home */
.home-hero__inner { padding: 3.4rem 1.2rem 6rem; }
.home-hero__eyebrow { font-size: .66rem; }
.home-hero h1 { font-size: 2.5rem; }
.home-hero p { font-size: .9rem; max-width: 38rem; }
.home-hero__search { font-size: .8rem; padding: .8rem 1.05rem; max-width: 34rem; }
.home-hero__quick { font-size: .7rem; }
.home-body { max-width: 58rem; }
.home-body .md-typeset h2 { font-size: 1.3rem; }
.home-body .cards.big .card { padding: 1.25rem; }
.home-body .card .more { font-size: .72rem; }
@media screen and (min-width: 60em) {
  .bw-header .md-search__icon[for="__search"] { top: 50%; transform: translateY(-50%); }
  .bw-header .md-search__icon[for="__search"] svg { width: 1.05rem; height: 1.05rem; }
}

/* ===================================================== compact screenshots, click to enlarge */
.md-typeset figure { width: auto; max-width: 62%; margin: 1.2em auto 1.6em; }
.md-typeset .steps > ol > li figure { max-width: 70%; width: auto; margin: .9em auto .3em; }
.md-typeset figure > a.glightbox { position: relative; display: block; border-radius: 12px; cursor: zoom-in; }
.md-typeset figure > a.glightbox img { transition: transform .25s ease, box-shadow .25s ease; }
.md-typeset figure > a.glightbox:hover img { transform: translateY(-3px); box-shadow: 0 22px 40px -18px rgba(12, 26, 54, .45); }
.md-typeset figure > a.glightbox::after {
  content: ""; position: absolute; right: .6rem; bottom: .6rem; width: 1.7rem; height: 1.7rem; border-radius: 8px;
  background: rgba(12, 26, 54, .78) no-repeat center / 1rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5m-.5 2h1v2h2v1h-2v2H9v-2H7V9h2z'/%3E%3C/svg%3E");
  opacity: .0; transform: scale(.85); transition: opacity .2s, transform .2s; pointer-events: none;
}
.md-typeset figure > a.glightbox:hover::after { opacity: 1; transform: none; }
.md-typeset figcaption { text-align: center; }
@media screen and (max-width: 60em) {
  .md-typeset figure, .md-typeset .steps > ol > li figure { max-width: 100%; }
}
/* lightbox: dark backdrop, rounded full-size image */
.goverlay { background: rgba(8, 19, 42, .88) !important; }
.gslide-image img { border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }

/* ===================================================== supplied BizzWeave logo */
.bw-brand { padding: 1.1rem 1.15rem 1rem; }
.bw-brand img { width: 10.2rem; height: auto; filter: none; }
.bw-header__brand img { width: auto; height: 1.7rem; }
.bw-logo-dark { display: none; }
[data-md-color-scheme="slate"] .bw-logo-light { display: none; }
[data-md-color-scheme="slate"] .bw-logo-dark { display: inline; }
.md-nav__title .md-logo img { height: 1.6rem; width: auto; }

/* sidebar logo block lines up exactly with the 3.3rem header (border-box, 1px bottom border) */
.bw-brand {
  box-sizing: border-box; height: 3.3rem; padding: 0 1.15rem; display: flex; align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.bw-brand img { width: auto; height: 1.75rem; display: block; }
.bw-nav-title { padding-top: 1.25rem; }
