/* ==========================================================================
   CellBIM documentation theme (shared Nomitech docs theme, see costos/) (on top of mkdocs-material)
   ========================================================================== */

/* ---------- Brand tokens (from nomitech.com) ---------- */
:root {
  --brand-blue:         #007742;
  --brand-blue-dark:    #2fbf7d;
  --brand-black:        #131516;
  --brand-surface:      #f4f4f7;
  --brand-muted:        #606276;
  --brand-heading-font: "Sora", "Inter", sans-serif;
  --brand-radius:       16px;
  --brand-radius-sm:    10px;
  --brand-border:       #e3e3e7;
  --brand-shadow:       0 1px 2px rgba(9, 13, 73, .04), 0 6px 20px rgba(9, 13, 73, .05);
  --brand-shadow-hover: 0 2px 6px rgba(9, 13, 73, .06), 0 16px 40px rgba(0, 119, 66, .12);
}

[data-md-color-scheme="default"] {
  --md-primary-fg-color:        var(--brand-black);
  --md-primary-fg-color--light: #23262a;
  --md-primary-fg-color--dark:  #0a0a0f;
  --md-primary-bg-color:        #ffffff;
  --md-accent-fg-color:         var(--brand-blue);
  --md-accent-fg-color--transparent: rgba(0, 119, 66, .07);
  --md-typeset-a-color:         #006636;
  --md-default-fg-color:        var(--brand-black);
  --md-default-fg-color--light: var(--brand-muted);
  --md-default-bg-color:        #ffffff;
  --md-code-bg-color:           var(--brand-surface);
}

[data-md-color-scheme="slate"] {
  --md-hue: 236;
  --md-primary-fg-color:        #0a0a0f;
  --md-primary-fg-color--light: #1d1e2a;
  --md-primary-fg-color--dark:  #050508;
  --md-accent-fg-color:         var(--brand-blue-dark);
  --md-accent-fg-color--transparent: rgba(47, 191, 125, .16);
  --md-typeset-a-color:         #7ee2a8;
  --md-default-fg-color:        #e9e9ec;
  --md-default-fg-color--light: #a3a4bd;
  --md-default-bg-color:        #0a0a0f;
  --md-code-bg-color:           #1d1e2a;
  --brand-surface:             #12131b;
  --brand-border:              #363740;
  --brand-shadow:              0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .3);
  --brand-shadow-hover:        0 2px 6px rgba(0, 0, 0, .4), 0 16px 40px rgba(47, 191, 125, .2);
}

.md-typeset h1, .md-typeset h2, .md-typeset h3,
.cx-hero h1, .cx-section__head h2, .cx-card h3 { font-family: var(--brand-heading-font); }

