:root {
  --md-accent-fg-color: #3e97ff;
  --md-typeset-a-color: #0b6fcc;
  --md-code-bg-color: #f4f6fa;
  --md-default-fg-color: #182026;
  --md-typeset-color: #182026;
  --sl-navy: #01285f;
}
/* testata bianca sottile */
.md-header { background: #fff; color: var(--sl-navy); box-shadow: 0 1px 0 #e3e8ee; }
.md-header__title { font-weight: 600; color: var(--sl-navy); }
.md-header__button.md-logo img { height: 1.6rem; }
.md-search__form { background: #f1f4f9; }
.md-search__input::placeholder, .md-search__icon { color: #6b7a90 !important; }
/* sidebar a albero, sempre aperta */
.md-nav--primary .md-nav__title { display: none; }
.md-nav__link { font-size: .74rem; color: #3b4556; }
.md-nav__link--active, .md-nav__link:hover { color: #0b6fcc; }
.md-nav__item--section > .md-nav__link { font-weight: 600; color: var(--sl-navy); }
/* articolo largo e arioso */
.md-grid { max-width: 76rem; }
.md-typeset { font-size: .78rem; line-height: 1.65; }
.md-typeset h1 { color: var(--sl-navy); font-weight: 700; font-size: 1.9rem; margin-bottom: .6em; }
.md-typeset h2 { color: var(--sl-navy); font-weight: 600; border-bottom: 1px solid #e6ebf1; padding-bottom: .25em; margin-top: 2em; }
.md-typeset h3 { color: #243b63; font-weight: 600; }
.md-typeset table:not([class]) { font-size: .72rem; border: 1px solid #e3e8ee; border-radius: 8px; }
.md-typeset table:not([class]) th { background: #f4f6fa; color: var(--sl-navy); }
.md-typeset pre > code { font-size: .72rem; }
.md-typeset .highlight { border-radius: 8px; border: 1px solid #e3e8ee; }
.md-typeset blockquote { border-left: 3px solid #3e97ff; background: #f0f8ff; color: #243b63; padding: .4em 1em; border-radius: 0 8px 8px 0; }
.md-typeset img { border: 1px solid #e3e8ee; border-radius: 8px; }
/* reference OpenAPI a tutta pagina */
.elements-wrap { height: calc(100vh - 3.2rem); margin: -1.2rem -0.8rem 0; }
.elements-wrap elements-api { display: block; height: 100%; }
.md-content__inner:has(.elements-wrap) { padding-bottom: 0; margin-bottom: 0; }
.md-content__inner:has(.elements-wrap) > h1 { display: none; }
/* dentro il visualizzatore OpenAPI valgono le sue regole, non quelle del tema (svg al 100% esplodevano) */
.md-typeset .elements-wrap :is(svg, img) { max-width: none; border: 0; border-radius: 0; box-shadow: none; }
.elements-wrap .sl-elements a[href*="stoplight.io"], .elements-wrap [class*="PoweredBy"] { display: none !important; }
.elements-wrap { height: calc(100vh - 2.6rem); }
