/* Material for MkDocs, set to the look every wheelgap site shares. brand.css (a copy of wheelgap/tracker's
   site/brand.css, loaded first) has the tokens, the header's and footer's own rules, and switches the tokens to
   dark for data-md-color-scheme="slate". This file points Material's variables at those tokens and fits Material's
   header (overrides/partials/header.html) and footer (overrides/partials/copyright.html) to brand.css's. The pages
   themselves (headings, text, links, code, tables, notes, the navigation) follow the tracker's (its site/style.css). */

/* Colours: primary is the wheelgap navy, accent the wheelgap yellow (its darker shade as text on light pages, where
   the yellow itself is too faint to read). Set on both schemes, since Material sets its own per scheme. */
[data-md-color-scheme="default"],
[data-md-color-scheme="slate"] {
  --md-primary-fg-color: var(--wg-navy);
  --md-primary-fg-color--light: var(--wg-navy-light);
  --md-primary-fg-color--dark: var(--wg-navy-dark);
  --md-primary-bg-color: var(--wg-surface);
  --md-primary-bg-color--light: var(--wg-muted);
  --md-accent-fg-color: var(--wg-amber-dark);
  --md-accent-fg-color--transparent: color-mix(in srgb, var(--wg-amber) 12%, transparent);
  --md-accent-bg-color: var(--wg-surface);
  --md-accent-bg-color--light: var(--wg-muted);

  --md-default-bg-color: var(--wg-bg);
  --md-default-bg-color--light: color-mix(in srgb, var(--wg-bg) 70%, transparent);
  --md-default-bg-color--lighter: color-mix(in srgb, var(--wg-bg) 30%, transparent);
  --md-default-bg-color--lightest: color-mix(in srgb, var(--wg-bg) 12%, transparent);
  --md-default-fg-color: var(--wg-text);
  --md-default-fg-color--light: var(--wg-muted);
  --md-default-fg-color--lighter: var(--wg-faint);
  --md-default-fg-color--lightest: var(--wg-line);

  --md-typeset-color: var(--wg-text);
  --md-typeset-a-color: var(--wg-accent);
  --md-code-bg-color: var(--wg-surface-alt);
  --md-code-fg-color: var(--wg-text);

  --md-footer-bg-color: var(--wg-bg);
  --md-footer-bg-color--dark: var(--wg-bg);
  --md-footer-fg-color: var(--wg-text);
  --md-footer-fg-color--light: var(--wg-muted);
  --md-footer-fg-color--lighter: var(--wg-muted);

  /* The system font stacks every wheelgap site uses (mkdocs.yml has font: false, so Material loads no web font). */
  --md-text-font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  --md-code-font: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono";

  /* Code: the tracker's <pre> (a surface with a line round it) and plain monospace inline code, with syntax colours
     from the same tokens as the tracker's statuses and diffs. */
  --md-code-bg-color: transparent;
  --md-code-hl-color: var(--wg-accent);
  --md-code-hl-color--light: color-mix(in srgb, var(--wg-accent) 12%, transparent);
  --md-code-hl-keyword-color: var(--wg-accent);
  --md-code-hl-string-color: var(--wg-wheel);
  --md-code-hl-number-color: var(--wg-text);
  --md-code-hl-constant-color: var(--wg-source);
  --md-code-hl-special-color: var(--wg-source);
  --md-code-hl-function-color: var(--wg-text);
  --md-code-hl-name-color: var(--wg-text);
  --md-code-hl-operator-color: var(--wg-muted);
  --md-code-hl-punctuation-color: var(--wg-muted);
  --md-code-hl-comment-color: var(--wg-muted);
  --md-code-hl-generic-color: var(--wg-muted);
  --md-code-hl-variable-color: var(--wg-text);

  --md-typeset-table-color: var(--wg-line);
  --md-typeset-table-color--light: transparent;
  --md-admonition-fg-color: var(--wg-text);
  --md-admonition-bg-color: var(--wg-surface);
  --md-shadow-z1: none;
  --md-shadow-z2: var(--wg-shadow-md);
  --md-shadow-z3: var(--wg-shadow-lg);
}
body {
  --md-text-font-family: var(--wg-sans);
  --md-code-font-family: var(--wg-mono);
  /* Material thins text with greyscale smoothing; the other sites use the system's. */
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}
[data-md-color-scheme="slate"] {
  --md-accent-fg-color: var(--wg-amber);
  --md-typeset-a-color: var(--wg-accent);
}

