:root { --md-primary-fg-color: #172d43; --md-accent-fg-color: #168a77; --md-typeset-a-color: #087866; }
[data-md-color-scheme="default"] { --md-default-bg-color: #fff; --md-typeset-a-color: #0866b3; }
[data-md-color-scheme="slate"] { --md-default-bg-color: #142333; --md-primary-fg-color: #0e1b2a; --md-accent-fg-color: #5fd2b9; --md-typeset-a-color: #73ddc6; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.md-typeset { font-size: .85rem; line-height: 1.75; }
.md-typeset h1 { color: var(--md-default-fg-color); font-weight: 700; letter-spacing: -.025em; margin-bottom: .8em; }
.md-typeset h2 { font-weight: 650; letter-spacing: -.015em; }
.md-header { border-bottom: 3px solid transparent; border-image: linear-gradient(90deg,#7165d8,#367be8,#20a4c7,#23af91,#dfb24e,#e5824b) 1; }
.md-header__button.md-logo { padding: .12rem; margin: .2rem .5rem .2rem .25rem; }
.md-header__button.md-logo img { height: 2.2rem; width: 2.2rem; border-radius: 50%; background: white; }
.md-nav { font-size: .72rem; }
.md-typeset .admonition, .md-typeset details { font-size: .75rem; }
.md-grid { max-width: 76rem; }
.brand-banner { display: block; width: 100%; max-width: 860px; border-radius: 12px; padding: 12px; margin: 0 0 1.3rem; }
.md-typeset a { color: var(--md-typeset-a-color); }
.md-content .md-typeset a:not(.headerlink):not(.md-content__button) { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.md-content .md-typeset a:focus-visible { outline: 2px solid var(--md-typeset-a-color); outline-offset: 4px; border-radius: 2px; }
.md-typeset a:hover { text-decoration: underline; }
.md-nav__link--active { color: var(--md-typeset-a-color) !important; }
.theme-dark { display: none !important; }
[data-md-color-scheme="slate"] .theme-light { display: none !important; }
[data-md-color-scheme="slate"] .theme-dark { display: block !important; }
[data-md-color-scheme="slate"] .md-header__button.md-logo img { background: transparent; }
.badge-large { width: 230px; display: block; margin: 1rem auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .13em; color: var(--md-accent-fg-color); font-size: .7rem; font-weight: 650; }
.md-typeset .grid.cards>ul>li { border-radius: 10px; border-color: #91a6b044; box-shadow: none; padding: 1.05rem; }
.md-typeset .grid.cards>ul>li:hover { border-color: var(--md-accent-fg-color); }
.md-typeset table:not([class]) { font-size: .75rem; }
.md-typeset pre>code { font-size: .72rem; line-height: 1.65; }
.md-typeset .notebook-figure { max-height: 640px; width: auto; display: block; margin: 1rem auto; background: white; }
.md-typeset .nb-cell-label { color: var(--md-default-fg-color--light); font-size: .65rem; margin-bottom: -.6rem; }
.md-typeset .doc-signature { overflow: auto; }
.md-typeset .status-pill { display: inline-block; border: 1px solid #91a6b066; padding: .1em .65em; border-radius: 20px; font-size: .7rem; }
@media (max-width: 760px) { .md-typeset { font-size: .82rem; } .brand-banner { padding: 4px; } .md-typeset table:not([class]) { min-width: 560px; } }
.notebook-map { height: 480px; width: 100%; max-width: 100%; position: relative; z-index: 0; border: 1px solid #91a6b066; border-radius: 8px; margin: .7rem 0; background: #e7edf0; color: #172d43; }
.notebook-map-caption { font-size: .7rem; color: var(--md-default-fg-color--light); }
.notebook-map-reset { background: white; color: #172d43; padding: 5px 9px; border: 0; cursor: pointer; font: inherit; }
@media (max-width: 760px) { .notebook-map { height: 340px; } }
.notebook-granule-controls { display: flex; align-items: center; gap: .5rem; width: 100%; margin: .7rem 0 .2rem; font-size: .72rem; }
.notebook-granule-controls label { white-space: nowrap; }
.notebook-granule-picker { flex: 1; min-width: 0; max-width: 100%; border: 1px solid #91a6b088; border-radius: 4px; background: var(--md-default-bg-color); color: var(--md-default-fg-color); padding: .35rem; font: inherit; }
.notebook-granule-popup { max-width: 280px; overflow-wrap: anywhere; font-size: 12px; line-height: 1.6; color: #172d43; }

/* Spectral Ribbon identity and the landscape-led homepage. */
.md-header { background: var(--md-default-bg-color); color: var(--md-default-fg-color); border: 0; border-bottom: 1px solid #91a6b033; border-image: none; box-shadow: none; }
.md-header__button.md-logo { display: block; flex-shrink: 0; padding: .25rem 0; margin-right: .8rem; }
.md-header__button.md-logo img { width: 9.2rem; height: 2.05rem; border-radius: 0; background: transparent; }
.md-header__title { min-width: 0; }
.md-nav__title .md-logo img { width: 8rem; height: auto; border-radius: 0; }
.md-header--home .md-header__inner { min-height: 3.8rem; padding: .35rem 1.4rem; }
.home-links { display: flex; align-items: center; gap: 1.3rem; margin-left: auto; margin-right: 1rem; font-size: .72rem; font-weight: 550; }
.home-links a { color: inherit; padding: .5rem 0; white-space: nowrap; }
.home-links a:hover, .home-links a[aria-current] { color: var(--md-typeset-a-color); }
.home-links a[aria-current] { box-shadow: inset 0 -2px var(--md-typeset-a-color); }
.md-header--home label[for="__search"] { display: block; }
.md-header--home .md-search { display: none; }
[data-md-toggle="search"]:checked ~ .md-header--home .md-search { display: block; }
.homepage-hero { position: relative; min-height: 24rem; display: flex; align-items: center; overflow: hidden; background: #0b2d4d; color: #fff; }
.homepage-hero__image, .homepage-hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.homepage-hero__image { object-fit: cover; object-position: center 54%; }
.homepage-hero__shade { background: linear-gradient(90deg,rgba(4,29,40,.72),rgba(4,29,40,.24) 56%,rgba(4,29,40,.08)); }
.homepage-hero__inner { position: relative; width: 100%; padding: 3.2rem 2.8rem; }
.homepage-hero h1 { max-width: 30rem; margin: 0 0 1rem; font-size: clamp(1.65rem,3.1vw,2.5rem); font-weight: 650; line-height: 1.15; letter-spacing: -.025em; text-shadow: 0 1px 14px #04232c55; }
.homepage-hero p { margin: 0 0 1.6rem; font-size: .65rem; letter-spacing: .23em; font-weight: 600; }
.homepage-hero__button { display: inline-flex; align-items: center; gap: 1.5rem; padding: .55rem 1.1rem; border: 1px solid #e0f1f1; border-radius: 2rem; color: #fff; font-size: .75rem; background: #0b2d4d55; transition: background .15s; }
.homepage-hero__button span { font-size: 1.2rem; line-height: 1; }
.homepage-hero__button:hover { background: #0b2d4dcc; }
.homepage-hero__button:focus-visible, .home-links a:focus-visible { outline: 3px solid #14a3a3; outline-offset: 5px; }
body:has(.homepage-hero) .md-main__inner { max-width: 60rem; margin-top: 1.8rem; }
body:has(.homepage-hero) .md-content { min-width: 0; }
body:has(.homepage-hero) .md-content__inner { margin: 0 1.4rem 2.4rem; }
.homepage-brand { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 1.4rem 0 2rem; margin-bottom: 1.8rem; border-bottom: 1px solid #91a6b033; }
.homepage-brand img { width: min(50%,28rem); height: auto; flex-shrink: 0; }
.homepage-brand > div { transform: translateY(12px); }
.homepage-brand p { max-width: 24rem; margin: .25rem 0; font-size: .83rem; line-height: 1.5; }
.homepage-brand .homepage-brand__eyebrow { font-size: .68rem; letter-spacing: .19em; color: var(--md-typeset-a-color); font-weight: 600; }
@media (min-width: 60em) {
  .md-header--home .md-search__inner { position: absolute; right: 1.5rem; top: .65rem; }
}
@media (max-width: 760px) {
  .md-header__button.md-logo img { width: 7.5rem; height: auto; }
  .md-header--home .md-header__inner { flex-wrap: wrap; padding: .45rem 1rem 0; }
  .md-header--home .md-logo { margin-right: auto; }
  .home-links { order: 10; width: 100%; justify-content: space-between; gap: .4rem; margin: .2rem 0 0; font-size: .64rem; }
  .homepage-hero { min-height: 21rem; }
  .homepage-hero__inner { padding: 2.4rem 1.2rem; }
  .homepage-hero__image { object-position: 58% center; }
  .homepage-hero h1 { font-size: 1.7rem; line-height: 1.18; }
  .homepage-hero p { font-size: .55rem; }
  .homepage-brand { flex-direction: column; align-items: flex-start; gap: .7rem; padding-top: .5rem; }
  .homepage-brand img { width: min(100%,22rem); }
  .homepage-brand > div { transform: none; }
  .homepage-brand p { font-size: .72rem; }
  body:has(.homepage-hero) .md-content__inner { margin: 0 1rem 2rem; }
}

/* Entry pages: a guided sequence and grouped references. */
.entry-steps > ol { list-style: none; margin: 1.2rem 0; padding: 0; counter-reset: entry-step; }
.entry-steps > ol > li { position: relative; padding: 0 0 1.2rem 3.2rem; margin: 0 0 1.2rem; border-bottom: 1px solid #91a6b044; counter-increment: entry-step; }
.entry-steps > ol > li::before { content: "0" counter(entry-step); position: absolute; left: 0; top: -.1rem; font-size: 1.4rem; line-height: 1.4; font-weight: 650; color: var(--md-typeset-a-color); }
.entry-steps > ol > li > p:first-child { font-size: 1rem; margin-top: 0; }
.entry-steps > ol > li > p:last-child { margin-bottom: 0; }
.entry-start { border-left: 3px solid var(--md-typeset-a-color); background: color-mix(in srgb, var(--md-typeset-a-color) 6%, var(--md-default-bg-color)); padding: .8rem 1.2rem; margin: 1.2rem 0 2rem; }
.entry-start > p:first-child { margin-top: 0; font-size: 1rem; }
.entry-start > p:last-child { margin-bottom: 0; }
.entry-start ol { margin-left: 1.2rem; }
.tool-group { display: grid; grid-template-columns: minmax(7rem, 1fr) 3fr; gap: 1.8rem; padding: 1.3rem 0; border-top: 1px solid #91a6b044; }
.md-typeset .tool-group h2 { margin: 0; font-size: 1rem; }
.tool-group ul, .resource-directory > ul { list-style: none; padding: 0; margin: 0; }
.tool-group li { margin: 0 0 1rem; }
.tool-group li:last-child { margin-bottom: 0; }
.resource-directory > ul > li { padding: 1rem 0; margin: 0; border-bottom: 1px solid #91a6b044; }
.resource-directory > ul > li > p:first-child { font-size: 1rem; margin-top: 0; }
.resource-directory > ul > li > p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .tool-group { grid-template-columns: 1fr; gap: .8rem; }
  .entry-steps > ol > li { padding-left: 2.6rem; }
}

/* Keep the current section and sibling destinations visible on guide pages. */
.page-location { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: 0 0 1.4rem; padding: .6rem 0; border-bottom: 1px solid #91a6b044; font-size: .68rem; line-height: 1.6; }
.page-location ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.page-location li { display: inline-flex; gap: .35rem; margin: 0; }
.page-location li + li::before { content: "/"; color: var(--md-default-fg-color--light); }
.page-location [aria-current="page"] { font-weight: 650; }
.page-location__browse { display: none; cursor: pointer; color: var(--md-typeset-a-color); white-space: nowrap; }
.md-nav--primary a.md-nav__link--active { background: color-mix(in srgb, var(--md-typeset-a-color) 9%, var(--md-default-bg-color)); border-left: 3px solid var(--md-typeset-a-color); padding-left: .45rem; font-weight: 650; }
@media (max-width: 1219px) {
  .page-location { align-items: flex-start; flex-direction: column; }
  .page-location__browse { display: inline-flex; gap: .5rem; padding: .3rem 0; text-decoration: underline; text-underline-offset: .2em; }
}

/* Restore Material's GitHub repository link and live star/fork facts. */
.md-header--home .md-header__source { display: block; flex-shrink: 0; width: 11rem; margin-left: .7rem; }
.md-header--home .md-source { color: inherit; }
@media (min-width: 761px) and (max-width: 1100px) {
  .md-header--home .md-header__inner { flex-wrap: wrap; }
  .md-header--home .md-logo { margin-right: auto; }
  .home-links { order: 10; width: 100%; justify-content: center; margin: 0; }
}
@media (max-width: 760px) {
  .md-header--home .md-header__source { width: 1.7rem; margin: 0; }
  .md-header--home .md-source { width: 1.7rem; }
  .md-header--home .md-source__icon { width: 1.5rem; height: 1.5rem; }
  .md-header--home .md-source__repository { display: none; }
}
