/* upstratus brand on Material for MkDocs: LIGHT only.
   Colours from static/edgeai/site.css (the marketing site's light palette): primary teal #0B6B5B,
   the dark panel #12332D for the header band, and its trace colour #8CE8CF as the highlight.
   The --pf-* names are kept from prac_com's stylesheet this was adapted from. */
:root {
  --pf-navy: #12332D;
  --pf-navy-dark: #0B211D;
  --pf-ink: #1B1F23;
  --pf-blue: #0B6B5B;
  --pf-cream: #8CE8CF;
  --pf-bg: #FFFFFF;
  --pf-surface: #FFFFFF;
  --pf-raised: #F6F5F1;
  --pf-line: #CFCBC0;

  --md-primary-fg-color: var(--pf-navy);
  --md-primary-fg-color--light: #2F5C53;
  --md-primary-fg-color--dark: var(--pf-navy-dark);
  --md-accent-fg-color: var(--pf-blue);
  --md-accent-fg-color--transparent: rgba(11, 107, 91, 0.1);
  --md-default-bg-color: var(--pf-bg);
  --md-default-fg-color: rgba(27, 31, 35, 0.87);
  --md-typeset-color: var(--pf-ink);
  --md-typeset-a-color: var(--pf-blue);
  --md-code-bg-color: var(--pf-raised);
  --md-text-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --md-code-font-family: ui-monospace, "Cascadia Code", "Fira Code", monospace;
}

/* ── Header: the product's own navbar, not a docs title bar ───────────────── */
.md-header.docs-header {
  background-color: var(--pf-navy);
  color: #fff;
  box-shadow: none;
}
.docs-header__inner { height: 2.8rem; padding: 0 0.6rem; gap: 0.4rem; }
.docs-header .md-header__button { color: #fff; margin: 0; }
.docs-header-brand { display: inline-flex; align-items: center; margin-right: 0.8rem; color: #fff; font-weight: 700; font-size: 0.95rem; }
.docs-header-brand:hover, .docs-header-brand:focus-visible { color: var(--pf-cream); }
.docs-header__nav { display: flex; align-items: center; flex: 1 1 auto; gap: 0.2rem; }
.docs-header__nav[hidden] { display: none; }
#docs-user-nav { justify-content: flex-end; }
.docs-header__links,
.docs-header__actions { display: flex; align-items: center; gap: 0.2rem; }
.docs-header__actions { margin-left: auto; }
.docs-header__link {
  color: #fff;
  font-size: 0.8rem;
  padding: 0.4rem 0.6rem;
  white-space: nowrap;
}
.docs-header__link:hover,
.docs-header__link:focus-visible { color: var(--pf-cream); }
.docs-header__link--current { color: var(--pf-cream); font-weight: 600; }
.docs-header__cta {
  display: inline-flex; align-items: center; margin-left: 0.4rem;
  padding: 0.35rem 0.7rem; border-radius: 0.3rem;
  background: var(--pf-cream); color: var(--pf-ink);
  font-size: 0.7rem; font-weight: 600; white-space: nowrap;
}
.docs-header__cta:hover,
.docs-header__cta:focus-visible { background: #B5F0DF; color: var(--pf-ink); }

/* ── Tab row: search first, left-justified, then the sections ─────────────── */
.md-tabs.docs-tabs {
  display: block;
  overflow: visible;                            /* the search results panel hangs below */
  background-color: var(--pf-surface);
  color: var(--pf-ink);
  border-bottom: 1px solid var(--pf-line);
}
.docs-tabs-row { display: flex; align-items: center; gap: 0.8rem; padding: 0 0.6rem; }
.docs-tabs .md-search { flex: 0 0 auto; }
.docs-tabs .md-search__inner { float: none; }
.docs-tabs .md-tabs__list { flex: 1 1 auto; min-width: 0; margin-left: 0; overflow-x: auto; white-space: nowrap; }
.md-tabs__link { color: rgba(31, 41, 55, 0.7); opacity: 1; }
.md-tabs__link:hover,
.md-tabs__item--active .md-tabs__link { color: var(--pf-blue); }
.md-tabs__item.docs-tab-home .md-tabs__link { font-weight: 700; color: var(--pf-ink); }
.md-search__form { background-color: var(--pf-raised); }
.md-search__form:hover { background-color: var(--pf-line); }
.md-search__input,
.md-search__input::placeholder,
.md-search__icon { color: rgba(31, 41, 55, 0.7); }

/* Header 2.8rem + tab row 2.4rem: keep the sticky sidebars below both. */
.md-header--lifted ~ .md-container .md-sidebar { top: 5.2rem; }

/* Below 76.25em Material hides the tabs (the drawer carries the sections): keep the
   row for search, drop the list. Below 60em search is Material's full-screen overlay,
   opened from the header button — the row collapses but must stay rendered, because
   `display: none` would hide the overlay with it. */
@media screen and (max-width: 76.234375em) {
  .docs-tabs .md-tabs__list { display: none; }
  .md-header--lifted ~ .md-container .md-sidebar { top: 0; }
}
@media screen and (max-width: 59.984375em) {
  .md-tabs.docs-tabs { border-bottom: 0; }
  .docs-tabs-row { padding: 0; }
  .docs-header__links,
  .docs-header__login { display: none; }
}
@media screen and (max-width: 35em) {
  .docs-header__cta { display: none; }
}

.md-typeset h1 { color: var(--pf-ink); font-weight: 700; }
.md-typeset h2 { font-weight: 650; }

/* QA-captured screenshots: framed, never wider than the column. */
.md-typeset img.docs-shot {
  display: block;
  max-width: 100%;
  margin: 0.8rem 0 1.2rem;
  border: 1px solid var(--pf-line);
  border-radius: 0.4rem;
  box-shadow: 0 2px 10px rgba(31, 41, 55, 0.08);
}

/* ── Front page ─────────────────────────────────────────────────────────── */
.md-typeset .us-hero {
  margin: 0 0 2rem;
  padding: 2rem 1.6rem;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--pf-raised) 100%);
  border: 1px solid var(--pf-line);
}
.md-typeset .us-hero h1 { margin: 0 0 0.6rem; font-size: 2rem; line-height: 1.2; }
.md-typeset .us-hero p { font-size: 0.95rem; max-width: 38rem; margin: 0 0 1.2rem; }
.md-typeset .us-hero .md-button { margin: 0.2rem 0.4rem 0.2rem 0; }

.md-typeset .grid.cards > ul > li,
.md-typeset .grid > .card {
  border-radius: 0.6rem;
  border: 1px solid var(--pf-line);
  background: var(--pf-surface);
}
.md-typeset .grid.cards > ul > li:hover { border-color: var(--pf-navy); box-shadow: 0 4px 14px rgba(31, 41, 55, 0.08); }
.md-typeset .grid.cards > ul > li > p:first-child strong { font-size: 0.85rem; color: var(--pf-ink); }

/* Front page: audience cards as a 2-column grid. */
.md-typeset .grid.cards.us-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media screen and (max-width: 44.9375em) {
  .md-typeset .grid.cards.us-two { grid-template-columns: 1fr; }
}
