:root {

/*Primary brand color*/
  --primary-color: #f2209e;
  /*--primary-color-darker: #d20f84;*/
  --primary-color-darker: color-mix(in srgb, black 15%, var(--primary-color));

/*Edge-related notes*/
  --primary-color-edge: #00b4ff;
  --primary-color-edge-background: color-mix(in srgb, var(--primary-color-edge) 10%, transparent);
  --md-admonition-icon--edge: url(../assets/icons/camera.svg);

/*Header & footer*/
  --header-and-footer-background: #1f2741;

/*Home page*/
  --home-page-background: #f5f6f9;
  --home-page-background-darker: #dadde3;
  
/*Fonts*/
  --fonts: "Poppins Regular", Arial, sans-serif;

/*Printed output*/
  --pdf_headings-color: #1F2641;
}

.md-header__button.md-logo :-webkit-any(img, svg) {
  height: 40px;
}

.md-banner {
  background-color: var(--header-and-footer-background);
}

.md-ellipsis {
  display: none;
}

.md-nav__link > .md-ellipsis {
  display: inline;
}

.mdx-container {
  background-color: var(--header-and-footer-background) !important;
  background-image: none !important;
}

.mdx-hero__content {
  padding-bottom: 6vw !important;
}

.md-button {
  background: var(--home-page-background);
  border-radius: 8px !important;
  color: var(--primary-color) !important;
  border: solid 1px var(--home-page-background-darker) !important;
  font-weight: normal !important;
}

.md-button:focus,
.md-button:hover {
  color: var(--primary-color-darker) !important;
  background: var(--home-page-background-darker) !important;
  border-color: var(--home-page-background-darker) !important;
}

.md-button--primary {
  background: var(--primary-color) !important;
  border-radius: 8px !important;
  color: var(--home-page-background) !important;
  border: solid 1px var(--primary-color) !important;
  font-weight: normal;
}

.md-button--primary:focus,
.md-button--primary:hover {
  color: var(--home-page-background) !important;
  background: var(--primary-color-darker) !important;
  border-color: var(--primary-color-darker) !important;
}

.md-footer {
  background-color: var(--header-and-footer-background);
}

.md-typeset {
  font-size: 14px;
}

.md-nav {
  font-size: 14px;
}

h1.home-page {
  font-size: 36px;
  font-weight: 500;
  margin-top: 50px;
  color: #fff !important;
}

h2.home-page {
  font-size: 24px;
  font-weight: 700;
  margin-top: 3em;
  color: var(--header-and-footer-background);
  text-transform: uppercase;
}

h3.home-page {
  font-size: 20px;
  font-weight: normal;
  margin: 0px 0px 10px 20px;
  color: var(--header-and-footer-background);
}

p.home-page {
  font-size: 16px !important;
  color: #fff;
}

/* Home page - grid */

.container {
  max-width: 66rem;
  margin: auto;
  padding-bottom: 1rem;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}

