/* Blue → black header chrome — brand blue on the left, black on the right. */
:root,
[data-md-color-scheme="default"],
[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #041530;
  --md-primary-fg-color--light: #0b3d91;
  --md-primary-fg-color--dark: #000000;
  --md-primary-bg-color: #ffffff;
  --md-primary-bg-color--light: #ffffffb3;
  --md-accent-fg-color: #3b82f6;

  --er-header-bg: #041530;
  --er-banner-gradient: linear-gradient(90deg, #0b3d91 0%, #041530 42%, #000000 100%);
  --er-banner: url("../assets/header-banner.svg");
  --er-tabs-h: 2.4rem;
}

html,
body {
  margin: 0;
  padding: 0;
}

/* Shared blue→black banner chrome (header, desktop tabs, mobile drawer). */
.md-header,
.md-tabs,
.md-nav--primary .md-nav__title[for="__drawer"] {
  background-color: var(--er-header-bg) !important;
  background-image: var(--er-banner-gradient), var(--er-banner) !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  background-position: center !important;
  box-shadow: none !important;
}

.md-header {
  position: sticky;
  top: 0;
  z-index: 4;
}

.md-header::before {
  display: none !important;
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg,
.md-nav__button.md-logo img,
.md-nav__button.md-logo svg {
  height: 2rem;
  width: auto;
}

/* Mobile drawer: logo/title band must read as the same blue→black chrome. */
@media screen and (max-width: 76.234375em) {
  .md-nav--primary .md-nav__title[for="__drawer"] {
    color: var(--md-primary-bg-color) !important;
    /* Beat Material `background` shorthand resets that drop background-image. */
    background: var(--er-banner-gradient) var(--er-header-bg) !important;
  }
}

/* Labeled product links next to theme toggle (developer / website). */
.er-header-links {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0.15rem;
}

.er-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  height: 2.25rem;
  min-width: 6rem;
  padding: 0 0.55rem;
  border-radius: 0.25rem;
  color: var(--md-primary-bg-color);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: lowercase;
  opacity: 0.92;
  transition: background 140ms ease, opacity 140ms ease;
}

.er-header-link:hover,
.er-header-link:focus {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.er-header-link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
  opacity: 1;
}

.er-header-link__icon {
  display: inline-flex;
  width: 1.05rem;
  height: 1.05rem;
}

.er-header-link__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.er-header-link__label {
  line-height: 1;
}

@media screen and (max-width: 76.234375em) {
  .er-header-link__label {
    display: none;
  }

  .er-header-link {
    width: 2.25rem;
    min-width: 2.25rem;
    padding: 0;
    justify-content: center;
  }
}

/* High-contrast search on brand chrome. Theme toggle stays last (enterprise). */
.md-header .md-search__form {
  background-color: #ffffff;
  border-radius: 0.35rem;
  box-shadow: none;
}

.md-header .md-search__input {
  color: #041530;
}

.md-header .md-search__input::placeholder {
  color: #64748b;
}

.md-header .md-search__input + .md-search__icon {
  color: #334155;
}

.md-header .md-search__input:hover + .md-search__icon,
.md-header .md-search__input:focus + .md-search__icon {
  color: #0b3d91;
}

.md-header label.md-header__button[for="__search"] {
  color: #ffffff;
  opacity: 1;
}

/* ─────────────────────────────────────────────────────────────
   Home landing hero
   Tokens from the Engineering Runtime design system, which are
   read from docs/assets/logo-er.svg — the mark is the source of
   truth for brand colour, not this file.
   ───────────────────────────────────────────────────────────── */
:root{
  --er-blue-500:#3B82F6;
  --er-blue-600:#2563EB;
  --er-grad:linear-gradient(135deg,var(--er-blue-500),var(--er-blue-600));
  --er-ground:#05070d;
  --er-hero-line:#262D38;
  --er-hero-dim:#A2AAB9;
  --er-hero-faint:#737C8C;
}

/* Full-bleed out of the Material content column */
.er-hero{
  background:var(--er-ground);
  border:1px solid var(--er-hero-line);
  padding:3.2rem 1.6rem 2.4rem;
  margin:-1rem 0 2rem;
  text-align:center;
}
.er-hero h1{
  font-family:var(--md-code-font-family,ui-monospace,monospace);
  font-size:clamp(1.5rem,4.2vw,2.4rem);
  font-weight:600; letter-spacing:-.02em; line-height:1.2;
  color:#fff; margin:0 0 .9rem; border:none;
}
.er-hero h1 .dim{color:var(--er-hero-faint);font-style:normal}
.er-hero h1 .grad{
  background:var(--er-grad);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.er-hero p.lede{
  color:var(--er-hero-dim); max-width:48ch; margin:0 auto 1.6rem;
  font-size:.98rem; line-height:1.65;
}
.er-cta{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:center}
.er-cta a{
  font-family:var(--md-code-font-family,ui-monospace,monospace);
  font-size:.85rem; font-weight:600; text-decoration:none;
  padding:.7rem 1.25rem; display:inline-block;
}
.er-cta a.primary{background:var(--er-grad);color:#fff}
.er-cta a.primary:hover{filter:brightness(1.1)}
.er-cta a.ghost{color:var(--er-hero-dim);border:1px solid var(--er-hero-line)}
.er-cta a.ghost:hover{color:#fff;border-color:var(--er-blue-500)}

/* Allowed + denied — the block that shows governance instead of claiming it */
.er-term{
  background:#0b0f17; border:1px solid var(--er-hero-line); border-top:none;
  padding:1.3rem 1.4rem; margin:0 0 2rem;
  font-family:var(--md-code-font-family,ui-monospace,monospace);
  font-size:.78rem; line-height:1.85; overflow-x:auto; text-align:left;
}
.er-term .p{color:var(--er-hero-faint)}
.er-term .c{color:#fff}
.er-term .o{color:var(--er-hero-dim)}
.er-term .d{color:#E8735A}
.er-term .sep{height:.7rem}

/* Three-tier entry paths */
.er-paths{display:grid;gap:1px;background:var(--md-default-fg-color--lightest);
  border:1px solid var(--md-default-fg-color--lightest);margin:0 0 2rem}
@media(min-width:50rem){.er-paths{grid-template-columns:repeat(3,1fr)}}
.er-paths > div{background:var(--md-default-bg-color);padding:1.1rem 1.2rem}
.er-paths h3{
  font-family:var(--md-code-font-family,ui-monospace,monospace);
  font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--er-blue-500);margin:0 0 .45rem;font-weight:700;
}
.er-paths p{margin:0;font-size:.88rem;color:var(--md-default-fg-color--light)}
.er-paths a{font-weight:600}

.er-release{
  margin:2.5rem 0 0;
  padding-top:.8rem;
  border-top:1px solid var(--md-default-fg-color--lightest);
  font-size:.78rem;
  color:var(--md-default-fg-color--light);
}

@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .er-hero{border-color:#1b2230}
}

/* --- Documentation landing page ---------------------------------------- */

/* Carry the product site's blue visual language into Docs while keeping the
   page's job operational: orient readers, expose the reference map, and show
   the execution contract in real output. */
.md-main:has(.er-docs-hero) .md-main__inner {
  margin-top: 0;
}

.md-content:has(.er-docs-hero) {
  max-width: none;
}

.md-content__inner:has(.er-docs-hero) {
  margin-top: 0;
}

.md-content__inner:has(.er-docs-hero)::before {
  display: none;
}

.er-docs-bleed {
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding-right: max(1.2rem, calc((100vw - 61rem) / 2));
  padding-left: max(1.2rem, calc((100vw - 61rem) / 2));
}

.er-docs-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  margin-top: -1.5rem;
  padding-top: clamp(3.2rem, 7vw, 5.8rem);
  padding-bottom: clamp(2.6rem, 6vw, 4.8rem);
  background-color: #041530;
  background-image:
    radial-gradient(90rem 34rem at 12% -18%, rgba(59, 130, 246, 0.34), transparent 62%),
    radial-gradient(60rem 30rem at 96% 6%, rgba(11, 61, 145, 0.5), transparent 60%),
    linear-gradient(160deg, #06203f 0%, #041530 46%, #01070f 100%);
  color: #f8fbff;
}

.er-docs-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath d='M28 1 54 16v32L28 63 2 48V16z' fill='none' stroke='%233b82f6' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 96px;
  content: "";
  opacity: 0.14;
  -webkit-mask-image: linear-gradient(105deg, #000 0%, transparent 46%);
  mask-image: linear-gradient(105deg, #000 0%, transparent 46%);
}

.er-docs-hero__inner {
  width: 100%;
  max-width: 61rem;
  margin: 0 auto;
}

.er-docs-eyebrow {
  width: fit-content;
  margin: 0 0 1.3rem;
  padding: 0.38rem 0.72rem;
  border: 1px solid rgba(126, 176, 255, 0.55);
  border-radius: 999px;
  color: #a9caff;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}

.md-typeset .er-docs-hero h1 {
  max-width: 17ch;
  margin: 0 0 1.15rem;
  color: #ffffff;
  font-size: clamp(2.35rem, 6.2vw, 4.25rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.md-typeset .er-docs-hero h1 span {
  color: #70a4ff;
}

.er-docs-hero__lede {
  max-width: 48rem;
  margin: 0;
  color: #c2cde0;
  font-size: clamp(0.93rem, 1.7vw, 1.08rem);
  line-height: 1.7;
}

.er-docs-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.72rem;
  margin: 1.75rem 0 2.5rem;
}

.er-docs-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 2.85rem;
  padding: 0.68rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.er-docs-actions a.primary {
  background: #4f86ea;
  color: #03132c;
}

.er-docs-actions a.secondary {
  border-color: rgba(255, 255, 255, 0.48);
  color: #ffffff;
}

.er-docs-actions a.text {
  color: #cfe0ff;
}

.er-docs-actions a:is(:hover, :focus-visible) {
  border-color: #a9caff;
  background: #a9caff;
  color: #03132c;
}

.er-docs-actions a:focus-visible,
.er-docs-map a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 0.2rem;
}

.md-typeset ul.er-docs-hero__scope:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid rgba(126, 176, 255, 0.22);
  background: rgba(3, 14, 34, 0.52);
  list-style: none;
  backdrop-filter: blur(8px);
}

.md-typeset ul.er-docs-hero__scope:not([hidden]) > li {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding: 1rem 1.1rem;
  border-right: 1px solid rgba(126, 176, 255, 0.18);
}

.md-typeset ul.er-docs-hero__scope:not([hidden]) > li:last-child {
  border-right: 0;
}

.md-typeset ul.er-docs-hero__scope:not([hidden]) > li > b {
  color: #ffffff;
  font-size: 0.72rem;
}

.md-typeset ul.er-docs-hero__scope:not([hidden]) > li > span {
  color: #94a8c8;
  font-size: 0.62rem;
}

.er-docs-hero .er-term {
  margin: 1rem 0 0;
  border: 1px solid rgba(126, 176, 255, 0.22);
  background: rgba(2, 9, 21, 0.86);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
}

.md-typeset .er-docs-hero__safety {
  margin: 0.8rem 0 0;
  color: #aebbd0;
  font-size: 0.66rem;
  line-height: 1.55;
}

.md-typeset .er-docs-hero__safety strong {
  color: #ffffff;
}

.md-typeset .er-docs-hero__safety code {
  background: rgba(255, 255, 255, 0.08);
  color: #d8e6ff;
}

.md-typeset .er-docs-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.3rem 0 2.5rem;
}

.md-typeset .er-docs-map a {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.48rem;
  min-height: 8.8rem;
  padding: 1rem 2.65rem 1rem 1rem;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.35rem;
  background: var(--md-default-bg-color);
  color: var(--md-default-fg-color);
  text-decoration: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.md-typeset .er-docs-map a::after {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  color: var(--er-blue-500);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  content: "→";
  transition: transform 140ms ease;
}

.md-typeset .er-docs-map a:hover {
  border-color: var(--er-blue-500);
  box-shadow: 0 0.6rem 1.6rem rgba(15, 23, 42, 0.09);
  transform: translateY(-0.12rem);
}

.md-typeset .er-docs-map a:is(:hover, :focus-visible)::after {
  transform: translateX(0.18rem);
}

.md-typeset .er-docs-map span {
  color: var(--er-blue-500);
  font-family: var(--md-code-font-family, ui-monospace, monospace);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.md-typeset .er-docs-map b {
  font-size: 0.78rem;
  line-height: 1.35;
}

.md-typeset .er-docs-map small {
  color: var(--md-default-fg-color--light);
  font-size: 0.66rem;
  line-height: 1.55;
}

.md-typeset .er-docs-contract {
  display: grid;
  grid-template-columns: minmax(15rem, 0.85fr) minmax(0, 1.35fr);
  gap: 1.4rem 2rem;
  margin: 0 0 2.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 0.35rem;
  background:
    radial-gradient(28rem 15rem at 0% 0%, rgba(59, 130, 246, 0.12), transparent 72%),
    var(--md-default-bg-color);
}

.md-typeset .er-docs-contract__eyebrow,
.md-typeset .er-docs-contract__routes > div > span {
  color: var(--er-blue-500);
  font-family: var(--md-code-font-family, ui-monospace, monospace);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.md-typeset .er-docs-contract__intro h2 {
  margin: 0.55rem 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.md-typeset .er-docs-contract__intro p,
.md-typeset .er-docs-contract__routes p,
.md-typeset .er-docs-contract__footer p {
  margin: 0;
  color: var(--md-default-fg-color--light);
  font-size: 0.68rem;
  line-height: 1.6;
}

.md-typeset .er-docs-contract__routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.md-typeset .er-docs-contract__routes > div {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 1rem;
  border-left: 0.16rem solid var(--er-blue-500);
  background: color-mix(in srgb, var(--er-blue-500) 6%, var(--md-default-bg-color));
}

.md-typeset .er-docs-contract__routes strong {
  font-size: 0.78rem;
}

.md-typeset .er-docs-contract__footer {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--md-default-fg-color--lightest);
}

.md-typeset .er-docs-contract__footer a {
  flex: 0 0 auto;
  color: var(--er-blue-500);
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
}

.md-typeset .er-docs-contract__footer a:is(:hover, :focus-visible) {
  color: var(--er-blue-600);
}

.md-typeset .er-docs-contract__footer a:focus-visible {
  outline: 2px solid var(--er-blue-500);
  outline-offset: 0.2rem;
}

.md-typeset .er-docs-execution {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.3rem 0 0;
}

.md-typeset .er-docs-execution > a {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  gap: 0.55rem;
  min-height: 0;
  padding: 1.15rem 4rem 1.15rem 1.15rem;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-top: 0.16rem solid var(--er-blue-500);
  border-radius: 0.35rem;
  background: var(--md-default-bg-color);
  color: var(--md-default-fg-color);
  text-decoration: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.md-typeset .er-docs-execution > a::after {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  color: var(--md-default-fg-color--lightest);
  font-family: var(--md-code-font-family, ui-monospace, monospace);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  content: "01";
}

.md-typeset .er-docs-execution > a:nth-child(2)::after {
  content: "02";
}

.md-typeset .er-docs-execution > a:is(:hover, :focus-visible) {
  border-color: var(--er-blue-500);
  box-shadow: 0 0.6rem 1.6rem rgba(15, 23, 42, 0.09);
  transform: translateY(-0.12rem);
}

.md-typeset .er-docs-execution > a:focus-visible,
.md-typeset .er-docs-capability-route a:focus-visible {
  outline: 2px solid var(--er-blue-500);
  outline-offset: 0.2rem;
}

.md-typeset .er-docs-execution__label,
.md-typeset .er-docs-capability-route__label {
  color: var(--er-blue-500);
  font-family: var(--md-code-font-family, ui-monospace, monospace);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.md-typeset .er-docs-execution strong {
  font-size: 0.9rem;
  line-height: 1.35;
}

.md-typeset .er-docs-execution p {
  margin: 0;
  color: var(--md-default-fg-color--light);
  font-size: 0.7rem;
  line-height: 1.6;
}

.md-typeset .er-docs-execution small {
  color: var(--md-default-fg-color--light);
  font-size: 0.62rem;
  line-height: 1.5;
}

.md-typeset .er-docs-execution__action {
  align-self: end;
  color: var(--er-blue-500);
  font-size: 0.68rem;
  font-weight: 700;
}

.md-typeset .er-docs-execution__action b,
.md-typeset .er-docs-capability-route__actions span {
  display: inline-block;
  transition: transform 140ms ease;
}

.md-typeset .er-docs-execution > a:is(:hover, :focus-visible) .er-docs-execution__action b,
.md-typeset .er-docs-capability-route a:is(:hover, :focus-visible) span {
  transform: translateX(0.18rem);
}

.md-typeset .er-docs-capability-route {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(13rem, 0.7fr);
  gap: 1.5rem;
  align-items: center;
  margin: 1.3rem 0 2.5rem;
  padding: 1.4rem;
  border: 1px solid rgba(126, 176, 255, 0.24);
  border-radius: 0.35rem;
  background: linear-gradient(135deg, #102f62 0%, #071b3d 58%, #041021 100%);
  color: #ffffff;
}

.md-typeset .er-docs-capability-route p {
  margin: 0.55rem 0 0;
  color: #c2cde0;
  font-size: 0.72rem;
  line-height: 1.65;
}

.md-typeset .er-docs-capability-route code {
  border: 1px solid rgba(126, 176, 255, 0.24);
  background: rgba(2, 9, 21, 0.58);
  color: #d8e6ff;
}

.md-typeset .er-docs-capability-route__actions {
  display: grid;
  gap: 0.55rem;
}

.md-typeset .er-docs-capability-route__actions a {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 0.25rem;
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 700;
  text-decoration: none;
}

.md-typeset .er-docs-capability-route__actions a.primary {
  border-color: #70a4ff;
  background: #70a4ff;
  color: #041530;
}

.md-typeset .er-docs-capability-route__actions a:is(:hover, :focus-visible) {
  border-color: #a9caff;
  background: #a9caff;
  color: #041530;
}

@media screen and (max-width: 59.984375em) {
  .er-docs-bleed {
    padding-right: 1.2rem;
    padding-left: 1.2rem;
  }

  .md-typeset ul.er-docs-hero__scope:not([hidden]),
  .md-typeset .er-docs-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md-typeset .er-docs-capability-route {
    grid-template-columns: minmax(0, 1fr);
  }

  .md-typeset .er-docs-contract {
    grid-template-columns: minmax(0, 1fr);
  }

  .md-typeset ul.er-docs-hero__scope:not([hidden]) > li:nth-child(2) {
    border-right: 0;
  }

  .md-typeset ul.er-docs-hero__scope:not([hidden]) > li:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(126, 176, 255, 0.18);
  }
}

@media screen and (max-width: 44.984375em) {
  .er-docs-hero {
    padding-top: 2.6rem;
    padding-bottom: 2.6rem;
  }

  .md-typeset .er-docs-hero h1 br {
    display: none;
  }

  .er-docs-actions {
    display: grid;
    margin-bottom: 2rem;
  }

  .er-docs-actions a {
    justify-content: center;
    width: 100%;
  }

  .md-typeset ul.er-docs-hero__scope:not([hidden]),
  .md-typeset .er-docs-map,
  .md-typeset .er-docs-execution {
    grid-template-columns: minmax(0, 1fr);
  }

  .md-typeset ul.er-docs-hero__scope:not([hidden]) > li,
  .md-typeset ul.er-docs-hero__scope:not([hidden]) > li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(126, 176, 255, 0.18);
  }

  .md-typeset ul.er-docs-hero__scope:not([hidden]) > li:last-child {
    border-bottom: 0;
  }

  .md-typeset .er-docs-execution > a {
    min-height: auto;
  }

  .md-typeset .er-docs-contract__routes {
    grid-template-columns: minmax(0, 1fr);
  }

  .md-typeset .er-docs-contract__footer {
    display: grid;
  }
}

/* --- Product footer ------------------------------------------------------ */

/* Material's utility-only footer is retained as the final row. This layer adds
   the compact product sitemap visitors expect at the end of a product site. */
.md-footer {
  background: #07111f;
}

.md-footer__inner {
  border-top: 1px solid rgba(125, 164, 224, 0.14);
  border-bottom: 1px solid rgba(125, 164, 224, 0.14);
  background: #07111f;
}

.md-footer__link {
  color: #eef4ff;
}

.md-footer__direction {
  color: #93a4bd;
}

.er-site-footer {
  border-top: 1px solid rgba(125, 164, 224, 0.18);
  background:
    radial-gradient(36rem 18rem at 8% 0%, rgba(59, 130, 246, 0.13), transparent 70%),
    #07111f;
  color: #eef4ff;
}

.er-site-footer__inner {
  display: grid;
  grid-template-columns: minmax(15rem, 1.05fr) minmax(0, 1.65fr);
  gap: 4rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.er-site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.er-site-footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
}

.er-site-footer__logo :is(img, svg) {
  width: 100%;
  height: 100%;
}

.er-site-footer__brand p {
  max-width: 22rem;
  margin: 1rem 0 1.2rem;
  color: #aebbd0;
  font-size: 0.7rem;
  line-height: 1.7;
}

.er-site-footer__primary {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: #7eb0ff;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
}

.er-site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.er-site-footer__group h2 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.er-site-footer__group a {
  display: block;
  width: fit-content;
  margin: 0.62rem 0;
  color: #b8c4d7;
  font-size: 0.68rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 140ms ease, transform 140ms ease;
}

.er-site-footer :is(.er-site-footer__brand-link, .er-site-footer__primary, .er-site-footer__group a):is(:hover, :focus-visible) {
  color: #ffffff;
}

.er-site-footer :is(.er-site-footer__brand-link, .er-site-footer__primary, .er-site-footer__group a):focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 0.22rem;
  border-radius: 0.12rem;
}

.er-site-footer__group a:hover {
  transform: translateX(0.12rem);
}

.md-footer-meta {
  border-top: 1px solid rgba(125, 164, 224, 0.12);
  background: #040a13;
}

.md-typeset .er-closing__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.55rem;
}

.md-typeset .er-closing__actions .md-button {
  margin: 0;
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.md-typeset .er-closing__actions .md-button--primary {
  border-color: #3b82f6;
  background: #3b82f6;
  color: #041530;
}

.md-typeset .er-closing__actions .md-button:is(:hover, :focus) {
  border-color: #93c5fd;
  background: #93c5fd;
  color: #041530;
}

@media screen and (max-width: 76.234375em) {
  .er-site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.2rem;
    padding-right: 1.2rem;
    padding-left: 1.2rem;
  }
}

@media screen and (max-width: 59.984375em) {
  .er-site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 44.984375em) {
  .er-site-footer__inner {
    gap: 2rem;
    padding-top: 2.35rem;
    padding-bottom: 2.35rem;
  }

  .er-site-footer__nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.45rem;
  }

  .er-site-footer__group h2 {
    margin-bottom: 0.55rem;
  }

  .er-site-footer__group a {
    margin: 0.5rem 0;
  }

  .md-typeset .er-closing__actions {
    display: grid;
  }

  .md-typeset .er-closing__actions .md-button {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .er-docs-actions a,
  .md-typeset .er-docs-map a,
  .md-typeset .er-docs-map a::after,
  .md-typeset .er-docs-execution > a,
  .md-typeset .er-docs-execution__action b,
  .md-typeset .er-docs-capability-route__actions span,
  .er-site-footer__group a {
    transition: none;
  }

  .md-typeset .er-docs-map a:hover,
  .md-typeset .er-docs-map a:is(:hover, :focus-visible)::after,
  .md-typeset .er-docs-execution > a:is(:hover, :focus-visible),
  .md-typeset .er-docs-execution > a:is(:hover, :focus-visible) .er-docs-execution__action b,
  .md-typeset .er-docs-capability-route a:is(:hover, :focus-visible) span,
  .er-site-footer__group a:hover {
    transform: none;
  }
}
