@charset "UTF-8";
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Theme CSS - Laboratory                                   - */
/* -                                                         - */
/* - Laboratory-specific styles (extends core)               - */
/* - Author: Cylian                                          - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Variables (laboratory overrides)                        - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@use "sass:math";
:root {
  --layout-header-height: 3rem;
  --layout-footer-height: 2rem;
  --layout-spacing: 1rem;
  --logo-background-color: var(--background-color-surface);
  --logo-draw-color: var(--draw-color-primary);
  --logo-draw-color-hover: var(--draw-color-primary);
  --button-background-color: var(--background-color-surface);
  --button-draw-color: var(--draw-color-surface);
  --button-draw-color-hover: var(--draw-color-primary);
  --menu-header-text-color: var(--text-color-surface);
  --menu-header-text-hover-color: var(--text-color-primary);
  --menu-header-draw-color: var(--draw-color-primary);
  --menu-footer-text-color: var(--text-color-primary);
  --menu-footer-text-hover-color: var(--text-color-secondary);
  --menu-footer-draw-color: var(--draw-color-surface);
  --submenu-header-text-color: var(--text-color-surface);
  --submenu-header-text-hover-color: var(--text-color-primary);
  --submenu-header-background-color: var(--background-color-surface);
  --submenu-header-draw-color: var(--draw-color-surface);
  --submenu-header-draw-hover-color: var(--draw-color-primary);
  --slogan-draw-color: var(--draw-color-primary);
  --tag-text-color: var(--text-color-surface);
  --tag-draw-color: var(--draw-color-primary);
  --tag-background-color: var(--background-color-surface);
  --table-body-text-color: var(--text-color-surface);
  --table-body-background-color: var(--background-color-surface);
  --link-text-color: var(--text-color-primary);
  --link-text-hover-color: var(--text-color-secondary);
  --link-text-visited-color: var(--text-color-primary);
  --link-text-external-color: var(--text-color-primary);
  --link-header-draw-color: var(--draw-color-secondary);
  --link-header-draw-color-hover: var(--draw-color-secondary);
  --link-header-background-color-hover: var(--submenu-header-background-hover-color);
  --draw-color-danger: var(--color-danger);
  --draw-color-success: var(--color-success);
  --text-color-danger: var(--color-danger);
  --text-color-success: var(--color-success); }
  :root, :root[data-theme=light] {
    --submenu-header-background-hover-color: #ebf5fc;
    --submenu-header-draw-hover-color: #5eaadd; }
  :root[data-theme=dark] {
    --submenu-header-background-hover-color: #1e2d3c;
    --submenu-header-draw-hover-color: #317095; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --submenu-header-background-hover-color: #1e2d3c;
    --submenu-header-draw-hover-color: #317095; } }

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Layout Components (laboratory-specific)                 - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Header Theme                                            - */
/* -                                                          - */
/* - ✓ VALIDATED: 2025-12-30                                 - */
/* - Author: Cylian                                           - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - SHADOW DOM ISOLATION: scoped to header#theme-header     - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
header#theme-header {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  margin: 0;
  padding: 0;
  gap: var(--layout-spacing);
  color: var(--text-color-surface);
  border-bottom: 1px solid var(--draw-color-surface);
  user-select: none;
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  /* - Header Items                                             - */
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  /* - Header Systray                                          - */
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  /* - Header Logo                                              - */
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  /* - Header Links                                             - */
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  /* - Header Breadcrumb                                        - */
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  /* - Header Buttons                                           - */
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  /* - Header Spacer                                            - */
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ }
  header#theme-header .item {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    padding: .25rem;
    color: inherit;
    text-decoration: none; }
    header#theme-header .item > span {
      display: inline-block; }
    header#theme-header .item > object.icon {
      width: auto;
      height: 24px; }
  header#theme-header #systray-theme-toggle > object.icon {
    height: 18px; }
  header#theme-header #systray-auth > object.icon {
    height: 18px; }
  header#theme-header a#logo {
    width: 1.875rem;
    height: 1.875rem;
    margin: .5rem 0;
    padding: .25rem;
    background-color: var(--logo-background-color);
    border: 2px solid var(--logo-draw-color);
    border-radius: .75rem;
    transition: border-color .25s, background-color .25s; }
    header#theme-header a#logo:hover {
      border-color: var(--logo-draw-color-hover); }
  header#theme-header .link {
    height: 1.875rem;
    padding: .125rem;
    font-weight: 300;
    cursor: pointer; }
  header#theme-header .leaf {
    padding-left: var(--layout-spacing);
    border-left: 4px solid var(--draw-color-primary); }
  header#theme-header .button {
    min-height: 1.875rem;
    min-width: 1.875rem;
    padding: .25rem;
    background-color: var(--button-background-color);
    border: 2px solid var(--button-draw-color);
    border-radius: .75rem;
    cursor: pointer;
    transition: border-color .25s, background-color .25s; }
    header#theme-header .button:hover {
      border-color: var(--button-draw-color-hover); }
  header#theme-header .spacer {
    flex: 1 1 auto; }

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Before Theme                                            - */
/* -                                                          - */
/* - ✓ VALIDATED: 2025-12-12                                 - */
/* - Author: Cylian                                           - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - SHADOW DOM ISOLATION: scoped to layout-before           - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
header#theme-before {
  display: block;
  user-select: none;
  user-select: none;
  user-select: none;
  user-select: none; }
  header#theme-before h1:has(+ p.slogan) {
    margin-bottom: 1rem; }
  header#theme-before p.slogan {
    text-align: center;
    font-style: italic;
    color: var(--text-color-secondary);
    max-width: 800px;
    margin: 0 auto 4rem; }

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Main Theme                                              - */
/* -                                                          - */
/* - ✓ VALIDATED: 2025-12-12                                 - */
/* - Author: Cylian                                           - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - SHADOW DOM ISOLATION: scoped to main#theme-main         - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
main#theme-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  padding: 0;
  color: var(--text-color-surface);
  font-size: 1.125rem;
  text-align: justify; }

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Footer Theme (Laboratory)                               - */
/* -                                                          - */
/* - Author: Cylian                                           - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - SHADOW DOM ISOLATION: scoped to footer#theme-footer     - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
footer#theme-footer {
  display: flex;
  flex: 1 1 auto;
  gap: var(--layout-spacing);
  margin: 0;
  padding: 0.5rem 0 0;
  border-top: 1px solid var(--menu-footer-draw-color);
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  /* - Generic Elements                                         - */
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  /* - Top Level Menu Link                                      - */
  /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  /* Spacer */ }
  footer#theme-footer label,
  footer#theme-footer a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-flow: row nowrap;
    box-sizing: content-box;
    margin: 0;
    padding: .125rem;
    color: inherit;
    text-decoration: none;
    font-weight: 300; }
  footer#theme-footer > a.link {
    color: var(--menu-footer-text-color); }
    footer#theme-footer > a.link:hover {
      color: var(--menu-footer-text-hover-color); }
  footer#theme-footer .spacer {
    flex: 1; }

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Responsive: Vertical Footer (< S)                       - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@media only screen and (max-width: 766px) {
  footer#theme-footer {
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: stretch; } }

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Responsive: Horizontal Footer (≥ S)                     - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@media only screen and (min-width: 767px) {
  footer#theme-footer {
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center; } }

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - List/Branch/Leaf Components                             - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Card Component                                           - */
/* -                                                          - */
/* - Author: Cylian                                           - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - SHADOW DOM ISOLATION: scoped to main#theme-main          - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
main#theme-main {
  /* ---------------------------------------- */
  /* Base card styles (shared)                */
  /* ---------------------------------------- */
  /* ---------------------------------------- */
  /* Navigation cards (links)                 */
  /* ---------------------------------------- */ }
  main#theme-main .card {
    box-sizing: border-box;
    background: var(--background-color-surface);
    border: 1px solid var(--draw-color-surface);
    border-radius: .75rem;
    overflow: hidden; }
  main#theme-main a.card {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 1rem;
    margin: .25rem;
    padding: 1rem;
    font-size: .75rem;
    text-decoration: none;
    transition: border-color 200ms; }
    main#theme-main a.card:hover {
      border-color: var(--draw-color-primary); }
    main#theme-main a.card .card-title {
      display: flex;
      align-items: center;
      gap: .5rem;
      font-size: .875rem;
      font-weight: 400;
      letter-spacing: .125rem;
      color: var(--text-color-ground); }
      main#theme-main a.card .card-title .icon {
        flex: 0 0 auto;
        width: 1.5rem;
        height: 1.5rem; }
    main#theme-main a.card .card-description {
      flex: 1 1 100%;
      min-height: 2lh;
      margin: 0;
      line-height: 1.3;
      letter-spacing: 1.2px;
      text-align: justify; }
    main#theme-main a.card .card-tags {
      flex: 1 1 100%;
      display: flex;
      flex-wrap: wrap;
      gap: .25rem; }

