:root {
  --spw-ds-container-xl: 1200px;
  --spw-ds-container-lg: 1024px;
  --spw-ds-container-md: 768px;
  --spw-ds-container-sm: 640px;
}

.spw-ds-container {
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 360px) {
  .spw-ds-container {
    max-width: var(--spw-ds-container-sm);
  }
}
@media (min-width: 768px) {
  .spw-ds-container {
    max-width: var(--spw-ds-container-md);
  }
}
@media (min-width: 1024px) {
  .spw-ds-container {
    max-width: var(--spw-ds-container-lg);
  }
}
@media (min-width: 1200px) {
  .spw-ds-container {
    max-width: var(--spw-ds-container-xl);
  }
}

spw-toc-navigation {
  box-sizing: border-box;
  line-height: 1.3;
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
}
spw-toc-navigation h1,
spw-toc-navigation h2,
spw-toc-navigation h3,
spw-toc-navigation h4,
spw-toc-navigation h5,
spw-toc-navigation h6,
spw-toc-navigation p,
spw-toc-navigation ul,
spw-toc-navigation li {
  padding: 0;
  margin: 0;
}
spw-toc-navigation ul {
  list-style: none;
}
spw-toc-navigation *,
spw-toc-navigation *::before,
spw-toc-navigation *::after {
  box-sizing: inherit;
  font-family: var(--spw-ds-font-main);
  letter-spacing: -0.18px;
}
spw-toc-navigation {
  /* Grouping content
   ========================================================================== */
  /**
  * 1. Add the correct box sizing in Firefox.
  * 2. Show the overflow in Edge and IE.
  */
}
spw-toc-navigation hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}
spw-toc-navigation {
  /**
  * 1. Correct the inheritance and scaling of font size in all browsers.
  * 2. Correct the odd `em` font sizing in all browsers.
  */
}
spw-toc-navigation pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}
spw-toc-navigation {
  /* Text-level semantics
   ========================================================================== */
  /**
  * Remove the gray background on active links in IE 10.
  */
}
spw-toc-navigation a {
  background-color: transparent;
}
spw-toc-navigation {
  /**
  * 1. Remove the bottom border in Chrome 57-
  * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
  */
}
spw-toc-navigation abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}
spw-toc-navigation {
  /**
  * Add the correct font weight in Chrome, Edge, and Safari.
  */
}
spw-toc-navigation b,
spw-toc-navigation strong {
  font-weight: bolder;
}
spw-toc-navigation {
  /**
  * 1. Correct the inheritance and scaling of font size in all browsers.
  * 2. Correct the odd `em` font sizing in all browsers.
  */
}
spw-toc-navigation code,
spw-toc-navigation kbd,
spw-toc-navigation samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}
spw-toc-navigation {
  /**
  * Add the correct font size in all browsers.
  */
}
spw-toc-navigation small {
  font-size: 80%;
}
spw-toc-navigation {
  /**
  * Prevent `sub` and `sup` elements from affecting the line height in
  * all browsers.
  */
}
spw-toc-navigation sub,
spw-toc-navigation sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
spw-toc-navigation sub {
  bottom: -0.25em;
}
spw-toc-navigation sup {
  top: -0.5em;
}
spw-toc-navigation {
  /* Embedded content
   ========================================================================== */
  /**
  * Remove the border on images inside links in IE 10.
  */
}
spw-toc-navigation img {
  border-style: none;
}
spw-toc-navigation {
  /* Forms
   ========================================================================== */
  /**
  * 1. Change the font styles in all browsers.
  * 2. Remove the margin in Firefox and Safari.
  */
}
spw-toc-navigation button,
spw-toc-navigation input,
spw-toc-navigation optgroup,
spw-toc-navigation select,
spw-toc-navigation textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}
spw-toc-navigation {
  /**
  * Show the overflow in IE.
  * 1. Show the overflow in Edge.
  */
}
spw-toc-navigation button,
spw-toc-navigation input {
  /* 1 */
  overflow: visible;
}
spw-toc-navigation {
  /**
  * Remove the inheritance of text transform in Edge, Firefox, and IE.
  * 1. Remove the inheritance of text transform in Firefox.
  */
}
spw-toc-navigation button,
spw-toc-navigation select {
  /* 1 */
  text-transform: none;
}
spw-toc-navigation {
  /**
  * Correct the inability to style clickable types in iOS and Safari.
  */
}
spw-toc-navigation button,
spw-toc-navigation [type=button],
spw-toc-navigation [type=reset],
spw-toc-navigation [type=submit] {
  -webkit-appearance: button;
}
spw-toc-navigation {
  /**
  * Remove the inner border and padding in Firefox.
  */
}
spw-toc-navigation button::-moz-focus-inner,
spw-toc-navigation [type=button]::-moz-focus-inner,
spw-toc-navigation [type=reset]::-moz-focus-inner,
spw-toc-navigation [type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
spw-toc-navigation {
  /**
  * Restore the focus styles unset by the previous rule.
  */
}
spw-toc-navigation button:-moz-focusring,
spw-toc-navigation [type=button]:-moz-focusring,
spw-toc-navigation [type=reset]:-moz-focusring,
spw-toc-navigation [type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
spw-toc-navigation {
  /**
  * Correct the padding in Firefox.
  */
}
spw-toc-navigation fieldset {
  padding: 0.35em 0.75em 0.625em;
}
spw-toc-navigation {
  /**
  * 1. Correct the text wrapping in Edge and IE.
  * 2. Correct the color inheritance from `fieldset` elements in IE.
  * 3. Remove the padding so developers are not caught out when they zero out
  *    `fieldset` elements in all browsers.
  */
}
spw-toc-navigation legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}
spw-toc-navigation {
  /**
  * Add the correct vertical alignment in Chrome, Firefox, and Opera.
  */
}
spw-toc-navigation progress {
  vertical-align: baseline;
}
spw-toc-navigation {
  /**
  * Remove the default vertical scrollbar in IE 10+.
  */
}
spw-toc-navigation textarea {
  overflow: auto;
}
spw-toc-navigation {
  /**
  * 1. Add the correct box sizing in IE 10.
  * 2. Remove the padding in IE 10.
  */
}
spw-toc-navigation [type=checkbox],
spw-toc-navigation [type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}
spw-toc-navigation {
  /**
  * Correct the cursor style of increment and decrement buttons in Chrome.
  */
}
spw-toc-navigation [type=number]::-webkit-inner-spin-button,
spw-toc-navigation [type=number]::-webkit-outer-spin-button {
  height: auto;
}
spw-toc-navigation {
  /**
  * 1. Correct the odd appearance in Chrome and Safari.
  * 2. Correct the outline style in Safari.
  */
}
spw-toc-navigation [type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}
spw-toc-navigation {
  /**
  * Remove the inner padding in Chrome and Safari on macOS.
  */
}
spw-toc-navigation [type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}
spw-toc-navigation {
  /**
  * 1. Correct the inability to style clickable types in iOS and Safari.
  * 2. Change font properties to `inherit` in Safari.
  */
}
spw-toc-navigation ::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}
spw-toc-navigation {
  /* Interactive
   ========================================================================== */
  /*
  * Add the correct display in Edge, IE 10+, and Firefox.
  */
}
spw-toc-navigation details {
  display: block;
}
spw-toc-navigation {
  /*
  * Add the correct display in all browsers.
  */
}
spw-toc-navigation summary {
  display: list-item;
}
spw-toc-navigation {
  /* Misc
   ========================================================================== */
  /**
  * Add the correct display in IE 10+.
  */
}
spw-toc-navigation template {
  display: none;
}
spw-toc-navigation {
  /**
  * Add the correct display in IE 10.
  */
}
spw-toc-navigation [hidden] {
  display: none;
}