/* ---------- Header & tabs ---------- */
.md-header {
  background: var(--md-primary-fg-color);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.md-header--shadow { box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 6px 24px rgba(0, 0, 0, .18); }
.md-header__button.md-logo img,
.md-header__button.md-logo svg { height: 1.6rem; width: auto; }
.md-header__title { margin-left: .5rem; }
/* The product switcher (overrides/partials/product-switcher.html) replaces the
   site name next to the logo; the title area only shows the page title on scroll */
.md-header__title .md-header__topic:first-child { visibility: hidden; }
.md-header__title .md-header__topic + .md-header__topic { font-size: .78rem; font-weight: 500; font-family: var(--md-text-font-family); }

/* ---------- Product switcher ---------- */
.cx-switcher { position: relative; flex: none; margin-left: .5rem; padding-left: .7rem; border-left: 1px solid rgba(255, 255, 255, .22); }
.cx-switcher__toggle {
  display: inline-flex; align-items: center; gap: .2rem;
  padding: .3rem .5rem; border-radius: 8px; cursor: pointer;
  font: inherit; font-size: .78rem; font-weight: 400; letter-spacing: .01em;
  color: rgba(255, 255, 255, .72); background: none; border: 0;
  transition: background .15s, color .15s;
}
.cx-switcher__toggle:hover, .cx-switcher.is-open .cx-switcher__toggle { color: #fff; background: rgba(255, 255, 255, .08); }
.cx-switcher__toggle svg { width: .9rem; height: .9rem; fill: currentColor; transition: transform .15s; }
.cx-switcher.is-open .cx-switcher__toggle svg { transform: rotate(180deg); }
.cx-switcher__menu {
  position: absolute; top: calc(100% + .4rem); left: .2rem; z-index: 10; min-width: 15rem;
  display: none; padding: .35rem; border-radius: 12px;
  background: var(--md-default-bg-color); color: var(--md-default-fg-color);
  border: 1px solid var(--md-default-fg-color--lightest);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}
.cx-switcher.is-open .cx-switcher__menu { display: block; }
.cx-switcher__label {
  padding: .4rem .6rem .3rem; font-size: .55rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--md-default-fg-color--light);
}
.cx-switcher__item {
  display: grid; grid-template-columns: .6rem 1fr auto; align-items: center; column-gap: .55rem;
  padding: .45rem .6rem; border-radius: 8px; color: var(--md-default-fg-color) !important;
  transition: background .12s;
}
.cx-switcher__item:hover { background: var(--md-accent-fg-color--transparent); }
.cx-switcher__item.is-current { background: var(--md-accent-fg-color--transparent); }
.cx-switcher__dot { width: .5rem; height: .5rem; border-radius: 50%; }
.cx-switcher__name { font-size: .7rem; font-weight: 600; }
.cx-switcher__text { grid-column: 2; font-size: .6rem; color: var(--md-default-fg-color--light); }
.cx-switcher__item > svg { grid-column: 3; grid-row: 1 / span 2; width: .8rem; height: .8rem; fill: var(--md-accent-fg-color); }
.cx-switcher__all {
  grid-template-columns: .8rem 1fr; margin-top: .3rem; padding-top: .55rem;
  border-top: 1px solid var(--md-default-fg-color--lightest); border-radius: 0 0 8px 8px;
}
.cx-switcher__all > svg { grid-column: 1; grid-row: 1; fill: var(--md-default-fg-color--light); }
.cx-switcher__toggle:focus-visible { outline: 2px solid rgba(255, 255, 255, .45); outline-offset: 1px; }
@media screen and (max-width: 44.9844em) {
  .cx-switcher { padding-left: .3rem; border-left: 0; }
  .cx-switcher__menu { position: fixed; top: 2.7rem; left: .6rem; right: .6rem; min-width: 0; }
}

.md-tabs {
  background: var(--md-primary-fg-color);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.md-tabs__link { font-weight: 500; opacity: .72; font-size: .72rem; }
.md-tabs__item--active .md-tabs__link { opacity: 1; }
.md-tabs__item--active { position: relative; }
.md-tabs__item--active::after {
  content: ""; position: absolute; left: .6rem; right: .6rem; bottom: 0;
  height: 2px; border-radius: 2px; background: var(--md-accent-fg-color);
}

.md-search__form { border-radius: 999px; background: rgba(255, 255, 255, .08); }
.md-search__form:hover { background: rgba(255, 255, 255, .14); }

/* ---------- Layout: full-width chrome, readable content column ---------- */
.md-grid { max-width: none; }
.md-content { min-width: 0; }
.md-content__inner { max-width: 52rem; }
/* centre the column only when there is room; on small screens keep Material's side margins */
@media screen and (min-width: 60em) {
  .md-content__inner { margin-left: auto; margin-right: auto; }
}
@media screen and (min-width: 76.25em) {
  .md-content__inner { padding-left: 1.6rem; padding-right: 1.6rem; }
  .md-sidebar--secondary { width: 14rem; }
}
.md-main { flex-grow: 1; }

/* ---------- Navigation sidebar: collapsible page tree (Confluence-style) ---------- */
@media screen and (min-width: 76.25em) {
  .md-sidebar--primary { width: 17rem; }
  .md-sidebar--primary .md-sidebar__inner { padding-right: .6rem; }
  .md-nav--primary > .md-nav__title { display: none; }
  .md-nav--primary { font-size: .68rem; }
  .md-nav--secondary { font-size: .64rem; }

  /* one consistent indent step + thin guide line per level */
  .md-nav--primary .md-nav__item { padding: 0; }
  .md-nav--primary .md-nav__list { padding-left: 0; }
  .md-nav--primary .md-nav__item--nested > .md-nav,
  .md-nav--primary .md-nav__item--nested > .md-nav[data-md-level] {
    margin: .05rem 0 .15rem .3rem; padding-left: .3rem;
    border-left: 1px solid var(--brand-border);
  }
}

/* show full titles: no single-line ellipsis */
.md-nav--primary .md-ellipsis {
  white-space: normal; overflow: visible; text-overflow: clip;
  display: block; -webkit-line-clamp: unset;
}

/* every row (plain link, section label, or link+toggle container) looks the same */
.md-nav--primary .md-nav__link,
.md-nav--primary .md-nav__container {
  display: flex; align-items: center; gap: .3rem;
  margin: 1px 0 0; padding: .28rem .5rem; border-radius: 6px;
  line-height: 1.35; color: var(--md-default-fg-color--light); font-weight: 400;
  transition: background .12s, color .12s;
}
.md-nav--primary .md-nav__container > .md-nav__link {
  margin: 0; padding: 0; border-radius: 0; background: none !important; box-shadow: none;
}
.md-nav--primary .md-nav__container > .md-nav__link:first-child { flex: 1 1 auto; min-width: 0; }
.md-nav--primary .md-nav__container > .md-nav__link:not(:first-child) { flex: none; }
.md-nav--primary .md-nav__link > .md-ellipsis { flex: 1 1 auto; min-width: 0; }
.md-nav--primary .md-nav__icon { flex: none; margin-left: auto; opacity: .45; }

.md-nav--primary .md-nav__link:hover,
.md-nav--primary .md-nav__container:hover {
  background: var(--md-accent-fg-color--transparent); color: var(--md-default-fg-color);
}
.md-nav--primary .md-nav__container:hover > .md-nav__link { color: var(--md-default-fg-color); }

/* top-level entries slightly stronger, like space sections */
.md-nav--primary > .md-nav__list > .md-nav__item > .md-nav__link,
.md-nav--primary > .md-nav__list > .md-nav__item > .md-nav__container > .md-nav__link:first-child {
  color: var(--md-default-fg-color); font-weight: 600;
}

/* active page */
.md-nav--primary .md-nav__link--active,
.md-nav--primary .md-nav__container:has(> .md-nav__link--active) {
  background: var(--md-accent-fg-color--transparent);
  color: var(--md-accent-fg-color) !important; font-weight: 600;
}
.md-nav--primary .md-nav__container > .md-nav__link--active { color: var(--md-accent-fg-color) !important; }

/* right-hand "On this page" as a tree */
.md-nav--secondary .md-nav__title { font-weight: 700; }
.md-nav--secondary .md-nav__list .md-nav__list {
  margin-left: .35rem; padding-left: .55rem;
  border-left: 1px solid var(--brand-border);
}
.md-nav--secondary .md-nav__link { margin-top: .35em; }
.md-nav--secondary .md-nav__link--active { color: var(--md-accent-fg-color); font-weight: 600; }

/* ---------- Typography (Confluence-like sizes) ---------- */
/* Material scales the root font up to 137.5% / 150% on wide screens; keep it fixed */
html { font-size: 125%; }
.md-typeset { font-size: .75rem; line-height: 1.65; }           /* 15px body */
.md-typeset h1 {
  font-weight: 600; letter-spacing: -.02em; color: var(--md-default-fg-color);
  font-size: 1.45rem; line-height: 1.25; margin: 0 0 1rem;      /* ~29px */
}
.md-typeset h2 {
  font-weight: 600; letter-spacing: -.01em; font-size: 1.1rem; /* ~22px */
  line-height: 1.3; margin-top: 1.8em; padding-top: .3em;
}
.md-typeset h3 { font-weight: 600; font-size: .9rem; margin-top: 1.5em; }   /* ~18px */
.md-typeset h4 { font-weight: 600; font-size: .78rem; }
.md-typeset hr { border-bottom: 1px solid var(--brand-border); margin: 2em 0; }
.md-typeset .headerlink { color: var(--md-default-fg-color--lighter); }
.md-typeset a { text-underline-offset: .18em; }
.md-typeset a:hover { text-decoration: underline; }

/* ---------- Images ---------- */
.md-typeset img:not(.no-frame):not(.twemoji):not([src$=".svg"]) {
  border-radius: var(--brand-radius-sm);
  border: 1px solid var(--brand-border);
  box-shadow: var(--brand-shadow);
  max-width: 100%; height: auto;
}
.md-typeset .glightbox img { transition: box-shadow .2s, transform .2s; cursor: zoom-in; }
.md-typeset .glightbox:hover img { box-shadow: var(--brand-shadow-hover); }
img[src*="#center"] { display: block; margin: 1rem auto; }
img[src*="#right"]  { float: right; margin: 0 0 1rem 1rem; }

/* ---------- Tables ---------- */
.md-typeset table:not([class]),
.md-typeset .table-wrap table,
.md-typeset .table1 {
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-sm);
  border-collapse: separate; border-spacing: 0;
  overflow: hidden; font-size: .7rem;
  box-shadow: var(--brand-shadow);
}
.md-typeset table:not([class]) th,
.md-typeset .table-wrap th,
.md-typeset .table1 th {
  background: var(--md-code-bg-color);
  font-weight: 650; text-align: left;
  border-bottom: 1px solid var(--brand-border);
}
.md-typeset .table-wrap td, .md-typeset .table-wrap th,
.md-typeset .table1 td,   .md-typeset .table1 th {
  padding: .7em 1em; vertical-align: top;
  border-top: 1px solid var(--brand-border);
}
.md-typeset .table-wrap tr:first-child > *, .md-typeset .table1 tr:first-child > * { border-top: 0; }
.md-typeset table:not([class]) tbody tr:hover,
.md-typeset .table-wrap tbody tr:hover { background: var(--md-accent-fg-color--transparent); }
.md-typeset .table-wrap { margin: 1.2em 0; }
.md-typeset .table-wrap table { width: 100%; display: table; box-sizing: border-box; }
.md-typeset .table-wrap td > :first-child, .md-typeset .table-wrap th > :first-child { margin-top: 0; }
.md-typeset .table-wrap td > :last-child,  .md-typeset .table-wrap th > :last-child  { margin-bottom: 0; }
.md-typeset .table1 { width: 100%; margin-bottom: 20px; }

/* ---------- Admonitions ---------- */
.md-typeset .admonition, .md-typeset details {
  border-width: 0 0 0 3px; border-radius: var(--brand-radius-sm);
  box-shadow: none; font-size: .72rem;
  background: color-mix(in srgb, var(--md-default-fg-color) 2.5%, transparent);
}
.md-typeset .admonition-title, .md-typeset summary {
  font-weight: 650; background: transparent !important;
}
.md-typeset .admonition.abstract {
  border: 1px solid var(--brand-border); border-left-width: 1px;
  background: transparent; box-shadow: var(--brand-shadow);
}
.md-typeset .admonition.abstract > .admonition-title {
  border-bottom: 1px solid var(--brand-border); font-size: .8rem;
}
.md-typeset .admonition.abstract > .admonition-title::before { background-color: var(--md-accent-fg-color); }

/* ---------- Code ---------- */
.md-typeset code { border-radius: 6px; font-size: .82em; }
.md-typeset pre > code { border-radius: var(--brand-radius-sm); }
.md-typeset .highlight { border: 1px solid var(--brand-border); border-radius: var(--brand-radius-sm); }
.md-typeset kbd { border-radius: 5px; }

/* ---------- Buttons ---------- */
.md-typeset .md-button {
  border-radius: 999px; font-weight: 600; padding: .55em 1.4em;
  transition: all .15s ease;
}
.md-typeset .md-button:hover { transform: translateY(-1px); }

/* ---------- Grid cards ---------- */
.md-typeset .grid.cards > ul > li,
.md-typeset .grid > .card {
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  background: var(--md-default-bg-color);
  box-shadow: var(--brand-shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  padding: 1rem 1.1rem;
}
.md-typeset .grid.cards > ul > li:hover,
.md-typeset .grid > .card:hover {
  transform: translateY(-2px);
  box-shadow: var(--brand-shadow-hover);
  border-color: color-mix(in srgb, var(--md-accent-fg-color) 40%, transparent);
}
.md-typeset .grid.cards .lg { color: var(--md-accent-fg-color); }
.md-typeset .grid.cards a { text-decoration: none; }

/* ---------- Footer ---------- */
.md-footer { background: var(--md-primary-fg-color); }
.md-footer-meta { background: var(--md-primary-fg-color--dark); }

/* ---------- Legacy inline helpers (used in older pages) ---------- */
.button {
  display: inline-block; padding: .05em .55em; border-radius: 6px;
  border: 1px solid var(--brand-border); background: var(--md-code-bg-color);
  font-weight: 600; font-size: .9em;
}
.dialog-box {
  padding: .05em .5em; border-radius: 6px; font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--md-accent-fg-color) 50%, transparent);
}
.keyboard {
  padding: .05em .45em; border-radius: 5px; font-weight: 600; font-size: .9em;
  background: var(--md-code-bg-color); border: 1px solid var(--brand-border);
  box-shadow: 0 1px 0 var(--brand-border);
}
.mouse { font-weight: 600; color: var(--md-accent-fg-color); }