/* Focus rings in the navy (light) or blue (dark), as on the other sites. */
.md-typeset a:focus-visible,
.md-nav__link:focus-visible,
.md-header__button:focus-visible {
  outline: 2px solid var(--wg-focus);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Header: the shared bar, with Material's palette toggle, search and repository just before the shared links.
   -------------------------------------------------------------------------- */

/* Material leaves room for anchors under its own header; brand.css's room would come on top of it. */
html { scroll-padding-top: 0; }
.md-typeset :target { --md-scroll-margin: 72px; }

.md-header.wg-header {
  /* Material's own: under the menu drawer and its overlay (brand.css's 40 would cover the drawer's top). */
  z-index: 4;
  color: var(--wg-text);
  background-color: var(--wg-surface);
  border-bottom: 1px solid var(--wg-line);
  box-shadow: var(--wg-shadow-sm);
}
.md-header__inner.wg-bar {
  max-width: var(--wg-width);
  height: 56px;
  padding: 0 20px;
}
.md-header .wg-nav { margin-left: auto; }
/* In the one-row bar, the open search box widens over the links rather than folding them a word to a row. */
@media screen and (min-width: 76.25em) {
  /* The links end at the bar's right edge, in the same place as on the tracker, the gap wheels and the root site. The
     search box and the repository are a little narrower than Material's (in px: its rem grows on wide screens), so
     they fit beside the links from 1220px up. */
  .md-header .wg-md-tools { margin-left: auto; }
  .md-header .wg-nav { margin-left: 0; }
  .md-header .md-search__inner { width: 200px; }
  .md-header .md-header__source {
    width: 200px;
    margin-left: 16px;
  }
  [data-md-toggle="search"]:checked ~ .md-header .wg-nav {
    flex-wrap: nowrap;
    min-width: 0;
    overflow: hidden;
  }
}
.md-header .wg-md-tools {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  height: 56px;
}
.md-header .md-header__button {
  color: var(--wg-muted);
  margin: 0;
}
.md-header .md-header__button:hover {
  color: var(--wg-text);
  opacity: 1;
}
.md-header .md-header__button[for="__drawer"] { margin-left: -8px; }
.md-header .md-header__source { color: var(--wg-muted); }
.md-header .md-source:hover { color: var(--wg-text); opacity: 1; }
.md-header .md-source__repository { font-family: var(--wg-sans); }

/* The search box in the bar: the tracker's search field, a light box with a line round it. */
@media screen and (min-width: 60em) {
  .md-header .md-search__form {
    background-color: var(--wg-surface-alt);
    border: 1px solid var(--wg-line);
    border-radius: var(--wg-radius-sm);
  }
  .md-header .md-search__form:hover {
    background-color: var(--wg-surface-hover);
    border-color: var(--wg-line-strong);
  }
  .md-header .md-search__input,
  .md-header .md-search__input + .md-search__icon { color: var(--wg-text); }
  .md-header .md-search__input::placeholder { color: var(--wg-muted); }
}

/* Below Material's widest layout the docs' own navigation is behind the menu button, and the shared links wrap
   onto a second row of the bar. */
@media screen and (max-width: 76.234375em) {
  .md-header__inner.wg-bar {
    flex-wrap: wrap;
    height: auto;
    row-gap: 0;
    padding: 0 16px;
  }
  .md-header .wg-brand { margin-right: auto; }
  .md-header .wg-nav {
    order: 10;
    flex-basis: 100%;
    gap: 2px 18px;
    height: auto;
    margin: 0;
    padding: 0 0 8px;
  }
  .md-header .wg-nav a { min-height: 34px; }
  .md-header .wg-md-tools { height: 52px; }
  .md-typeset :target { --md-scroll-margin: 112px; }
}

/* Below Material's widest layout, where the links don't fit beside the tools, they go behind the menu button at the
   bar's far right (brand.css's popover, as on a phone on the other sites) and the bar is one row. Material's own
   menu button, for the docs' pages, stays at the left. Browsers without popovers keep the second row above. */
@supports selector(:popover-open) {
  @media screen and (max-width: 76.234375em) {
    .md-header__inner.wg-bar {
      flex-wrap: nowrap;
      height: 56px;
    }
    .md-header .wg-md-tools { height: 56px; }
    .md-header .wg-menu-btn {
      display: inline-flex;
      margin-left: 0;
    }
    .md-header .wg-nav[popover]:not(:popover-open) { display: none; }
  }
  @media screen and (min-width: 720px) and (max-width: 76.234375em) {
    .md-typeset :target { --md-scroll-margin: 72px; }
    /* The bar stays at the top of the window here, so the open menu stays under it. */
    .md-header .wg-nav[popover]:popover-open { position: fixed; }
  }
}

/* A phone: the bar scrolls away with the page, as on the other sites. */
@media screen and (max-width: 719px) {
  .md-header.wg-header { position: static; }
  .md-typeset :target { --md-scroll-margin: 16px; }
}

/* --------------------------------------------------------------------------
   Footer: brand.css's footer line in place of Material's copyright line.
   -------------------------------------------------------------------------- */

.md-footer { border-top: 1px solid var(--wg-line); }
.md-footer-meta__inner { max-width: var(--wg-width); }
.md-copyright.wg-footer {
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 0;
  font-size: 14px;
}
.md-copyright.wg-footer .wg-footer-inner { padding: 24px 20px 32px; }
@media screen and (max-width: 719px) {
  .md-copyright.wg-footer .wg-footer-inner { padding: 20px 16px 28px; }
}

/* --------------------------------------------------------------------------
   Page: the tracker's pages (its site/style.css) in Material's layout. The reading column is the tracker's: 920px
   with 16px either side, the text 16px/1.55. Sizes are in px, since Material's root font size grows on wide screens.
   -------------------------------------------------------------------------- */

.md-main__inner.md-grid {
  box-sizing: border-box;
  max-width: var(--wg-width);
  margin-top: 0;
  padding: 0 20px;
}
.md-content {
  max-width: 920px;
  margin: 0 auto;
}
.md-content__inner,
[dir] .md-sidebar--primary:not([hidden]) ~ .md-content > .md-content__inner {
  margin: 0;
  padding: 40px 16px 0;
  /* The room above the footer that brand.css's footer has on the other sites (.md-copyright sets it to 0). */
  margin-bottom: 56px;
}
.md-content__inner::before { display: none; }
@media screen and (max-width: 76.234375em) {
  .md-main__inner.md-grid { padding: 0; }
}
@media screen and (max-width: 640px) {
  .md-content__inner,
  [dir] .md-sidebar--primary:not([hidden]) ~ .md-content > .md-content__inner { padding-top: 28px; }
}

.md-typeset {
  font-size: var(--wg-text-size);
  line-height: 1.55;
  color: var(--wg-text);
}
/* Running text stops at a readable line length; tables, code and the cards keep the column's full width. */
.md-typeset > p:not(:has(img, picture, video)),
.md-typeset > ul,
.md-typeset > ol,
.md-typeset > blockquote { max-width: var(--wg-measure); }
.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4,
.md-typeset h5,
.md-typeset h6 {
  color: var(--wg-text);
  font-family: var(--wg-sans);
  font-weight: 700;
}
.md-typeset h1 {
  margin: 10px 0 12px;
  font-size: clamp(32px, 5vw, 44.8px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.md-typeset h2 {
  margin: 44px 0 8px;
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.md-typeset h3 {
  margin: 28px 0 6px;
  font-size: 17.6px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.md-typeset h4 {
  margin: 20px 0 4px;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: normal;
}
.md-typeset h2 code,
.md-typeset h3 code,
.md-typeset h4 code { font-size: 0.9em; }

/* Links: the tracker's, underlined in the link colour, with brand.css's underline (Material's `a` rule resets it). */
.md-typeset a,
.md-typeset a:hover,
.md-typeset a:focus {
  color: var(--wg-accent);
  text-decoration-line: underline;
  text-decoration-thickness: var(--wg-underline-thickness);
}
.md-typeset a code,
.md-typeset a:hover code,
.md-typeset a:focus code {
  color: inherit;
  background-color: transparent;
}
.md-typeset .headerlink,
.md-typeset .headerlink:hover,
.md-typeset .headerlink:focus {
  color: var(--wg-faint);
  text-decoration: none;
}
.md-typeset .headerlink:hover,
.md-typeset .headerlink:focus,
.md-typeset :target > .headerlink { color: var(--wg-accent); }

[dir] .md-typeset blockquote {
  margin: 16px 0;
  padding-left: 16px;
  color: var(--wg-muted);
  border-left: 4px solid var(--wg-line);
}
.md-typeset hr { border-bottom-color: var(--wg-line); }

/* Code: inline code is monospace at 0.9em with no box; a block is the tracker's <pre>. */
.md-typeset code,
.md-typeset kbd,
.md-typeset pre {
  font-family: var(--wg-mono);
  font-variant-ligatures: none;
}
.md-typeset code {
  padding: 0;
  font-size: 0.9em;
  color: inherit;
  background-color: transparent;
  border-radius: 0;
}
.md-typeset pre {
  margin: 16px 0;
  font-size: 0.9em;
  line-height: 1.55;
  color: var(--wg-text);
  background-color: var(--wg-surface);
  border: 1px solid var(--wg-line);
  border-radius: 8px;
}
.md-typeset pre > code {
  padding: 12px 14px;
  font-size: 0.9em;
  color: var(--wg-text);
  background-color: transparent;
  border-radius: 8px;
  scrollbar-color: var(--wg-line-strong) transparent;
}
.md-typeset pre > code:hover { scrollbar-color: var(--wg-faint) transparent; }
.md-typeset .highlight,
.md-content__inner > .highlight { margin: 16px 0; }
.md-content__inner > .highlight > pre > code,
.md-content__inner > pre > code { border-radius: 8px; }
.md-content__inner > pre { margin: 16px 0; }

/* Material's copy button, as the tracker's copy button: a small box with a line round it, in the muted colour. */
.md-typeset .md-code__nav {
  top: 7px;
  right: 7px;
  padding: 0;
  background-color: transparent;
}
.md-typeset :hover > .md-code__nav { background-color: transparent; }
.md-typeset .md-code__button {
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  color: var(--wg-muted);
  background-color: var(--wg-surface-alt);
  border: 1px solid var(--wg-line);
  border-radius: 4px;
  outline-color: var(--wg-focus);
}
.md-typeset :hover > * > .md-code__button { color: var(--wg-muted); }
.md-typeset .md-code__button::after {
  width: 15px;
  height: 15px;
}
.md-typeset .md-code__button:hover,
.md-typeset .md-code__button.focus-visible {
  color: var(--wg-text);
  background-color: var(--wg-surface-hover);
}
.md-typeset pre:has(.md-code__nav) > code { padding-right: 46px; }

/* Tables: the tracker's (rows split by a line, monospace headings in the muted colour), the page's full width, and
   sideways scrolling when they are wider. */
.md-typeset__scrollwrap { margin: 16px 0; }
.md-typeset__table {
  display: block;
  padding: 0;
  margin: 0;
}
.md-typeset table:not([class]) {
  display: table;
  width: 100%;
  font-size: 14.08px;
  line-height: 1.55;
  background-color: transparent;
  border: 0;
  border-collapse: collapse;
  border-radius: 0;
}
.md-typeset table:not([class]) th,
.md-typeset table:not([class]) td {
  min-width: 0;
  padding: 6px 8px;
  text-align: left;
}
.md-typeset table:not([class]) th {
  color: var(--wg-muted);
  font: 600 12.8px var(--wg-mono);
  vertical-align: bottom;
  border-top: 0;
  border-bottom: 1px solid var(--wg-line-strong);
}
/* About 40px a one-line row, as on every wheelgap table (brand.css's --wg-row-height). */
.md-typeset table:not([class]) td {
  height: var(--wg-row-height);
  padding-top: 8px;
  padding-bottom: 8px;
  border-top: 1px solid var(--wg-line);
}
/* Words and code stay whole in a cell (Material lets code break anywhere, which crushes a narrow table): a table too
   wide for the screen scrolls sideways in its wrapper instead. */
.md-typeset table:not([class]) td,
.md-typeset table:not([class]) th,
.md-typeset table:not([class]) code {
  word-break: normal;
  overflow-wrap: break-word;
}
.md-typeset table:not([class]) tbody tr:hover,
body tr:hover {
  background-color: transparent;
  box-shadow: none;
}

/* Notes: the tracker's box that sends a reader to the repo checker, with a line down its left side and no icon. */
.md-content .md-typeset .admonition,
.md-content .md-typeset details {
  max-width: 70ch;
  margin: 24px 0;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--wg-text);
  background-color: var(--wg-surface);
  border: 1px solid var(--wg-line);
  border-left: 4px solid var(--wg-accent);
  border-radius: var(--wg-radius);
  box-shadow: none;
}
.md-content .md-typeset .admonition > .admonition-title,
.md-content .md-typeset details > summary {
  margin: 0 0 4px;
  padding: 0;
  font-weight: 700;
  background-color: transparent;
  border: 0;
}
.md-content .md-typeset details > summary { cursor: pointer; }
.md-content .md-typeset details:not([open]) > summary { margin-bottom: 0; }
.md-content .md-typeset .admonition > .admonition-title::before,
.md-content .md-typeset details > summary::before { display: none; }
.md-content .md-typeset details > summary::after {
  top: 2px;
  right: 0;
  background-color: var(--wg-muted);
}
.md-content .md-typeset .admonition > p,
.md-content .md-typeset details > p { margin: 0; }
.md-content .md-typeset .admonition > p + p,
.md-content .md-typeset details > p + p { margin-top: 8px; }
.md-content .md-typeset .admonition > :last-child,
.md-content .md-typeset details > :last-child { margin-bottom: 0; }

/* The back-to-top button: a small surface with a line round it. */
.md-top {
  color: var(--wg-muted);
  background-color: var(--wg-surface);
  border: 1px solid var(--wg-line);
  box-shadow: var(--wg-shadow-md);
}
.md-top:hover,
.md-top:focus {
  color: var(--wg-text);
  background-color: var(--wg-surface-hover);
}

/* --------------------------------------------------------------------------
   Navigation: the docs' pages down the left, quiet like the tracker's section links (14px, muted, the current one
   in the text colour with the header's yellow mark beside it). The page's own headings are under its link
   (toc.integrate), since no other wheelgap page has a second sidebar.
   -------------------------------------------------------------------------- */

.md-nav {
  font-size: 14px;
  line-height: 1.4;
}
.md-nav__link,
.md-nav__link[for] { color: var(--wg-muted); }
.md-nav__link[href]:hover,
.md-nav__link[for]:hover,
.md-nav__link:focus { color: var(--wg-text); }
.md-nav__link--active,
.md-nav__item .md-nav__link--active,
.md-nav--primary .md-nav__item--active > .md-nav__link,
.md-nav__item--active > .md-nav__link,
.md-nav__item--active > .md-nav__link:hover { color: var(--wg-text); }
.md-nav__link--active code,
.md-nav__item .md-nav__link--active code { color: inherit; }
.md-nav__link[href]:hover code {
  color: inherit;
  background-color: transparent;
}

@media screen and (min-width: 76.25em) {
  .md-sidebar--primary {
    top: 56px;
    width: 232px;
    padding: 40px 0 24px;
  }
  .md-sidebar--primary .md-sidebar__scrollwrap { margin: 0; }
  .md-sidebar--primary .md-sidebar__inner { padding-right: 16px; }
  /* The site's name is in the header already. */
  .md-sidebar--primary .md-nav--primary > .md-nav__title { display: none; }
  [dir] .md-sidebar--primary .md-nav__list { padding: 0; }
  .md-sidebar--primary .md-nav__item { padding: 0; }
  .md-sidebar--primary .md-nav__item--section > .md-nav { margin: 0; }
  .md-sidebar--primary .md-nav__link {
    margin: 0;
    padding: 5px 0 5px 12px;
    font-weight: 500;
    box-shadow: inset 1px 0 0 var(--wg-line);
  }
  .md-sidebar--primary .md-nav__link[href]:hover { box-shadow: inset 1px 0 0 var(--wg-line-strong); }
  /* The current page, as the header marks the current site. */
  .md-sidebar--primary .md-nav__item--active:not(.md-nav__item--section) > .md-nav__link {
    position: static;
    font-weight: 600;
    background: none;
    box-shadow: inset 3px 0 0 var(--wg-amber);
  }
  /* A group's name (Guides, Case studies...): small monospace capitals, as the tracker's table headings. */
  .md-sidebar--primary .md-nav__item--section { margin: 24px 0 0; }
  .md-sidebar--primary .md-nav__item--section > .md-nav__link,
  .md-sidebar--primary .md-nav__item--section > .md-nav__link[for] {
    margin-bottom: 6px;
    padding: 0;
    color: var(--wg-muted);
    font: 600 12px/1.4 var(--wg-mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: none;
  }
  /* The page's headings, under its link. */
  [dir] .md-sidebar--primary .md-nav--integrated > .md-nav__list > .md-nav__item--active .md-nav--secondary {
    margin: 0 0 6px;
    border: 0;
  }
  .md-sidebar--primary .md-nav--secondary .md-nav__link {
    padding: 3px 0 3px 24px;
    font-size: 13px;
    font-weight: 400;
  }
  .md-sidebar--primary .md-nav--secondary .md-nav .md-nav__link { padding-left: 36px; }
  .md-sidebar--primary .md-nav--secondary .md-nav__link--active { color: var(--wg-text); }
}

/* The menu (the docs' pages, below the widest layout): Material's drawer, in the page's colours. */
@media screen and (max-width: 76.234375em) {
  .md-nav--primary .md-nav__title,
  .md-nav--primary .md-nav__title[for="__drawer"] {
    color: var(--wg-text);
    background-color: var(--wg-surface);
    border-bottom: 1px solid var(--wg-line);
  }
  .md-nav--primary .md-nav__title ~ .md-nav__list { box-shadow: none; }
  .md-nav--primary .md-nav__item { border-top-color: var(--wg-line); }
  .md-nav--primary .md-nav__link { font-weight: 500; }
  .md-nav--primary .md-nav__item--active > .md-nav__link { font-weight: 600; }
  .md-nav__source {
    color: var(--wg-text);
    background-color: var(--wg-surface-alt);
  }
  .md-sidebar--primary { background-color: var(--wg-bg); }
}

/* --------------------------------------------------------------------------
   Search: results on the page's surfaces.
   -------------------------------------------------------------------------- */

.md-search__output,
.md-search-result { background-color: var(--wg-surface); }
.md-search-result__meta {
  color: var(--wg-muted);
  background-color: var(--wg-surface-alt);
}
.md-search-result__item { box-shadow: 0 -1px 0 var(--wg-line); }
.md-search-result__link:hover,
.md-search-result__link:focus,
.md-search-result__more > summary:hover,
.md-search-result__more > summary:focus { background-color: var(--wg-surface-hover); }
.md-search-result mark { color: var(--wg-accent); }
.md-search-result__teaser,
.md-search-result__terms { color: var(--wg-muted); }
/* ==========================================================================
   The home page's "Try it in your browser" card (docs/index.md), right under the uvx command: the words, and the
   button beside them (under them on a phone). Sizes in px, on the 16px body text's scale.
   ========================================================================== */

.md-typeset .wg-try {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 20px;
  align-items: center;
  /* The tracker's box that sends a reader to the repo checker, as the notes above are. */
  margin: 24px 0;
  padding: 14px 16px;
  border: 1px solid var(--wg-line);
  border-left: 4px solid var(--wg-accent);
  border-radius: var(--wg-radius);
  background: var(--wg-surface);
}
.md-typeset .wg-try p { grid-column: 1; margin: 0; color: var(--wg-muted); font-size: 16px; line-height: 1.55; }
.md-typeset .wg-try .wg-try-title { color: var(--wg-text); font-size: 16px; font-weight: 700; line-height: 1.55; }
.md-typeset .wg-try p:last-child { grid-column: 2; grid-row: 1 / span 2; }
.md-typeset .wg-try .wg-try-button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--wg-radius-sm);
  background: var(--wg-navy);
  color: var(--wg-surface);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}
.md-typeset .wg-try .wg-try-button:hover,
.md-typeset .wg-try .wg-try-button:focus { background: var(--wg-navy-dark); color: var(--wg-surface); }
.md-typeset .wg-try .wg-try-button:focus-visible { outline: 2px solid var(--wg-amber); outline-offset: 2px; }

@media (max-width: 719px) {
  .md-typeset .wg-try { grid-template-columns: minmax(0, 1fr); }
  .md-typeset .wg-try p:last-child { grid-column: 1; grid-row: auto; margin-top: 8px; }
}