:host {
  display: block;
}

.spw-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.spw-toc li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.spw-toc li a {
  display: block;
  text-decoration: none;
  font-weight: normal;
  transition: font-weight 0.2s ease;
  padding: 0.25rem 0;
  color: var(--spw-color-themes-grey-grey-900);
}
.spw-toc li a:hover {
  text-decoration: underline;
}
.spw-toc li a:active {
  color: var(--spw-ds-active);
}
.spw-toc li.--toc-is-level-2 a {
  padding-left: 2rem;
}
.spw-toc li.--toc-is-level-3 a {
  padding-left: 3rem;
}
.spw-toc li.--toc-is-level-4 a {
  padding-left: 4rem;
}
.spw-toc li.--toc-is-level-5 a {
  padding-left: 5rem;
}
.spw-toc li.--toc-is-level-6 a {
  padding-left: 6rem;
}
.spw-toc--progress li.--toc-is-h2 {
  position: relative;
  --progress: 0;
  --distance-to-next-h2: 0px;
}
.spw-toc--progress li.--toc-is-h2::before {
  content: "";
  position: absolute;
  left: 9px;
  top: calc(0.25rem + 0.5em);
  width: 2px;
  background-color: #e0e0e0;
  z-index: 0;
  height: var(--distance-to-next-h2);
}
.spw-toc--progress li.--toc-is-h2::after {
  content: "";
  position: absolute;
  left: 9px;
  top: calc(0.25rem + 0.5em);
  width: 2px;
  background-color: var(--spw-ds-primary);
  z-index: 1;
  transition: height 0.1s linear;
  transform-origin: top;
  height: calc(var(--distance-to-next-h2) * var(--progress) / 100);
}
.spw-toc--progress li.--toc-is-h2:last-of-type::before, .spw-toc--progress li.--toc-is-h2:last-of-type::after {
  display: none;
}
.spw-toc--progress li .spw-toc__progress-dot {
  position: absolute;
  left: 0.25rem;
  top: calc(0.25rem + 0.5em + 3px);
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 4px solid #e0e0e0;
  background-color: white;
  z-index: 2;
  transition: all 0.3s ease;
}
.spw-toc--progress li.--toc-bar-completed .spw-toc__progress-dot {
  border-color: var(--spw-ds-primary);
}
.spw-toc--progress li.--toc-bar-active .spw-toc__progress-dot {
  border-color: var(--spw-ds-primary);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.2);
}
.spw-toc--progress li.--toc-bar-completed.--toc-is-level-2 a, .spw-toc--progress li.--toc-bar-active.--toc-is-level-2 a {
  font-weight: bold;
}
.spw-toc--simple li a {
  font-weight: 700;
}
.spw-toc--simple li.--toc-active a {
  color: var(--spw-color-themes-grey-grey-900);
}
.spw-toc--simple li.--toc-is-level-2 a {
  padding-left: calc(6px + 0.75rem);
}
.spw-toc--simple li.--toc-is-level-2::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(0.25rem + 0.7em);
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--spw-ds-primary);
}
.spw-toc--simple li.--toc-is-level-3::before, .spw-toc--simple li.--toc-is-level-4::before, .spw-toc--simple li.--toc-is-level-5::before, .spw-toc--simple li.--toc-is-level-6::before {
  content: "";
  position: absolute;
  top: calc(0.25rem + 0.7em);
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid var(--spw-ds-primary);
  box-sizing: border-box;
}
.spw-toc--simple li.--toc-is-level-3 a {
  padding-left: calc(1rem + 6px + 0.75rem);
}
.spw-toc--simple li.--toc-is-level-3::before {
  left: 1rem;
}
.spw-toc--simple li.--toc-is-level-4 a {
  padding-left: calc(2rem + 6px + 0.75rem);
}
.spw-toc--simple li.--toc-is-level-4::before {
  left: 2rem;
}
.spw-toc--simple li.--toc-is-level-5 a {
  padding-left: calc(3rem + 6px + 0.75rem);
}
.spw-toc--simple li.--toc-is-level-5::before {
  left: 3rem;
}
.spw-toc--simple li.--toc-is-level-6 a {
  padding-left: calc(4rem + 6px + 0.75rem);
}
.spw-toc--simple li.--toc-is-level-6::before {
  left: 4rem;
}