@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
  --sys-font: 'Overpass', sans-serif;
  --sys-font-size: 16px;
  --sys-text-headerImg-title: var(--sys-text-2);
  --sys-text-headerImg-nav: var(--sys-text-2);
  --sys-border-radius: 6px;
}

.figma-iframe {
  max-width: calc(100vw - 40px);
  width: 150%;
  margin-left: 50%;
  height: 700px;
  transform: translateX(-50%);
  border: none;
  background-color: var(--sys-bg-2);
  border-radius: var(--sys-border-radius);
}

header nav {
  font-size: 17px;
}

header>img:first-child {
  opacity: 0.4;
}

header h1 {
  margin: 18px 20px 18px 0;
}

header>img~h1 {
  filter: none;
}

header>h1 mark {
  position: absolute;
  font-size: 12px;
  bottom: -16px;
  line-height: initial;
  letter-spacing: initial;
  font-weight: initial;
}

.link-no-after::after {
  content: none !important;
}

p {
  line-height: 1.75em;
}

header {
  margin-bottom: 80px;
}

footer {
  margin-top: 60px;
}

.home-grid {
  --sys-nb-cards-per-line: 2;
}

.documentation-grid {
  --sys-nb-cards-per-line: 3;
}

#design-system nav,
#page-ui nav {
  flex-flow: wrap;
}

.color-palette strong,
.color-palette small {
  white-space: nowrap;
  word-break: keep-all;
  font-family: monospace;
}

.color-palette small {
  font-size: 0.7em;
}

.color-patch {
  width: 100%;
  height: 120px;
  background-color: currentColor;
  border-radius: calc(var(--sys-border-radius) - 3px);
}

.variables-table {
  font-size: 15px;
}

.variables-table tbody tr td:first-child {
  color: #9CDCFD;
  font-family: monospace;
  font-size: 0.9em;
}

.variables-table tbody tr td:last-child {
  font-family: monospace;
  font-size: 0.9em;
  text-align: center;
}

.variables-table .type__int {
  color: #B4CDA7;
}

.variables-table .type__string {
  color: #CE9178;
}

.code-example {
  flex-grow: 1;
}

.code-example>ul>li {
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  height: max-content;
}

.code-example>ul>li>details {
  border: none;
}

.code-example>ul>li>details>summary {
  padding: 16px 16px 14px 35px;
}

.code-example>ul>li>details>div>pre {
  border: none;
  padding: 0 16px;
  border-radius: 0;
  width: calc(100vw - 74px);
  max-width: 100%;
}

.code-example .cuist-house {
  outline: 2px dashed #7B61FF;
  outline-offset: -8px;
  border-radius: 10px 10px 0 0;
  padding: 26px;
  max-width: calc(100vw - 54px);
  box-sizing: border-box;
  overflow: auto;
}

.cuist-house .card-example {
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.cuist-house .card-example .card__description {
  transform: none;
}

.cuist-house .card .card__description h5 {
  padding: 0;
}

.cuist-house.cards-templates {
  display: flex;
  column-gap: 16px;
  row-gap: 16px;
  flex-flow: wrap;
  background: none;
}

.cuist-house.cards-templates .card {
  flex: 0 0 calc((100% - calc(16px * (var(--sys-nb-cards-per-line) - 1))) / var(--sys-nb-cards-per-line));
  flex-grow: 1;
  max-width: calc(100vw - 54px);
}

.cuist-house .card img {
  transform: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
}


@media screen and (max-width: 730px) {
  .variables-table colgroup col:nth-child(3) {
    min-width: 250px;
  }
}

@media screen and (max-width: 675px) {
  .home-grid {
    --sys-nb-cards-per-line: 1;
  }

  .documentation-grid {
    --sys-nb-cards-per-line: 2;
  }
}

@media screen and (max-width: 390px) {
  .documentation-grid {
    --sys-nb-cards-per-line: 1;
  }
}

/* Conception Report */


.conception-report__components-list {
  max-width: 600px;
}

.conception-report__components-list li {
  justify-content: space-between;
  flex-flow: wrap;
}

.conception-report__components-list li div {
  color: var(--sys-text-1);
}