.responsiveIframe { margin: 0; position: relative; padding: 0 0 56.25%; }

/* ==========================================================================
   Landing page (styled after nomitech.com/product/cellbim)
   ========================================================================== */
.cx-hero {
  position: relative; overflow: hidden; color: #fff;
  background: #0a0a0f url("../img/hero-bg.webp") center / cover no-repeat;
}
.cx-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 10, 15, .92) 0%, rgba(10, 10, 15, .7) 45%, rgba(10, 10, 15, .25) 100%),
    linear-gradient(180deg, transparent 60%, rgba(0, 119, 66, .35) 100%);
}
.cx-hero__inner { position: relative; padding: 5rem 1.2rem 5.5rem; max-width: 61rem; margin: 0 auto; }
.cx-hero__logo { display: block; height: 4.4rem; width: auto; margin-bottom: 1.6rem; }
.cx-hero__eyebrow { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #7ee2a8; }
.cx-hero h1 {
  margin: .5rem 0 1rem; font-size: 2.5rem; line-height: 1.15; font-weight: 600;
  letter-spacing: -.03em; color: #fff; max-width: 32rem;
}
.cx-hero p { font-size: .9rem; line-height: 1.65; color: rgba(255, 255, 255, .72); max-width: 30rem; margin: 0 0 2rem; }
.cx-hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.cx-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .75rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: .76rem;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.cx-btn:hover { transform: translateY(-1px); }
.cx-btn--primary { background: var(--brand-blue); color: #fff !important; box-shadow: 0 8px 24px rgba(0, 119, 66, .45); }
.cx-btn--primary:hover { background: #00894c; }
.cx-btn--ghost { background: #fff; color: var(--brand-blue) !important; }
.cx-btn--ghost:hover { background: #e6f5ec; }
.cx-btn svg { width: 1em; height: 1em; fill: currentColor; }

.cx-body { background: var(--brand-surface); padding-bottom: 4rem; }
.cx-section { max-width: 61rem; margin: 0 auto; padding: 3.5rem 1.2rem 0; }
.cx-section__head { margin-bottom: 1.6rem; display: grid; gap: .3rem; }
.cx-eyebrow { font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--md-accent-fg-color); }
.cx-section__head h2 { font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; margin: 0; }
.cx-section__head p { margin: 0; color: var(--md-default-fg-color--light); font-size: .82rem; }

.cx-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(15.5rem, 100%), 1fr)); }
.cx-card {
  position: relative; display: flex; flex-direction: column; gap: .45rem;
  padding: 1.5rem 1.5rem 1.4rem; border-radius: var(--brand-radius);
  border: 1px solid var(--brand-border); background: var(--md-default-bg-color);
  box-shadow: var(--brand-shadow); color: var(--md-default-fg-color) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cx-card:hover { transform: translateY(-3px); box-shadow: var(--brand-shadow-hover); border-color: color-mix(in srgb, var(--md-accent-fg-color) 40%, transparent); }
.cx-card--dark { background: linear-gradient(180deg, #23252b 0%, #0d3a24 70%, #007742 130%); border-color: transparent; color: #fff !important; }
.cx-card--dark p { color: rgba(255, 255, 255, .75) !important; }
.cx-card--dark .cx-card__icon { background: rgba(255, 255, 255, .1); color: #fff; }
.cx-card--dark .cx-card__more { color: #fff; }
.cx-card__icon {
  width: 2.4rem; height: 2.4rem; border-radius: 12px; display: grid; place-items: center;
  background: var(--md-accent-fg-color--transparent); color: var(--md-accent-fg-color); margin-bottom: .4rem;
}
.cx-card__icon svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.cx-card h3 { margin: 0; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.cx-card p { margin: 0; font-size: .74rem; line-height: 1.6; color: var(--md-default-fg-color--light); }
.cx-card__more { margin-top: auto; padding-top: .6rem; font-size: .7rem; font-weight: 600; color: var(--md-accent-fg-color); }
.cx-card__more::after { content: " \203A"; transition: margin .15s; }
.cx-card:hover .cx-card__more::after { margin-left: .2rem; }

.cx-links {
  display: grid; gap: .25rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr));
  background: var(--md-default-bg-color); border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius); padding: .8rem; box-shadow: var(--brand-shadow);
}
.cx-links a {
  display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: 10px;
  color: var(--md-default-fg-color) !important; font-size: .78rem; font-weight: 500; transition: background .15s;
}
.cx-links a:hover { background: var(--md-accent-fg-color--transparent); }
.cx-links a svg { width: 1rem; height: 1rem; fill: var(--md-accent-fg-color); flex: none; }

.cx-about { font-size: .8rem; color: var(--md-default-fg-color--light); }
.cx-about strong { color: var(--md-default-fg-color); }

@media screen and (max-width: 59.9844em) {
  .cx-hero__inner { padding: 3rem 1rem 3.5rem; }
  .cx-hero h1 { font-size: 1.9rem; }
  .cx-hero__logo { height: 3.2rem; }
}

.cx-hero h1, .cx-section__head h2 { overflow-wrap: anywhere; }

/* ==========================================================================
   Export (PDF / print)
   ========================================================================== */
.cx-export { float: right; display: flex; gap: .4rem; margin: .1rem 0 0 1rem; }
.cx-export__btn {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .3rem .7rem; border-radius: 999px; font-size: .62rem; font-weight: 600;
  color: var(--md-default-fg-color--light) !important;
  border: 1px solid var(--brand-border, var(--costos-border));
  background: var(--md-default-bg-color);
  transition: color .15s, border-color .15s, background .15s;
}
.cx-export__btn:hover {
  color: var(--md-accent-fg-color) !important;
  border-color: var(--md-accent-fg-color);
  background: var(--md-accent-fg-color--transparent);
}
.cx-export__btn svg { width: .85rem; height: .85rem; fill: currentColor; }
.cx-export__btn { font-family: inherit; cursor: pointer; line-height: inherit; }
.cx-export__btn.is-copied {
  color: var(--md-accent-fg-color) !important;
  border-color: var(--md-accent-fg-color);
  background: var(--md-accent-fg-color--transparent);
}
@media screen and (max-width: 44.9844em) { .cx-export__btn span { display: none; } }

/* Page numbers come from tools/make_pdf.py; drop the print-site plugin's own margin boxes */
@page {
  margin: 14mm 12mm 16mm 12mm;
  @bottom-center { content: none; }
  @bottom-right { content: none; }
}

@media print {
  .cx-export, .md-header, .md-tabs, .md-sidebar, .md-footer, .md-path,
  .md-content__button, .md-top, .md-progress { display: none !important; }
  .md-content__inner { max-width: none !important; margin: 0 !important; padding: 0 !important; }
  .md-typeset img { box-shadow: none !important; break-inside: avoid; }
  .md-typeset h1, .md-typeset h2, .md-typeset h3 { break-after: avoid; }
  .md-typeset table, .md-typeset .admonition, .md-typeset pre { break-inside: avoid; }
}