/* ---------------------------------------- */
/* Responsive: Medium screens and up        */
/* ---------------------------------------- */
@media (width >= 767px) {
  main#theme-main section.leaf {
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: flex-start; }
  main#theme-main a.card {
    flex: 0 0 300px; } }

/* ---------------------------------------- */
/* Responsive: Tiny & Small screens         */
/* ---------------------------------------- */
@media (width < 767px) {
  main#theme-main section.leaf {
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: stretch; }
  main#theme-main a.card {
    flex: 0 0 auto; } }

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Section Component                                        - */
/* -                                                          - */
/* - Author: Cylian                                           - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - SHADOW DOM ISOLATION: scoped to main#theme-main          - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
main#theme-main section.content,
main#theme-main section.branch {
  width: 100%; }

main#theme-main section.leaf {
  display: flex;
  margin: 1rem 0; }

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Container Components                                     - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Section Container Component                              - */
/* -                                                          - */
/* - Author: Cylian                                           - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - SHADOW DOM ISOLATION: scoped to main#theme-main          - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
main#theme-main {
  /* ---------------------------------------- */
  /* Content cards (containers)               */
  /* ---------------------------------------- */ }
  main#theme-main section.visual {
    background: var(--background-color-surface);
    border: 1px solid var(--draw-color-surface);
    border-radius: .75rem; }
  main#theme-main section.full {
    width: 100%; }
  main#theme-main section.ratio-16-9 {
    aspect-ratio: 16 / 9; }
  main#theme-main section.ratio-4-3 {
    aspect-ratio: 4 / 3; }
  main#theme-main section.ratio-1-1 {
    aspect-ratio: 1 / 1; }
  main#theme-main section.container {
    box-sizing: border-box;
    place-self: center;
    flex: 0 0 auto;
    height: auto; }
    main#theme-main section.container canvas {
      margin: auto; }
    main#theme-main section.container.canvas-center {
      display: grid;
      place-content: center;
      overflow: hidden; }
      main#theme-main section.container.canvas-center canvas {
        object-fit: contain; }
    main#theme-main section.container.canvas-scroll {
      display: grid;
      place-content: center;
      overflow: auto; }
      main#theme-main section.container.canvas-scroll canvas {
        object-fit: contain; }
    main#theme-main section.container.canvas-contain {
      display: grid;
      place-content: center;
      overflow: hidden; }
      main#theme-main section.container.canvas-contain canvas {
        width: 100%;
        height: 100%;
        object-fit: contain; }
    main#theme-main section.container.size-600 {
      width: 100%;
      max-width: 600px; }
    main#theme-main section.container.size-800 {
      width: 100%;
      max-width: 800px; }
    main#theme-main section.container.size-1000 {
      width: 100%;
      max-width: 1000px; }
  main#theme-main section.section {
    box-sizing: border-box;
    flex: 0 0 auto;
    height: auto;
    padding: var(--layout-spacing); }
  main#theme-main section.section + section.section {
    margin-top: var(--layout-spacing); }

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Misc Components                                          - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Dictionary Component                                     - */
/* -                                                          - */
/* - Author: Cylian                                           - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
dl {
  display: grid;
  grid-template-columns: 1fr auto;
  margin: 0; }
  dl > :nth-child(n+3) {
    margin-top: .5rem; }

dt {
  padding: .25rem 0;
  border-bottom: 1px solid var(--draw-color-surface);
  font-weight: 300;
  color: var(--text-color-surface); }

dd {
  padding: .25rem 0;
  border-bottom: 1px solid var(--draw-color-surface);
  margin: 0;
  text-align: right;
  font-weight: 500;
  color: var(--text-color-primary);
  font-variant-numeric: tabular-nums; }

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Panic                                                   - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/** Reset definition **/
panic-container {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 2px;
  position: fixed;
  bottom: 8px;
  right: 8px;
  width: calc( 100vw - $default-space * 2);
  box-sizing: border-box;
  max-width: 512px;
  margin: 0;
  padding: 8px;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  backdrop-filter: blur(10px);
  background-color: transparent;
  transition: border 200ms ease-in, background-color 200ms ease-out;
  z-index: 64; }
  panic-container:empty {
    visibility: hidden; }
  panic-container:hover {
    background-color: var(--surface-color-primary);
    border-color: var(--border-color-secondary); }

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Panic message                                             - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
panic-container > panic-log {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  word-wrap: break-word; }

panic-container > panic-log > span.badge {
  flex: 0 0 auto;
  display: inline-block;
  min-height: 12px;
  min-width: 12px;
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid var(--border-color-primary);
  font-size: .8em; }
  panic-container > panic-log > span.badge:empty {
    padding: 2px; }

panic-container > panic-log.level-trace > span.badge {
  background-color: var(--color-grey-500);
  color: var(--color-white); }

panic-container > panic-log.level-debug > span.badge {
  background-color: var(--color-grey-500);
  color: var(--color-white); }

panic-container > panic-log.level-info > span.badge {
  background-color: var(--color-blue);
  color: var(--color-white); }

panic-container > panic-log.level-notice > span.badge {
  background-color: var(--color-olive);
  color: var(--color-white); }

panic-container > panic-log.level-warning > span.badge {
  background-color: var(--color-orange);
  color: var(--color-white); }

panic-container > panic-log.level-error > span.badge {
  background-color: var(--color-red);
  color: var(--color-white); }

panic-container > panic-log.level-fatal > span.badge {
  background-color: var(--color-red);
  color: var(--color-white); }

panic-container > panic-log > span.message {
  flex: 1 1 auto; }

/*# sourceMappingURL=theme.css.map */