@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
:root {
  --vpt-theme-headline-font: "Inter", ui-sans-serif, sans-serif;
  --vpt-theme-text-font: "Inter", ui-sans-serif, sans-serif;
  --vpt-theme-header-background-color: #00386b;
  --vpt-theme-header-text-color: white;
  --vpt-theme-banner-background-color: #00386b;
  --vpt-theme-banner-text-color: white;
  --vpt-theme-footer-background-color: ghostwhite;
  --vpt-theme-footer-text-color: black;
  --vpt-theme-primary-color: #00386b;
  --vpt-theme-on-primary-color: white;
  --vpt-theme-roundness: 6;
  --theme-header-logo-size: 24px;
}

a {
  transition-property: color,background-color,border-color,text-decoration-color,fill,stroke;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .15s;
}

:root[data-page-template="portal"] .header-site-name {
  display: none;
}

.header-site-name {
  font-size: 24px;
  margin-top: 6px;  
}

ul.footer-content li:nth-child(2) {
  display: none;
}

.render-links {
  display: none;
}

table p {
  font-size: 12px;
}

.code-macro {
  margin-bottom: .75rem;
}

:has(link[rel="canonical"][href^="https://monolixsuite.slp-software.com/pkanalix/"]) {
  --K15t-link: #54ad38;
  --foreground-color-selected: #54ad38;
  --background-color-selected: #54ad3810;
}

:has(link[rel="canonical"][href^="https://monolixsuite.slp-software.com/monolix/"]) {
  --K15t-link: #00a4c6;
  --foreground-color-selected: #00a4c6;
  --background-color-selected: #00a4c610;
}

:has(link[rel="canonical"][href^="https://monolixsuite.slp-software.com/simulx/"]) {
  --K15t-link: #fe7236;
  --foreground-color-selected: #fe7236;
  --background-color-selected: #fe723610;
}

.news time {
  display: none;
}

/* Borderless tables: exactly 1 row and 2 columns */
[data-component="table"] > table:has(> tbody > tr:only-child > :is(td, th):nth-child(2):last-child):not(:has(> thead, > tfoot, > tbody + tbody)) > tbody > tr > :is(td, th) {
  border: none;
}

/* ===== Tables with exactly 1 row and 2 columns ===== */

/* Table text at the normal page size (overrides the site-wide "table p { font-size: 12px }") */
[data-component="table"] > table:has(> tbody > tr:only-child > :is(td, th):nth-child(2):last-child):not(:has(> thead, > tfoot, > tbody + tbody)) p {
  font-size: inherit;
}

/* Expand box: no border, no background, little space around it */
[data-component="table"] > table:has(> tbody > tr:only-child > :is(td, th):nth-child(2):last-child):not(:has(> thead, > tfoot, > tbody + tbody)) .expand {
  margin-block: 0.25rem;
  border: none;
  background-color: transparent;
}

/* Expand title: arrow on the left, slightly smaller, subdued color */
[data-component="table"] > table:has(> tbody > tr:only-child > :is(td, th):nth-child(2):last-child):not(:has(> thead, > tfoot, > tbody + tbody)) .expand .expand-control {
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 0.25rem 0;
  font-size: 0.875rem;
  color: var(--K15t-foreground-subtle);
  background-color: transparent;
}

[data-component="table"] > table:has(> tbody > tr:only-child > :is(td, th):nth-child(2):last-child):not(:has(> thead, > tfoot, > tbody + tbody)) .expand .expand-control::after {
  order: -1;
}

[data-component="table"] > table:has(> tbody > tr:only-child > :is(td, th):nth-child(2):last-child):not(:has(> thead, > tfoot, > tbody + tbody)) .expand .expand-control:hover {
  color: var(--K15t-foreground);
}

/* Expand content: slightly smaller, indented under the title */
[data-component="table"] > table:has(> tbody > tr:only-child > :is(td, th):nth-child(2):last-child):not(:has(> thead, > tfoot, > tbody + tbody)) .expand .expand-body {
  padding: 0 0 0.5rem 1.5rem;
  font-size: 0.875rem;
}