.card {
  background-color: #fff;
  border-radius: 24px;
  padding: 24px 24px 24px 0px;
  flex: 1 1 calc(33% - 32px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  min-width: 280px;
}

.card-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.icon {
  background-color: var(--home-page-background, #f4f4f8);
  border-radius: 24px;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon img {
  width: 60px;
  height: 60px;
}

.card-text h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: bold;
}

.card-text ul,
.card-text p {
  margin: 0;
  padding-left: 40px;
}

.card-text a {
  color: #1F2641;
  font-weight: 500;
  display: inline-block;
  margin-top: 8px;
  text-decoration: none;
}

.card-text a:hover {
  text-decoration: underline;
}

/* Responsive layout */
@media (max-width: 1024px) {
  .card {
    flex: 1 1 calc(50% - 16px);
  }
}

@media (max-width: 600px) {
  .card {
    flex: 1 1 100%;
  }

  .card-content {
    flex-direction: row;
  }
}

/* Home page - features */

.container-features {
  padding-bottom: 2rem;
  background-color: var(--home-page-background);
}

.features {
  max-width: 66rem;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.feature {
  padding: 0px 20px 20px 0px;
  flex: 1;
  border-radius: 8px;
}

.feature h3 {
  font-size: 20px;
  font-weight: normal;
}

.feature p {
  color: #555;
  line-height: 1.6;
}

.feature a {
  display: inline-block;
  color: #e6007e;
  text-decoration: none;
  font-weight: normal;
  font-size: 15px !important;
}

.release-notes {
  display: flex;
  justify-content: center;
  font-size: 15px !important;
}

.release-notes button {
  background: var(--home-page-background);
  border-radius: 8px !important;
  color: var(--primary-color) !important;
  border: solid 1px var(--home-page-background-darker) !important;
  font-weight: normal !important;
  padding: .5rem 1rem .5rem 1rem;
}

.release-notes button:hover {
  border-color: #e6007e;
}

p {
  font-size: 14px !important;
  line-height: 1.5;
}

ul {
  padding-left: 20px;
  margin: 0;
}

ul li {
  font-size: 14px;
}

a.home-page {
  color: #ec008c;
  font-weight: 500;
  text-decoration: none;
  font-size: 15px;
}

a:hover {
  text-decoration: none;
}

.md-typeset h4 {
  font-weight: 600;
  color: var(--md-default-fg-color--light);
}

hr {
  margin-top: 0;
}

dt {
  margin-bottom: 0;
  padding-bottom: 0;
}

dl {
  margin-bottom: 0 !important;
  padding-top: 0 !important;
}

.md-grid {
  max-width: 66rem;
}

.md-footer__link {
  padding-top: 0.5rem;
}

.link {
  font-weight: 10px !important;
  margin-top: 0px;
  padding-top: 0px;
}

p.rn {
  margin-top: 4px;
  padding-top: 0px;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

p.rn-link {
  margin-top: 4px;
  padding-top: 0px;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

h2.rn {
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.md-typeset__table {
  width: 100%;
  position: relative !important;
}

.md-typeset__table table:not([class]) {
  display: table;
  font-size: 14px;
}

.md-typeset h1 {
  margin-bottom: 15px;
  font-family: var(--fonts);
}

.md-tabs__item {
  padding-right: 0.8rem;
  padding-left: 0.8rem;
}

.md-tabs__item {
  position: relative;
}

.md-tabs__item:not(:last-child):after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  border-right: 1px solid #e0e0e0;
}

.md-typeset blockquote {
  line-height: 1;
  margin-bottom: 20px;
  border-left: 0.1rem solid var(--md-default-fg-color--lighter) !important;
  font-size: 13px;
}

/* Styles for lists*/
.md-typeset ul {
  list-style-type: disc;  
}

.md-typeset ul li ul {
  list-style-type: circle;
}

/* Styles for images*/
img.screenshot {
  border: 1px solid #CCCCCC;
}

img.graph {
  max-width: 80%;
}

/* Styles for tables*/
.wrapper {
  overflow-y: scroll;
  height: 500px;
  border: 0.05rem solid var(--md-typeset-table-color);
}

.sticky-first-row {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  z-index: 1;
}

.sticky-first-column {
  position: sticky;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  z-index: 2;
  font-weight: 700;
}

table {
  text-align: left;
}

.table-striped {
  border-collapse: collapse;
  border-top: hidden !important;
  border-bottom: hidden !important;
  border-left: hidden !important;
}

.table-striped th {
  font-weight: 700;
}

.table-striped th, td {
  padding: 0.9375em 1.25em;
}

.table-striped tr {
  border: 0.05rem solid var(--md-typeset-table-color);
}

.table-striped tr>th:first-child {
  z-index: 3;
}

.table-striped tbody tr:hover {
  background-color: #F6F6F6 !important;
}

body::-webkit-scrollbar:hover {
  border-left: 1px solid rgba(231, 233, 235, 1);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: #F5F6F9;
}

::-webkit-scrollbar-thumb {
  width: 4px;
  background-color: #b9babb;
  border-radius: 15px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #98A0A8;
}

/*Styles for feedback widget*/

.md-feedback {
  margin-top: 3em;
}

.md-feedback__title {
  color: var(--md-default-fg-color--light);
  font-weight: 700;
}

.md-feedback__list .md-feedback__icon {
  color: #b9babb;
}

.md-feedback__icon:disabled {
  color: var(--md-default-fg-color--lightest);
}

/*Styles for admonitions*/

.md-typeset .admonition,
.md-typeset details {
  border-width: 0;
  border-left-width: 3px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 13px;
}

/*Custom admonition for Edge-related info*/

.md-typeset .admonition.edge,
.md-typeset details.edge {
  border-color: var(--primary-color-edge);
}

.md-typeset .edge > .admonition-title,
.md-typeset .edge > summary {
  background-color: var(--primary-color-edge-background);
}

.md-typeset .edge > .admonition-title::before,
.md-typeset .edge > summary::before {
  background-color: var(--primary-color-edge);
  -webkit-mask-image: var(--md-admonition-icon--edge);
          mask-image: var(--md-admonition-icon--edge);
}

/*Styles for badges 'Supported for'*/

/* Style for the entire badge (icon + text) */
.custom-badge {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 2px 4px;
  background: #f8fafc;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

/* Resize the icon inside the badge */
.custom-badge img {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: middle;
}

@media print {
  * {
    font-family: var(--fonts);
  }

  @page {
    size: a4 portrait;
    margin: 25px 10px 25px 10px;
    counter-increment: page;
    font-family: var(--fonts);
    white-space: pre;
  }

  @page :first {
    h1 {  
      font-family: var(--fonts);
      color: var(--pdf_headings-color) !important;
      border-bottom: 2px solid var(--primary-color) !important;
      font-size: 28px !important;
    }
  }

  body {
    background: none;
    background-color: #fff;
    font-family: var(--fonts);
  }

  h1 {  
    font-family: var(--fonts);
    color: var(--pdf_headings-color) !important;
    border-bottom: 2px solid #f2209e !important;
    padding-left: -12px !important;
  }

  /*h1::before {
    counter-increment: chapter;
    font-weight: normal;
  }*/

  h2,
  h3 {
    font-family: var(--fonts);
    color: var(--pdf_headings-color);
    border-bottom: none !important;
    padding-left: 2px !important;
  }

  h4,
  h5,
  h6 {
    font-family: var(--fonts);
    color: var(--pdf_headings-color);
    border-bottom: none !important;
    padding-left: 6px !important;
    margin-bottom: 0px !important;
  } 

  /*Styles for TOC items*/

  .toc-item {
    font-family: var(--fonts);
    margin-left: 10px;
    border: none !important;
    font-size: 14px !important;
  }

  .toc-item>ul>li {
    font-weight: bold;
  }

  .toc-item>ul>li>ul>li {
    margin-left: 30px;
    font-size: 1.1em;
  }

  .toc-item>ul>li>ul>li>ul>li {
    margin-left: 50px;
    font-size: 1em;
  }

  /*Styles for lists*/
  ul {
    margin-left: 20px !important;
  }

  ol {
    margin-left: 26px !important;
  }

  ol li,
  ul li {
    margin-bottom: 2px;
  }

  .md-typeset ul,
  .md-typeset ol {
    page-break-inside: auto; /*allows breaking lists between pages*/
  }

/*Styles for images*/

  img.width-100 {
    width: 100% !important;
  }

  img.width-80 {
    width: 80% !important;
  }

  img.width-60 {
    width: 60% !important;
  }

  img.width-40 {
    width: 40% !important;
  }

  img.width-30 {
    width: 30% !important;
  }

  img.width-20 {
    width: 20% !important;
  }

  img.icon {
    width: 20px !important;
    height: auto;
  }

  img.icon-inline {
    max-height: 14px !important; /*sets the max height of inline icons (e.g. used in lists) to the font size*/
  }

/*Styles for TOC*/

  article#doc-toc ul {
    list-style: none;
    padding-left: 0;
    margin-left: 1em;
    font-size: 12px !important;
    page-break-inside: auto !important
  }

  article#doc-toc li {
    list-style: none
  }

  article#doc-toc li>a {
    color: inherit;
    text-decoration: none;
    padding-top: 0.4rem;
    border-bottom: 1px dotted #ddd;
    display: inline-block;
    width: 100%
  }

/*Styles for admonitions*/

  .md-typeset .admonition,
  .md-typeset details {
    border-width: 0;
    border-left-width: 3px;
  }

  .md-typeset .admonition-title:before, .md-typeset summary:before {
    left: 10px;
    top: 14px;
  }

  .md-typeset .admonition.abstract,
  .md-typeset details.abstract {
    page-break-inside: auto; /*allows breaking long abstracts with code between pages*/
  }

  .md-typeset .edge > .admonition-title,
  .md-typeset .edge > summary {
    background-color: rgba(0, 180, 255, 0.1);
  }

  .md-typeset .edge > .admonition-title::before,
  .md-typeset .edge > summary::before {
    background-color: transparent;
}

/*Styles for tables*/

  table {
    width: 100%;
  }

  table,
  tr {
    border: 1px solid #EEEEEE;
    border-collapse: collapse;
  }

/*Styles for feedback widget*/

  .md-feedback {
    display: none;
  }

/*Styles for page breaks*/

  div.page-break {
    page-break-after: always;
  }
}

/* User personas badges */
.persona-badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.persona-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.45em 0.9em;
  border-radius: 0.375em;
  font-size: 0.8em;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.persona-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.persona-badge::before {
  font-size: 1.1em;
  line-height: 1;
}

/* Commissioning - Professional blue */
.persona-commissioning {
  background-color: #e3f2fd;
  border-color: #90caf9;
  color: #1565c0;
}
.persona-commissioning::before {
  content: "🔧";
}

/* AI lifecycle - Modern teal */
.persona-ai-lifecycle {
  background-color: #e0f2f1;
  border-color: #80cbc4;
  color: #00695c;
}
.persona-ai-lifecycle::before {
  content: "🤖";
}

/* Support - Friendly purple */
.persona-support {
  background-color: #f3e5f5;
  border-color: #ce93d8;
  color: #6a1b9a;
}
.persona-support::before {
  content: "💬";
}