@charset "UTF-8";
:root {
  --app-gray-50: #fafbfc;
  --app-gray-150: #f1f3f5;
  --app-gray-400: #ced4da;
  --app-gray-500: #adb5bd;
  --app-gray-600: #6c757d;
  --app-gray-700: #495057;
  --app-gray-800: #343a40;
  --app-hover-tint: #eef4fb;
}

[data-bs-theme=dark] {
  --app-gray-50: #262b2f;
  --app-gray-150: #30363b;
  --app-gray-400: #495057;
  --app-gray-500: #6c757d;
  --app-gray-600: #adb5bd;
  --app-gray-700: #ced4da;
  --app-gray-800: #dee2e6;
  --app-hover-tint: #2a3441;
}

.navbar-logo {
  height: 20px;
}

.global-search {
  position: relative;
  margin: 0.5rem 0;
}
@media (min-width: 1200px) {
  .global-search {
    margin: 0 0.75rem;
    width: 15rem;
  }
}

.global-search-loupe {
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--app-gray-600);
  pointer-events: none;
}

.global-search-input {
  padding-left: 1.9rem;
  padding-right: 3.5rem;
}

.global-search-kbd {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.05rem 0.35rem;
  font-size: 0.75em;
  color: var(--app-gray-600);
  background-color: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.25rem;
  pointer-events: none;
}
.global-search-input:focus ~ .global-search-kbd {
  display: none;
}

.global-search-menu {
  width: 100%;
  max-height: 70vh;
  overflow-y: auto;
}
@media (min-width: 1200px) {
  .global-search-menu {
    width: 24rem;
    right: 0;
    left: auto;
  }
}

.global-search-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  white-space: normal;
}

.global-search-main {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-start;
  gap: 0.6rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.global-search-main:hover {
  color: inherit;
}

.global-search-links {
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
  margin-top: 0.1rem;
  font-size: 0.85em;
}

.global-search-link {
  color: var(--app-gray-700);
}
.global-search-link:hover {
  color: var(--bs-body-color);
}

.global-search-item.active,
.global-search-item:active {
  color: var(--bs-body-color);
  background-color: var(--bs-secondary-bg);
}

.global-search-icon {
  flex: 0 0 auto;
  margin-top: 0.1rem;
  color: var(--app-gray-600);
}

.global-search-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-wrap: anywhere;
}

.global-search-subtitle {
  color: var(--app-gray-600);
}

.global-search-message {
  color: var(--app-gray-600);
  white-space: normal;
}

.global-search-all {
  font-size: 0.85em;
  color: var(--app-gray-700);
}

[data-bs-theme=dark] .navbar-logo {
  filter: invert(1) brightness(1.8);
}

body {
  background-color: var(--bs-body-bg);
  font-size: smaller;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}
.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1), inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -0.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

main {
  padding: 60px 15px 0;
}

main > .container {
  padding: 10px 15px 0;
}

main > .container-fluid {
  padding: 10px 15px 0;
}

li.breadcrumb-item > a {
  color: var(--bs-emphasis-color);
  text-decoration: none;
  font-weight: bold;
}

.pagination > li > a {
  background-color: var(--bs-body-bg);
  color: var(--bs-emphasis-color);
}

.pagination > li > a:focus,
.pagination > li > a:hover {
  color: var(--bs-emphasis-color);
  background-color: var(--bs-secondary-bg);
  border-color: var(--bs-border-color);
}

.pagination > .active > a {
  color: var(--bs-body-bg);
  background-color: var(--bs-emphasis-color);
  border: solid 1px var(--bs-emphasis-color);
}

.pagination > .active > a:hover {
  background-color: var(--bs-emphasis-color);
  border: solid 1px var(--bs-body-bg);
}

.page-item.active .page-link {
  z-index: 3;
  color: var(--bs-body-bg);
  background-color: var(--bs-emphasis-color);
  border: solid 1px var(--bs-emphasis-color);
}

#lmap {
  width: 100%;
  height: 650px;
  position: relative;
}

@media (max-width: 767.98px) {
  #lmap {
    height: 350px;
  }
}
#ternarySoil {
  width: 100%;
  height: 560px;
  position: relative;
  margin: 0;
  padding: 0;
}

ul[role=tree] {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 120%;
}

ul[role=tree] li {
  margin: 0;
  padding: 0;
  list-style: none;
}

[role=treeitem][aria-expanded=false] + [role=group] {
  display: none;
}

[role=treeitem][aria-expanded=true] + [role=group] {
  display: block;
}

[role=treeitem].doc::before {
  font-family: "Font Awesome 5 Free";
  content: "\f15c";
  display: inline-block;
  padding-right: 2px;
  padding-left: 5px;
  vertical-align: middle;
}

[role=treeitem][aria-expanded=false] > ul {
  display: none;
}

[role=treeitem][aria-expanded=true] > ul {
  display: block;
}

[role=treeitem][aria-expanded=false] > span::before {
  font-family: "Font Awesome 5 Free";
  content: "\f07b";
  display: inline-block;
  padding-right: 3px;
  vertical-align: middle;
  font-weight: 900;
}

[role=treeitem][aria-expanded=true] > span::before {
  font-family: "Font Awesome 5 Free";
  content: "\f07c";
  display: inline-block;
  padding-right: 3px;
  vertical-align: middle;
  font-weight: 900;
}

[role=treeitem],
[role=treeitem] span {
  margin: 0;
  padding: 0.125em;
  display: block;
}

/* disable default keyboard focus styling for treeitems
   Keyboard focus is styled with the following CSS */
[role=treeitem]:focus {
  outline: 0;
}

[role=treeitem][aria-selected=true] {
  padding-left: 4px;
  border-left: 5px solid #005a9c;
}

[role=treeitem].focus,
[role=treeitem] span.focus {
  border-color: var(--bs-emphasis-color);
  background-color: var(--bs-secondary-bg);
}

[role=treeitem].hover,
[role=treeitem] span:hover {
  padding-left: 4px;
  background-color: var(--bs-border-color);
  border-left: 5px solid var(--app-gray-800);
}

.sidebar li .submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ========================================
   Histogram styles for quantile display
   ======================================== */
/* Stats compactes avec bordure */
.quantile-stats {
  padding: 8px 12px;
  background-color: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 4px;
  font-size: 11px;
}
.quantile-stats span {
  display: inline-block;
}
.quantile-stats strong {
  color: var(--app-gray-700);
  font-weight: 600;
}

.quantile-histogram {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 60px;
  gap: 2px;
  padding: 5px 0;
  background-color: var(--bs-tertiary-bg);
  border-radius: 4px;
  border: 1px solid var(--bs-border-color);
}

.quantile-bar {
  flex: 1;
  min-height: 2px;
  background-color: var(--app-gray-600);
  border-radius: 2px 2px 0 0;
  transition: all 0.2s ease;
  cursor: pointer;
}
.quantile-bar:hover {
  background-color: var(--app-gray-700);
  transform: scaleY(1.05);
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
}

/* Style spécial pour les valeurs uniques (from == to) */
.quantile-bar.unique-value {
  background-color: #dc3545;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.3) 2px, rgba(255, 255, 255, 0.3) 4px);
  border: 1px solid #c82333;
  position: relative;
}
.quantile-bar.unique-value:hover {
  background-color: #c82333;
  transform: scaleY(1.1);
  box-shadow: 0 -3px 6px rgba(220, 53, 69, 0.4);
}
.quantile-bar.unique-value {
  /* Indicateur visuel pour haute concentration */
}
.quantile-bar.unique-value::before {
  content: "⚠";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #dc3545;
  opacity: 0;
  transition: opacity 0.2s;
}
.quantile-bar.unique-value:hover::before {
  opacity: 1;
}

/* ========================================
   NoUiSlider pips customization
   ======================================== */
/* Mettre en évidence les pips des quantiles */
.noUi-pips .noUi-marker {
  background: var(--app-gray-400);
  height: 8px;
  width: 1px;
}
.noUi-pips .noUi-marker-large {
  background: var(--app-gray-700);
  height: 12px;
  width: 2px;
}
.noUi-pips .noUi-value {
  font-size: 10px;
  color: var(--app-gray-600);
  padding-top: 3px;
}
.noUi-pips {
  /* Labels spéciaux pour Q1, Médiane, Q3 */
}
.noUi-pips .noUi-value[data-value] {
  font-weight: 600;
  color: var(--app-gray-800);
}

/* ========================================
   Boolean field progress bar
   ======================================== */
.boolean-progress-container {
  max-width: 250px;
}
.boolean-progress-container .progress {
  font-size: 10px;
  font-weight: 600;
}

.boolean-legend {
  display: flex;
  gap: 10px;
  font-size: 9px;
  margin-top: 2px;
}
.boolean-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.boolean-legend .legend-color {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

/* Aligner visuellement le slider avec l'histogramme */
.field-controls .filter-slider {
  margin-top: 2.25rem;
}
.field-controls .noUi-target {
  border: 1px solid var(--bs-border-color);
  box-shadow: none;
}
.field-controls .noUi-connect {
  background: var(--app-gray-600);
}
.field-controls .noUi-handle {
  border: 2px solid var(--app-gray-700);
  background: var(--bs-body-bg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.field-controls .noUi-handle:hover {
  background: var(--bs-tertiary-bg);
}

.dsi-stats-param-list {
  max-height: 72vh;
  overflow-y: auto;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
}

.dsi-stats-param-item {
  display: flex;
  align-items: center;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
  border-bottom: 1px solid var(--bs-secondary-bg);
  font-size: 0.85rem;
}
.dsi-stats-param-item:hover {
  background: var(--app-hover-tint);
}
.dsi-stats-param-item.active {
  background: var(--bs-secondary-bg);
  font-weight: 600;
}
.dsi-stats-param-item .dsi-stats-param-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dsi-stats-stat-card .card-body {
  min-width: 90px;
}

.dsi-stats-chart {
  min-height: 350px;
}

.show-chart {
  max-height: 280px;
}

.show-chart-sm {
  max-height: 240px;
}

.wsp-note-history {
  position: relative;
  height: 280px;
}

.show-chart-lg {
  max-height: 320px;
}

@media (max-width: 575.98px) {
  .show-chart,
  .show-chart-sm,
  .show-chart-lg {
    max-height: none;
  }
}
.stats-bounds-bar {
  display: block;
  width: 180px;
  height: 26px;
}

.stats-bounds-bar rect.stats-bounds-input {
  fill: var(--app-gray-500);
}

.stats-bounds-bar rect.stats-bounds-xml {
  fill: var(--app-gray-800);
}

.stats-bounds-bar rect.stats-bounds-deposited {
  fill: #eb6834;
}

.stats-bounds-bar rect.stats-bounds-observed {
  fill: #2a78d6;
}

.stats-bounds-key {
  display: inline-block;
  width: 18px;
  height: 6px;
  vertical-align: middle;
}
.stats-bounds-key.stats-bounds-input {
  background: var(--app-gray-500);
}
.stats-bounds-key.stats-bounds-xml {
  background: var(--app-gray-800);
}
.stats-bounds-key.stats-bounds-deposited {
  background: #eb6834;
}
.stats-bounds-key.stats-bounds-observed {
  background: #2a78d6;
}

.stats-dot-exceed_all {
  background: #b35900;
  color: #ffffff;
}

.stats-flag-row-exceed_all > th:first-child {
  box-shadow: inset 4px 0 0 #b35900;
}

.stats-dot-exceed_some {
  background: #e69f00;
  color: #212529;
}

.stats-flag-row-exceed_some > th:first-child {
  box-shadow: inset 4px 0 0 #e69f00;
}

.stats-dot-disagree {
  background: #6250d6;
  color: #ffffff;
}

.stats-flag-row-disagree > th:first-child {
  box-shadow: inset 4px 0 0 #6250d6;
}

.stats-dot-ok {
  background: #009e73;
  color: #ffffff;
}

.stats-flag-row-ok > th:first-child {
  box-shadow: inset 4px 0 0 #009e73;
}

.stats-dot-none {
  background: #adb5bd;
  color: #212529;
}

.stats-flag-row-none > th:first-child {
  box-shadow: inset 4px 0 0 #adb5bd;
}

.stats-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  font-size: 0.75rem;
  line-height: 1;
  vertical-align: middle;
  cursor: help;
}

.stats-dots {
  display: inline-flex;
  gap: 0.25rem;
}

.stats-bounds-row {
  scroll-margin-top: 90px;
}

.stats-bounds-row:target > * {
  background: #fff3bf;
}

.stats-flag-toggle {
  display: inline-block;
  padding: 0.1rem 0.45rem 0.1rem 0.15rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  cursor: pointer;
  opacity: 0.55;
  white-space: nowrap;
}

.btn-check:checked + .stats-flag-toggle,
.btn-check:focus-visible + .stats-flag-toggle {
  opacity: 1;
}

.btn-check:focus-visible + .stats-flag-toggle {
  outline: 2px solid var(--bs-body-color);
  outline-offset: 1px;
}

.stats-bounds-scroll {
  max-height: calc(100vh - 160px);
  overflow: auto;
}

.stats-bounds-table > :not(caption) > tr > * {
  border-right: 1px solid var(--bs-secondary-bg);
}

.stats-bounds-table > :not(caption) > tr > :last-child {
  border-right: 0;
}

.stats-bounds-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bs-body-bg);
  box-shadow: inset 0 -1px 0 var(--bs-border-color);
}

.stats-bounds-stat {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.3rem;
  font-size: 0.875rem;
  background: var(--bs-body-bg);
}

a.stats-bounds-stat:hover {
  background: var(--bs-tertiary-bg);
}

.stats-bounds-label {
  max-width: 22rem;
}

.stats-bounds-table td {
  white-space: nowrap;
}

.stats-bounds-table td.stats-bounds-status {
  min-width: 6rem;
  white-space: normal;
}

.show-rotations-table {
  min-width: 560px;
  table-layout: fixed;
}
.show-rotations-table .col-rotation {
  width: 70%;
}
.show-rotations-table .col-usm {
  width: 15%;
}
.show-rotations-table .col-years {
  width: 15%;
}

.show-machine-gauge {
  display: block;
  width: 100%;
  height: 0.4rem;
  margin: 0.25rem 0;
  appearance: none;
  border: 0;
  border-radius: 0.2rem;
  background-color: var(--bs-secondary-bg);
  color: var(--app-gray-600);
}
.show-machine-gauge::-webkit-progress-bar {
  background-color: var(--bs-secondary-bg);
  border-radius: 0.2rem;
}
.show-machine-gauge::-webkit-progress-value {
  background-color: var(--app-gray-600);
  border-radius: 0.2rem;
}
.show-machine-gauge::-moz-progress-bar {
  background-color: var(--app-gray-600);
  border-radius: 0.2rem;
}

.show-volumetry-table td,
.show-volumetry-table thead th {
  white-space: nowrap;
}

.qualification-input-cell {
  min-width: 7rem;
}

.qualification-changes {
  max-height: 420px;
}

.q-g4 {
  background: #6f93a6;
  color: #14201c;
}

.q-g3 {
  background: #d4a62a;
  color: #14201c;
}

.q-g2 {
  background: #a9abae;
  color: #14201c;
}

.q-g1 {
  background: #b5683a;
  color: #fff;
}

.q-g0 {
  background: repeating-linear-gradient(45deg, #c9c7c1 0 4px, #e6e4df 4px 8px);
  color: #2b2a27;
}

.q-gnc {
  background: transparent;
  color: var(--app-gray-600);
  border: 1px dashed var(--app-gray-500);
}

.q-bar {
  display: flex;
  width: 100%;
  height: 1.6rem;
  border-radius: 4px;
  overflow: hidden;
  gap: 2px;
  background: var(--bs-body-bg);
}
.q-bar > span {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 2px;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.q-bar > span.q-seg-tight {
  color: transparent;
}
.q-bar.q-bar-sm {
  height: 1.1rem;
}
.q-bar.q-bar-sm > span {
  font-size: 0.65rem;
}

.q-score {
  display: flex;
  min-width: 8rem;
  height: 0.9rem;
  border-radius: 3px;
  overflow: hidden;
  gap: 1px;
  background: var(--bs-body-bg);
}
.q-score > span {
  display: block;
  flex: 1 1 0;
  min-width: 1px;
}
.q-score .q-got {
  background: #2f7f73;
}
.q-score .q-miss {
  background: #e3e1dc;
}

.q-code,
.q-strong {
  color: var(--bs-emphasis-color);
  font-weight: 700;
}

.q-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.q-approach-figure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}
@media screen and (max-width: 991.98px) {
  .q-approach-figure {
    grid-template-columns: minmax(0, 1fr);
  }
  .q-approach-figure .q-approach-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
}

.q-approach-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.q-approach-heading {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.q-approach-block {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--app-gray-500);
  border-radius: 6px;
  background: var(--bs-body-bg);
}

.q-approach-block-body {
  flex: 1 1 auto;
  padding: 0.5rem 0.75rem;
}

.q-approach-input {
  border-left: 6px solid #5b7fa6;
}

.q-approach-output {
  border-left: 6px solid #2f7f73;
}

.q-approach-multiplier {
  border-left: 6px solid var(--app-gray-700);
  background: var(--bs-tertiary-bg);
}

.q-approach-thresholds {
  display: flex;
  flex-direction: column;
  min-width: 2.75rem;
}
.q-approach-thresholds > span {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  padding: 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.q-fig2 {
  display: grid;
  grid-template-columns: 8rem 11rem 2.5rem minmax(16rem, 21rem) 4.5rem 20rem;
  justify-content: center;
  column-gap: 0.75rem;
  row-gap: 0.5rem;
  overflow-x: auto;
}

.q-fig2-h {
  font-weight: 700;
  text-align: center;
}

.q-fig2-a {
  grid-column: 1;
}

.q-fig2-b {
  grid-column: 2;
}

.q-fig2-c {
  grid-column: 3;
}

.q-fig2-d {
  grid-column: 4;
}

.q-fig2-e {
  grid-column: 5;
}

.q-fig2-f {
  grid-column: 6;
}

.q-fig2-sub {
  color: var(--app-gray-600);
  font-size: 0.75rem;
  font-weight: 400;
}

.q-fig2-sum {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.q-fig2-band {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 4.5rem;
  padding: 0.45rem 0.6rem 0;
  font-weight: 600;
}

.q-fig2-reached {
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  transform: translateX(-50%);
  padding: 0.1rem 0.6rem;
  border: 2px solid var(--bs-emphasis-color);
  border-radius: 999px;
  background: var(--bs-body-bg);
  color: var(--bs-emphasis-color);
  font-size: 0.85rem;
  white-space: nowrap;
}

.q-fig2-down {
  position: relative;
  flex: 1 1 auto;
  width: 2px;
  min-height: 1.5rem;
  margin: 0.3rem auto calc(-0.5rem + 2px);
  background: var(--app-gray-700);
}
.q-fig2-down::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-top: 9px solid var(--app-gray-700);
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  content: "";
}

.q-fig2-blocks {
  grid-column: 4/7;
  grid-row: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.q-fig2-row {
  display: grid;
  grid-template-columns: 1fr 2.75rem 3.75rem 4.5rem 20rem;
  column-gap: 0.75rem;
  align-items: center;
  min-height: 4.2rem;
  margin-bottom: 0.35rem;
}
.q-fig2-row .q-approach-thresholds {
  align-self: stretch;
}
.q-fig2-row .q-approach-thresholds > span {
  font-size: 0.7rem;
}

.q-fig2-name {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--app-gray-500);
  border-left: 6px solid #5b7fa6;
  border-radius: 4px;
  background: var(--bs-tertiary-bg);
  font-weight: 600;
}

.q-fig2-points {
  padding: 0.2rem 0;
  border: 1px solid var(--app-gray-700);
  font-weight: 700;
  text-align: center;
}

.q-fig2-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto;
  border: 2px solid var(--bs-emphasis-color);
  border-radius: 50%;
  background: var(--bs-body-bg);
  font-weight: 700;
}

.q-fig2-none {
  grid-column: 2/6;
  color: var(--app-gray-600);
  font-size: 0.85rem;
  font-style: italic;
}

.q-fig2-bottom {
  grid-column: 1/6;
  align-self: start;
  display: flex;
  align-items: center;
  gap: 0;
}

.q-fig2-calc {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 0.6rem;
  border-left: 1px solid var(--bs-border-color);
  font-size: 0.8rem;
  line-height: 1.35;
}

.q-fig2-steps {
  margin: 0;
  padding-left: 1.1rem;
}
.q-fig2-steps > li {
  margin-bottom: 0.2rem;
}

.q-fig2-explain {
  grid-column: 6;
  align-self: center;
  padding-left: 0.6rem;
  border-left: 1px solid var(--bs-border-color);
  font-size: 0.8rem;
}

.q-fig2-final {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 8rem;
  min-height: 4.5rem;
  border: 2px solid var(--bs-emphasis-color);
  font-size: 1.35rem;
  font-weight: 700;
}

.q-fig2-left {
  position: relative;
  flex: 0 0 2.5rem;
  height: 2px;
  margin: 0 2px;
  background: var(--app-gray-700);
}
.q-fig2-left::before {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-right: 9px solid var(--app-gray-700);
  border-bottom: 6px solid transparent;
  content: "";
}

.q-fig2-mult {
  flex: 1 1 auto;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--app-gray-700);
  border-left: 6px solid var(--app-gray-700);
  background: var(--bs-tertiary-bg);
  font-size: 0.9rem;
}

.q-fig2-mean {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 2px solid var(--bs-emphasis-color);
  border-radius: 50%;
  font-weight: 700;
}

.q-approach-or {
  margin: -0.25rem 0;
  color: var(--app-gray-600);
  font-size: 0.8rem;
  font-style: italic;
  text-align: center;
}

.q-approach-alt {
  margin-top: 0.5rem;
  padding: 0.4rem 0.5rem 0.5rem;
  border: 1px dashed var(--app-gray-600);
  border-radius: 6px;
}

.q-approach-alt-title {
  margin-bottom: 0.3rem;
  color: var(--app-gray-700);
  font-size: 0.8rem;
  font-weight: 600;
}

.q-approach-or-help {
  margin-top: 0.3rem;
  color: var(--app-gray-600);
  font-size: 0.75rem;
}

.q-approach-model {
  padding: 1.25rem 1.5rem;
  border: 2px solid var(--bs-emphasis-color);
  border-radius: 8px;
  background: #eef4ea;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}

.q-approach-arrow {
  color: var(--app-gray-700);
  font-size: 1.75rem;
  text-align: center;
}

.q-tree {
  overflow-x: auto;
}
.q-tree ul {
  display: flex;
  position: relative;
  justify-content: center;
  margin: 0;
  padding: 1rem 0 0;
}
.q-tree > ul {
  padding-top: 0;
}
.q-tree li {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem 0.3rem 0;
  list-style: none;
  text-align: center;
}
.q-tree li::before, .q-tree li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  width: 50%;
  height: 1rem;
  border-top: 1px solid var(--app-gray-500);
}
.q-tree li::after {
  right: auto;
  left: 50%;
  border-left: 1px solid var(--app-gray-500);
}
.q-tree li:only-child {
  padding-top: 0;
}
.q-tree li:only-child::before, .q-tree li:only-child::after {
  display: none;
}
.q-tree li:first-child::before, .q-tree li:last-child::after {
  border: 0;
}
.q-tree li:last-child::before {
  border-right: 1px solid var(--app-gray-500);
  border-radius: 0 5px 0 0;
}
.q-tree li:first-child::after {
  border-radius: 5px 0 0 0;
}
.q-tree ul ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 1rem;
  border-left: 1px solid var(--app-gray-500);
}
@media screen and (max-width: 991.98px) {
  .q-tree ul {
    display: block;
    padding: 0 0 0 1.25rem;
  }
  .q-tree > ul {
    padding-left: 0;
  }
  .q-tree li {
    padding: 0.4rem 0 0 1rem;
    text-align: left;
  }
  .q-tree li::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: 0;
    height: auto;
    border: 0;
    border-left: 1px solid var(--app-gray-500);
    border-radius: 0;
  }
  .q-tree li::after {
    top: 1.3rem;
    left: 0;
    width: 0.8rem;
    height: 0;
    border: 0;
    border-top: 1px solid var(--app-gray-500);
    border-radius: 0;
  }
  .q-tree li:first-child::before {
    border-left: 1px solid var(--app-gray-500);
  }
  .q-tree li:last-child::after {
    border-top: 1px solid var(--app-gray-500);
  }
  .q-tree li:last-child::before {
    bottom: auto;
    height: 1.3rem;
    border-right: 0;
    border-left: 1px solid var(--app-gray-500);
  }
  .q-tree li:only-child {
    padding-top: 0.4rem;
  }
  .q-tree li:only-child::before, .q-tree li:only-child::after {
    display: block;
  }
  .q-tree > ul > li,
  .q-tree > ul > li:only-child {
    padding-left: 0;
  }
  .q-tree > ul > li::before, .q-tree > ul > li::after,
  .q-tree > ul > li:only-child::before,
  .q-tree > ul > li:only-child::after {
    display: none;
  }
  .q-tree ul ul::before {
    display: none;
  }
}

.q-tree-node {
  display: inline-block;
  max-width: 16rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--app-gray-500);
  border-radius: 6px;
  background: var(--bs-body-bg);
  font-size: 0.85rem;
}

.q-tree-root {
  border: 2px solid var(--bs-emphasis-color);
  font-size: 0.95rem;
}

.q-tree-usm {
  border-left: 4px solid #5b7fa6;
}

.q-tree-block {
  background: var(--bs-tertiary-bg);
}

.q-tree-leaf {
  border-style: dashed;
  color: var(--app-gray-700);
  font-size: 0.75rem;
}

.q-meteo-chart {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.q-ftree {
  max-width: 52rem;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  list-style: none;
}
.q-ftree ul {
  margin: 0;
  padding-left: 1.4rem;
  list-style: none;
}
.q-ftree ul li {
  position: relative;
  padding-left: 1rem;
}
.q-ftree ul li::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-left: 1px solid var(--app-gray-500);
}
.q-ftree ul li::after {
  content: "";
  position: absolute;
  top: 0.8rem;
  left: 0;
  width: 0.75rem;
  border-top: 1px solid var(--app-gray-500);
}
.q-ftree ul li:last-child::before {
  bottom: auto;
  height: 0.8rem;
}

.q-ftree-block {
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--bs-secondary-bg);
}
.q-ftree-block:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.q-ftree-line {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.1rem 0.25rem;
  border-radius: 3px;
}
.q-ftree-line:hover {
  background: var(--app-gray-150);
}

.q-ftree-text {
  overflow-wrap: anywhere;
}

.q-ftree-dots {
  flex: 1 1 auto;
  min-width: 1rem;
  border-bottom: 1px dotted var(--app-gray-400);
}

.q-ftree-points {
  flex: 0 0 auto;
  font-weight: 600;
  white-space: nowrap;
}

.q-ftree-head {
  flex-wrap: wrap;
  font-size: 1rem;
  font-weight: 600;
}

.q-ftree-sub {
  font-weight: 600;
  font-style: italic;
}

.q-ftree-grades {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-left: auto;
  font-size: 0.75rem;
}

@media (max-width: 575.98px) {
  .q-ftree-word {
    flex-wrap: wrap;
  }
  .q-ftree-word .q-ftree-text {
    flex: 1 1 100%;
  }
  .q-ftree-word .q-ftree-dots {
    display: none;
  }
  .q-ftree-word .q-ftree-points {
    margin-left: auto;
  }
}
.q-ftree-pending {
  display: inline-block;
  margin-left: 0.5rem;
  font-weight: 400;
  padding: 0 0.4rem;
  border: 1px dashed var(--app-gray-600);
  border-radius: 3px;
  color: var(--app-gray-700);
  font-size: 0.75rem;
}

.q-ftree-note {
  color: var(--app-gray-600);
  font-style: italic;
}

.q-approach-steps li {
  margin-bottom: 0.75rem;
}

.q-podium-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  border: 2px solid var(--bs-emphasis-color);
  border-radius: 50%;
  font-weight: 700;
}

.q-podium-1 {
  border: 2px solid var(--bs-emphasis-color);
}

.q-badge-btn {
  border: 0;
  cursor: pointer;
}
.q-badge-btn:hover {
  filter: brightness(0.92);
}
.q-badge-btn:focus-visible {
  outline: 2px solid var(--bs-emphasis-color);
  outline-offset: 2px;
}

.q-radar {
  --q-radar-workspace: #2f7f73;
  --q-radar-workspace-fill: rgba(47, 127, 115, .2);
  --q-radar-base: var(--app-gray-600);
  max-width: 460px;
  margin: 0 auto;
}

.q-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-right: 0.9rem;
  font-size: 0.8rem;
}
.q-legend i {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 2px;
}

.q-ws-row {
  cursor: pointer;
}

.q-ws-table {
  min-width: 1100px;
  table-layout: fixed;
}
.q-ws-table .col-grade {
  width: 6%;
}
.q-ws-table .col-wsp {
  width: 14%;
}
.q-ws-table .col-count {
  width: 4%;
}
.q-ws-table .col-distribution {
  width: 7.43%;
}
.q-ws-table th {
  vertical-align: bottom;
  overflow-wrap: anywhere;
}

.q-table-sm {
  min-width: 520px;
}

.q-table-md {
  min-width: 560px;
}

.q-table-lg {
  min-width: 640px;
}

.q-table-xl {
  min-width: 760px;
}

.q-col-bar {
  width: 40%;
}

.q-col-bar-sm {
  width: 22%;
}

.q-scroll {
  max-height: 520px;
}

.q-scroll-lg {
  max-height: 640px;
}

.docs-content {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--bs-body-color);
}

.docs-content h1 {
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.docs-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.55rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--bs-secondary-bg);
}

.docs-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.15rem 0 0.45rem;
  color: var(--app-gray-700);
}

.docs-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1rem 0 0.35rem;
  color: var(--app-gray-700);
}

.docs-content p {
  margin: 0 0 0.7rem;
}

.docs-content ul,
.docs-content ol {
  margin: 0 0 0.7rem;
  padding-left: 1.25rem;
}

.docs-content li {
  margin-bottom: 0.2rem;
}

.docs-content blockquote {
  border-left: 3px solid var(--app-gray-500);
  margin: 0.8rem 0;
  padding: 0.5rem 0.85rem;
  background: var(--bs-tertiary-bg);
  color: var(--app-gray-700);
}

.docs-content blockquote > :last-child {
  margin-bottom: 0;
}

.docs-content :not(pre) > code {
  background: var(--bs-tertiary-bg);
  padding: 0.05rem 0.3rem;
  border-radius: 3px;
  font-size: 0.88em;
}

.docs-content pre {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 4px;
  padding: 0.65rem 0.85rem;
  overflow-x: auto;
  font-size: 0.88rem;
}

.docs-content pre code {
  padding: 0;
  background: transparent;
  font-size: inherit;
}

.docs-content table {
  width: auto;
  border-collapse: collapse;
  margin: 0.9rem 0 1.1rem;
  font-size: 0.9rem;
}

@media (max-width: 575.98px) {
  .docs-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
}
.docs-content thead {
  background: var(--app-gray-150);
  border-bottom: 2px solid var(--app-gray-500);
}

.docs-content th,
.docs-content td {
  border: 1px solid var(--bs-border-color);
  padding: 0.35rem 0.7rem;
  vertical-align: top;
  text-align: left;
}

.docs-content th {
  font-weight: 600;
  color: var(--app-gray-800);
  white-space: nowrap;
}

.docs-content tbody tr:nth-child(even) {
  background: var(--app-gray-50);
}

.docs-content tbody tr:hover {
  background: var(--app-hover-tint);
}

.docs-content td code {
  background: var(--bs-tertiary-bg);
  padding: 0.05rem 0.3rem;
  border-radius: 3px;
  font-size: 0.88em;
}

.breadcrumb-nav {
  --bs-breadcrumb-divider: '>';
}

.search-page-icon {
  margin-top: 0.15rem;
  color: var(--app-gray-600);
}

.search-page-link {
  overflow-wrap: anywhere;
  color: var(--bs-body-color);
  font-weight: 500;
  text-decoration: none;
}
.search-page-link:hover {
  text-decoration: underline;
}

.sticky-sidebar {
  top: 1rem;
}

.scroll-y-400 {
  max-height: 400px;
  overflow-y: auto;
}

.scroll-y-500 {
  max-height: 500px;
  overflow-y: auto;
}

.progress-thin {
  height: 6px;
}

.example-wrapper {
  margin: 1em auto;
  max-width: 800px;
  width: 95%;
  font: 18px/1.5 sans-serif;
}

.example-wrapper code {
  background: var(--bs-tertiary-bg);
  padding: 2px 6px;
}

.auth-logo {
  max-width: 280px;
}

.auth-submit {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.home-logo {
  max-width: min(100%, 450px);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.captcha-input {
  max-width: 120px;
}

.filter-page .saved-filters-alert:not(:empty) {
  padding: 0.5rem 0.5rem 0;
}
.filter-page .saved-filters-alert:not(:empty) .alert {
  margin-bottom: 0;
  font-size: 0.8rem;
}
.filter-page .saved-filter-body {
  cursor: pointer;
  min-width: 0;
}
.filter-page .saved-filter-description {
  font-size: 0.75rem;
}
.filter-page .saved-filter-badge {
  font-size: 0.65rem;
}
.filter-page .saved-filter-delete {
  padding: 0.15rem 0.4rem;
  font-size: 0.75rem;
}
.filter-page .tree-level-1 {
  border: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
}
.filter-page .tree-level-2 {
  border-left: 2px solid var(--bs-secondary-bg);
  background: var(--bs-tertiary-bg);
}
.filter-page .tree-level-3 {
  border-left: 2px solid var(--bs-border-color);
  background: var(--bs-body-bg);
}
.filter-page .tree-header {
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid var(--bs-border-color);
}
.filter-page .tree-header:hover {
  background-color: var(--bs-secondary-bg);
}
.filter-page .tree-toggle-icon {
  display: inline-block;
  width: 20px;
  text-align: center;
  transition: transform 0.2s;
  font-family: monospace;
  font-weight: bold;
}
.filter-page .tree-toggle-icon.collapsed {
  transform: rotate(-90deg);
}
.filter-page .noUi-connect {
  background: var(--app-gray-600);
}
.filter-page .noUi-handle {
  border: 1px solid var(--app-gray-600);
  background: var(--bs-body-bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.filter-page .noUi-tooltip {
  background: var(--app-gray-700);
  color: var(--bs-body-bg);
  border: none;
}
.filter-page .quantile-histogram {
  height: 50px;
  display: flex;
  gap: 2px;
  align-items: flex-end;
  background: var(--bs-tertiary-bg);
  padding: 5px;
  border-radius: 4px;
}
.filter-page .quantile-bar {
  flex: 1;
  background: var(--app-gray-500);
  transition: background-color 0.2s;
  cursor: pointer;
}
.filter-page .quantile-bar:hover {
  background: var(--app-gray-600);
}
.filter-page .field-controls {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 4px;
}
.filter-page .mus-id-badge {
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
}
.filter-page {
  /* Sidebar sticky custom */
}
.filter-page .sticky-top {
  z-index: 1020;
}
.filter-page {
  /* Progress bar custom */
}
.filter-page .progress-bar {
  font-weight: bold;
  transition: width 0.6s ease;
  font-size: 0.875rem;
}
.filter-page {
  /* Boutons d'action dans sidebar */
}
.filter-page .btn svg {
  vertical-align: middle;
}
.filter-page {
  /* Options désactivées dans les multi-selects */
}
.filter-page select option[disabled] {
  text-decoration: line-through;
  color: var(--app-gray-600) !important;
  font-style: italic;
  background-color: var(--bs-tertiary-bg);
}
.filter-page select option:not([disabled]) {
  text-decoration: none;
  font-style: normal;
}
.filter-page .filter-progress {
  height: 25px;
}
.filter-page .filter-progress-bar {
  width: 0;
}
.filter-page .catalogue-body {
  max-height: 70vh;
  overflow: auto;
}
.filter-page .catalogue-count {
  font-size: 0.75rem;
  color: var(--app-gray-600);
  white-space: nowrap;
}
.filter-page .catalogue-count strong {
  color: var(--bs-body-color);
}
.filter-page .catalogue-column .accordion-header .accordion-button {
  flex: 1;
  gap: 0.5rem;
}
.filter-page .catalogue-column .accordion-header .accordion-button::after {
  margin-left: 0.25rem;
}
.filter-page .catalogue-column .accordion-header .catalogue-group-switch {
  padding: 0 0.75rem 0 2.75rem;
}
.filter-page .catalogue-group-switch {
  font-size: 1rem;
  line-height: 1;
}
.filter-page .catalogue-tree {
  list-style: none;
  margin: 0;
  padding-left: 1rem;
}
.filter-page .accordion-body > .catalogue-tree {
  padding-left: 0;
}
.filter-page .extraction-tasks-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
}
.filter-page .extraction-tasks-toggle > .bi-chevron-right {
  transition: transform 0.15s;
}
.filter-page .extraction-tasks-toggle:not(.collapsed) > .bi-chevron-right {
  transform: rotate(90deg);
}
.filter-page .catalogue-node-toggle {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border: 0;
  background: none;
  padding: 0.15rem 0;
  font-weight: 600;
  text-align: left;
}
.filter-page .catalogue-node-toggle .bi {
  transition: transform 0.15s;
}
.filter-page .catalogue-node-toggle:not(.collapsed) .bi {
  transform: rotate(90deg);
}
.filter-page .catalogue-node .catalogue-group-switch {
  padding-left: 2.75rem;
}
.filter-page .catalogue-variable {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.1rem 0;
  font-size: 0.85rem;
}
.filter-page .catalogue-variable .form-check {
  flex: 1;
  min-width: 0;
}
.filter-page .catalogue-variable label {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.filter-page .catalogue-variable code {
  color: var(--bs-body-color);
  font-weight: 600;
}
.filter-page .catalogue-variable .catalogue-label {
  color: var(--app-gray-700);
}
.filter-page .catalogue-variable.is-disabled label,
.filter-page .catalogue-variable.is-disabled code,
.filter-page .catalogue-variable.is-disabled .catalogue-label {
  color: var(--app-gray-500);
}
.filter-page .catalogue-nature {
  font-size: 0.7rem;
  color: var(--app-gray-600);
  white-space: nowrap;
}
.filter-page .catalogue-page .form-check-input:checked {
  background-color: var(--bs-body-color);
  border-color: var(--bs-body-color);
}
.filter-page .catalogue-page .form-switch .form-check-input:indeterminate {
  background-color: var(--app-gray-500);
  border-color: var(--app-gray-500);
  background-position: center;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}
.filter-page .advanced-filter-meta {
  font-size: 0.8rem;
  color: var(--app-gray-600);
}
.filter-page .advanced-filter-result {
  font-size: 1.1rem;
  font-weight: 600;
}
.filter-page .advanced-filter-empty {
  padding: 2rem;
  border: 1px dashed var(--app-gray-500);
  border-radius: 0.375rem;
  text-align: center;
  color: var(--app-gray-600);
}
.filter-page .advanced-filter-card {
  height: 100%;
}
.filter-page .advanced-filter-card.has-criterion {
  border-color: var(--bs-body-color);
}
.filter-page .advanced-filter-card .card-header {
  background: var(--bs-tertiary-bg);
  font-size: 0.9rem;
}
.filter-page .advanced-filter-card code {
  color: var(--bs-body-color);
  font-weight: 600;
}
.filter-page .advanced-filter-card .min-w-0 {
  min-width: 0;
}
.filter-page .advanced-filter-card.is-disabled .card-header {
  color: var(--app-gray-500);
}
.filter-page .advanced-filter-histogram {
  display: block;
  width: 100%;
  height: 4rem;
  fill: var(--app-gray-700);
}
.filter-page .advanced-filter-histogram .is-out {
  fill: var(--app-gray-400);
}
.filter-page .advanced-filter-criterion {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--bs-secondary-bg);
}
.filter-page .advanced-filter-slider {
  margin: 0.5rem 0.5rem 0.75rem;
}
.filter-page .advanced-filter-values {
  list-style: none;
  margin: 0 0 0.25rem;
  padding: 0;
  font-size: 0.85rem;
}
.filter-page .advanced-filter-values li {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
}
.filter-page .advanced-filter-values li[hidden] {
  display: none;
}
.filter-page .advanced-filter-values.is-long {
  max-height: 12rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.filter-page .advanced-filter-values .form-check-input:checked {
  background-color: var(--bs-body-color);
  border-color: var(--bs-body-color);
}
.filter-page .advanced-filter-value {
  min-width: 0;
  margin-bottom: 0;
}
.filter-page .advanced-filter-value label {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.filter-page .advanced-filter-card.is-updating [data-distribution],
.filter-page .advanced-filter-card.is-updating [data-choices] {
  opacity: 0.5;
}
.filter-page .advanced-filter-values li.is-empty {
  color: var(--app-gray-500);
}
.filter-page .advanced-filter-grades li > .q-badge {
  justify-self: start;
}
.filter-page .advanced-filter-linked {
  font-style: italic;
}
.filter-page .advanced-filter .min-w-0 {
  min-width: 0;
}
.filter-page .advanced-filter code {
  color: var(--bs-body-color);
}
.filter-page .advanced-filter-bar {
  display: block;
  width: 100%;
  height: 0.5rem;
  fill: var(--app-gray-700);
  background: var(--bs-secondary-bg);
}
.filter-page .advanced-filter-picker {
  --bs-offcanvas-width: 32rem;
}
@media (min-width: 576px) {
  .filter-page .advanced-filter-picker .nav {
    flex-wrap: nowrap;
  }
  .filter-page .advanced-filter-picker .nav-link {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    white-space: nowrap;
  }
}
.filter-page .advanced-filter-picker .nav-link {
  font-size: 0.8rem;
  color: var(--bs-body-color);
}
.filter-page .advanced-filter-picker .nav-link.active {
  background-color: var(--bs-body-color);
  color: var(--bs-body-bg);
}
.filter-page .advanced-filter-picker details {
  margin-bottom: 0.25rem;
}
.filter-page .advanced-filter-picker details details {
  margin-left: 1rem;
}
.filter-page .advanced-filter-picker summary {
  cursor: pointer;
}
.filter-page .advanced-filter-picker .form-check-input:checked {
  background-color: var(--bs-body-color);
  border-color: var(--bs-body-color);
}
.filter-page .advanced-filter-pick-list {
  list-style: none;
  margin: 0;
  padding-left: 1rem;
}
.filter-page .advanced-filter-pick {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.filter-page .advanced-filter-pick .form-check {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}
.filter-page .advanced-filter-pick label {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.filter-page .advanced-filter-pick code {
  color: var(--bs-body-color);
  font-weight: 600;
}
.filter-page .advanced-filter-nature {
  font-size: 0.7rem;
  color: var(--app-gray-600);
  white-space: nowrap;
}

.feh-show .tree-container ul {
  list-style: none;
  padding-left: 1.25rem;
}
.feh-show .tree-toggle {
  cursor: pointer;
  user-select: none;
}
.feh-show .tree-toggle::before {
  content: "▶";
  display: inline-block;
  width: 20px;
  color: var(--app-gray-600);
}
.feh-show .expanded > .tree-toggle::before {
  content: "▼";
}
.feh-show .collapse-content {
  display: none;
}
.feh-show .expanded > .collapse-content {
  display: block;
}
.feh-show .colonne-card {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.03);
}
.feh-show .badge-soft {
  background-color: var(--bs-secondary-bg);
  color: var(--app-gray-700);
  font-weight: 500;
}

.member-status-active {
  color: #28a745;
}

.member-status-revoked {
  color: #dc3545;
  text-decoration: line-through;
}

[data-controller~=usr-table] th[data-sortable] {
  cursor: pointer;
  user-select: none;
}
[data-controller~=usr-table] th[data-sortable]::after {
  content: " ↕";
  opacity: 0.3;
}
[data-controller~=usr-table] th.sort-asc::after {
  content: " ↑";
  opacity: 1;
}
[data-controller~=usr-table] th.sort-desc::after {
  content: " ↓";
  opacity: 1;
}

.perf-progress {
  width: 100px;
  height: 20px;
}

.perf-progress-bar {
  width: var(--progress, 0%);
}

.q-coord-map {
  width: 100%;
  height: 320px;
  border: 1px solid var(--bs-border-color);
  border-radius: 4px;
}

.q-texture-chart {
  width: 100%;
  height: 420px;
}

.q-coord-input {
  font-size: 0.85rem;
}

.q-coord-error td {
  color: var(--app-gray-600);
  font-style: italic;
}

.expand-card-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
}

.card.expand-card-fullscreen {
  position: fixed !important;
  inset: 2vh 2vw;
  z-index: 1051;
  margin: 0 !important;
  max-width: none !important;
  width: auto !important;
  height: auto !important;
  overflow: hidden;
}

.card.expand-card-fullscreen .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.card.expand-card-fullscreen [data-role=expand-content] {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.card.expand-card-fullscreen [data-controller=pltTernary] {
  height: 100%;
}

.card.expand-card-fullscreen #ternarySoil {
  max-width: none;
  height: 100%;
}

.expand-card-close {
  display: none;
}

.card.expand-card-fullscreen .expand-card-close {
  display: inline-block;
}

.card.expand-card-fullscreen .expand-card-open {
  display: none;
}

.json-tree-node {
  margin-left: 1em;
}

.json-tree-key {
  cursor: pointer;
  font-weight: bold;
}

.json-tree-toggle {
  cursor: pointer;
  margin-right: 5px;
}

.simulation-progress {
  height: 3px;
}

.simulation-source-menu {
  min-width: 24rem;
  max-height: 70vh;
  overflow-y: auto;
}

.simulation-launch-wsp {
  min-width: 14rem;
  max-width: 22rem;
}

.simulation-usm-section {
  min-width: 0;
}

.simulation-loading {
  cursor: progress;
}
.simulation-loading .simulation-usm-body {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.15s;
}

.simulation-usm-list-closed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 2.5rem;
}

.simulation-usm-list {
  max-height: 78vh;
  overflow-y: auto;
}

.simulation-chart {
  height: 340px;
}

.simulation-chart.simulation-chart-tall {
  height: 560px;
}

.simulation-chart-bar {
  position: absolute;
  top: 4px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bs-body-bg);
  opacity: 0;
  transition: opacity 0.15s;
}

.simulation-chart-col > .border:hover .simulation-chart-bar,
.simulation-chart-bar:focus-within {
  opacity: 1;
}

@media (hover: none) {
  .simulation-chart-bar {
    opacity: 1;
  }
}
.simulation-chart-help {
  position: absolute;
  top: 4px;
  right: 6px;
  z-index: 4;
  line-height: 1;
}

.simulation-has-help .modebar-container {
  right: 22px !important;
}

.simulation-help-popover {
  --bs-popover-max-width: 380px;
  --bs-popover-font-size: 0.8125rem;
}

.simulation-chart-cursor {
  position: absolute;
  z-index: 2;
  width: 2px;
  margin-left: -1px;
  background: var(--bs-emphasis-color);
  pointer-events: none;
}

.simulation-usm-body.simulation-timeline-on {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
}
.simulation-usm-body.simulation-timeline-on > .simulation-usm-main {
  flex: 999 1 640px;
  min-width: 0;
}

.simulation-timeline-column {
  flex: 1 1 240px;
  max-width: 100%;
  padding: 0.75rem;
}
.simulation-timeline-column.is-closed {
  flex: 0 0 48px;
  padding: 0.375rem;
}

.simulation-timeline-column-closed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.simulation-timeline-vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--app-gray-700);
}

.simulation-timeline-usm {
  border-top: 1px solid var(--app-gray-400);
  padding: 0.375rem 0;
}
.simulation-timeline-usm > summary {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  cursor: pointer;
  list-style: none;
}
.simulation-timeline-usm > summary::-webkit-details-marker {
  display: none;
}
.simulation-timeline-usm > summary::before {
  content: "›";
  flex: none;
  width: 0.75rem;
  font-weight: 600;
  transition: transform 0.15s;
}
.simulation-timeline-usm[open] > summary::before {
  transform: rotate(90deg);
}

.simulation-timeline-goto {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2rem;
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--app-gray-400);
  border-radius: 0.25rem;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  font-size: 0.8125rem;
  text-align: left;
}
.simulation-timeline-goto:hover {
  background: var(--app-gray-150);
}

.simulation-timeline-mark {
  display: inline-block;
  flex: none;
  width: 2px;
  height: 0.875rem;
  margin: 0 0.25rem;
  background: var(--app-gray-800);
  vertical-align: middle;
}

.simulation-timeline-swatch {
  display: inline-block;
  width: 1.375rem;
  height: 0.5rem;
  margin-right: 0.375rem;
  vertical-align: middle;
}
.simulation-timeline-swatch.is-temp {
  background: rgba(230, 159, 0, 0.3);
  border-top: 1.5px solid #d55e00;
  border-bottom: 1.5px solid #0072b2;
}
.simulation-timeline-swatch.is-rain {
  width: 0.375rem;
  height: 0.75rem;
  background: rgba(86, 180, 233, 0.6);
}
.simulation-timeline-swatch.is-sum {
  height: 2px;
  background: var(--app-sum-color);
}

.simulation-timeline-apport {
  display: inline-block;
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.25rem;
  vertical-align: middle;
}
.simulation-timeline-apport.is-n {
  background: #cc79a7;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.simulation-timeline-apport.is-irr {
  border-radius: 50%;
  background: #009e73;
}

:root {
  --app-sum-color: #7b3294;
  --app-plant-1: #0072b2;
  --app-plant-2: #d55e00;
  --app-plant-1-text: #0072b2;
  --app-plant-2-text: #a14500;
}

[data-bs-theme=dark] {
  --app-sum-color: #c2a5cf;
  --app-plant-1-text: #56b4e9;
  --app-plant-2-text: #e69f00;
}

.simulation-timeline-obs {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin: 0 0.375rem 0 0.125rem;
  border: 1.5px solid var(--bs-emphasis-color);
  background: var(--bs-body-bg);
  transform: rotate(45deg);
  vertical-align: middle;
}

.simulation-timeline-plant {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 2px;
}
.simulation-timeline-plant.is-p1 {
  background: var(--app-plant-1);
}
.simulation-timeline-plant.is-p2 {
  background: var(--app-plant-2);
}

.simulation-timeline-mark.is-p1 {
  background: var(--app-plant-1);
}
.simulation-timeline-mark.is-p2 {
  background: var(--app-plant-2);
}
.simulation-timeline-mark.is-obs {
  background: none;
  border-left: 2px dashed var(--app-gray-800);
}
.simulation-timeline-mark.is-obs.is-p1 {
  border-left-color: var(--app-plant-1);
}
.simulation-timeline-mark.is-obs.is-p2 {
  border-left-color: var(--app-plant-2);
}

.simulation-timeline-frame {
  position: relative;
}

.simulation-timeline-svg {
  display: block;
  width: 100%;
  height: auto;
}

.simulation-timeline-zoom {
  position: absolute;
  left: calc(5% - 6px);
  width: calc(93% + 12px);
  top: calc(51% - 22px);
  height: 44px;
  margin: 0;
  appearance: none;
  background: transparent;
  pointer-events: none;
}
.simulation-timeline-zoom::-webkit-slider-runnable-track {
  height: 44px;
  background: transparent;
}
.simulation-timeline-zoom::-moz-range-track, .simulation-timeline-zoom::-moz-range-progress {
  background: transparent;
}
.simulation-timeline-zoom::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 44px;
  border: 2px solid var(--bs-body-bg);
  border-radius: 3px;
  background: var(--app-gray-600);
  cursor: ew-resize;
  pointer-events: auto;
}
.simulation-timeline-zoom::-moz-range-thumb {
  width: 8px;
  height: 40px;
  border: 2px solid var(--bs-body-bg);
  border-radius: 3px;
  background: var(--app-gray-600);
  cursor: ew-resize;
  pointer-events: auto;
}
.simulation-timeline-zoom:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--bs-emphasis-color);
}

.simulation-timeline-day {
  display: block;
  box-sizing: border-box;
  min-height: 36px;
  margin-top: -4px;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.simulation-timeline-day::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: var(--app-gray-400);
}
.simulation-timeline-day::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: var(--app-gray-400);
}
.simulation-timeline-day::-moz-range-progress {
  background: transparent;
}
.simulation-timeline-day::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border: 2px solid var(--bs-body-bg);
  border-radius: 50%;
  background: var(--bs-emphasis-color);
  box-shadow: 0 0 0 1px var(--bs-emphasis-color);
}
.simulation-timeline-day::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid var(--bs-body-bg);
  border-radius: 50%;
  background: var(--bs-emphasis-color);
  box-shadow: 0 0 0 1px var(--bs-emphasis-color);
}
.simulation-timeline-day:focus-visible {
  outline: 2px solid var(--bs-emphasis-color);
  outline-offset: 2px;
}

.simulation-timeline-svg .stl-phase {
  fill: var(--app-gray-150);
}
.simulation-timeline-svg .stl-grid {
  stroke: var(--app-gray-150);
  stroke-width: 1;
}
.simulation-timeline-svg .stl-zero {
  stroke: var(--app-gray-500);
  stroke-width: 1;
}
.simulation-timeline-svg .stl-axis {
  stroke: var(--app-gray-500);
  stroke-width: 1;
}
.simulation-timeline-svg .stl-axis-label {
  fill: var(--app-gray-600);
  font-size: 10px;
}
.simulation-timeline-svg .stl-temp-band {
  fill: #e69f00;
  fill-opacity: 0.3;
}
.simulation-timeline-svg .stl-tmax {
  fill: none;
  stroke: #d55e00;
  stroke-width: 1;
}
.simulation-timeline-svg .stl-tmin {
  fill: none;
  stroke: #0072b2;
  stroke-width: 1;
}
.simulation-timeline-svg .stl-rain {
  fill: #56b4e9;
  fill-opacity: 0.6;
}
.simulation-timeline-svg .stl-stage {
  stroke: var(--app-gray-800);
  stroke-width: 1.5;
}
.simulation-timeline-svg .stl-stage-label {
  fill: var(--bs-emphasis-color);
  font-size: 11px;
  font-weight: 600;
}
.simulation-timeline-svg .stl-dim {
  fill: var(--bs-body-bg);
  fill-opacity: 0.65;
}
.simulation-timeline-svg .stl-window {
  fill: none;
  stroke: var(--app-gray-600);
  stroke-width: 1;
}
.simulation-timeline-svg .stl-cursor {
  stroke: var(--bs-emphasis-color);
  stroke-width: 2;
}
.simulation-timeline-svg .stl-sum {
  fill: none;
  stroke: var(--app-sum-color);
  stroke-width: 2;
}
.simulation-timeline-svg .stl-sum-label {
  fill: var(--app-sum-color);
  font-size: 10px;
  paint-order: stroke;
  stroke: var(--bs-body-bg);
  stroke-width: 3px;
}
.simulation-timeline-svg .stl-apport-n {
  fill: #cc79a7;
}
.simulation-timeline-svg .stl-apport-irr {
  fill: #009e73;
}
.simulation-timeline-svg .stl-stage.is-p1, .simulation-timeline-svg .stl-sum.is-p1 {
  stroke: var(--app-plant-1);
}
.simulation-timeline-svg .stl-stage.is-p2, .simulation-timeline-svg .stl-sum.is-p2 {
  stroke: var(--app-plant-2);
}
.simulation-timeline-svg .stl-stage-label.is-p1 {
  fill: var(--app-plant-1-text);
}
.simulation-timeline-svg .stl-stage-label.is-p2 {
  fill: var(--app-plant-2-text);
}
.simulation-timeline-svg .stl-band {
  fill: var(--app-gray-150);
}
.simulation-timeline-svg .stl-band.is-odd {
  fill: var(--app-gray-400);
  fill-opacity: 0.5;
}
.simulation-timeline-svg .stl-band-label {
  fill: var(--bs-emphasis-color);
  font-size: 10px;
  pointer-events: none;
}
.simulation-timeline-svg .stl-limit {
  stroke: var(--app-gray-600);
  stroke-width: 1.2;
  stroke-dasharray: 2 3;
}
.simulation-timeline-svg .stl-limit.is-parcel {
  stroke: var(--app-gray-700);
  stroke-width: 2;
  stroke-dasharray: none;
}
.simulation-timeline-svg .stl-obs {
  fill: var(--bs-body-bg);
  stroke: var(--bs-emphasis-color);
  stroke-width: 1.5;
}
.simulation-timeline-svg .stl-obs.is-p1 {
  stroke: var(--app-plant-1);
}
.simulation-timeline-svg .stl-obs.is-p2 {
  stroke: var(--app-plant-2);
}
.simulation-timeline-svg .stl-stage-label.is-obs-only {
  font-style: italic;
  font-weight: 400;
}
.simulation-timeline-svg .stl-stage-obs {
  stroke: var(--app-gray-800);
  stroke-width: 1.2;
  stroke-dasharray: 3 3;
}
.simulation-timeline-svg .stl-stage-obs.is-p1 {
  stroke: var(--app-plant-1);
}
.simulation-timeline-svg .stl-stage-obs.is-p2 {
  stroke: var(--app-plant-2);
}
.simulation-timeline-svg.is-associated .stl-temp-band {
  fill: var(--app-gray-500);
  fill-opacity: 0.35;
}
.simulation-timeline-svg.is-associated .stl-tmax, .simulation-timeline-svg.is-associated .stl-tmin {
  stroke: var(--app-gray-600);
}
.simulation-timeline-svg.is-associated .stl-rain {
  fill: var(--app-gray-600);
  fill-opacity: 0.45;
}

.is-associated .simulation-timeline-swatch.is-temp {
  background: rgba(173, 181, 189, 0.35);
  border-top-color: var(--app-gray-600);
  border-bottom-color: var(--app-gray-600);
}
.is-associated .simulation-timeline-swatch.is-rain {
  background: var(--app-gray-600);
  opacity: 0.45;
}

.simulation-criteria-chart {
  max-height: 60vh;
  overflow-y: auto;
}

.simulation-criteria-chart-wide {
  max-height: 85vh;
  overflow-x: auto;
}

.simulation-highlight-chip {
  border-left-width: 4px !important;
}

.simulation-small-multiples {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.5rem;
}

.simulation-small-card {
  cursor: pointer;
}
.simulation-small-card:hover {
  border-color: var(--app-gray-600) !important;
}

.simulation-dynamics-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.simulation-dynamics-card {
  min-width: 0;
}

.simulation-dynamics-chart {
  height: 210px;
}

.simulation-dynamics-open {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
  text-align: left;
}
.simulation-dynamics-open:hover, .simulation-dynamics-open:focus-visible {
  color: var(--bs-emphasis-color);
  text-decoration: underline;
}

.simulation-extra-select {
  max-width: 20rem;
}

.simulation-stats {
  max-height: 60vh;
}
.simulation-stats th,
.simulation-stats td {
  white-space: nowrap;
  font-size: 0.8rem;
}
.simulation-stats .simulation-stats-group {
  background-color: var(--app-gray-150);
}
.simulation-stats .simulation-stats-fixed {
  position: sticky;
  left: 0;
  background-color: var(--bs-body-bg);
  z-index: 1;
}

@media print {
  .navbar,
  .footer,
  .breadcrumb-nav {
    display: none !important;
  }
  main {
    padding-top: 0;
  }
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  canvas {
    max-width: 100% !important;
    height: auto !important;
  }
}
@page approach {
  size: A4 landscape;
  margin: 10mm;
}
@media print {
  body:has(.q-approach-page) {
    page: approach;
  }
  .q-approach-page {
    zoom: 0.7;
    max-width: none;
    padding: 0;
  }
  .q-approach-page .card,
  .q-approach-page figure,
  .q-approach-page table,
  .q-approach-page .q-approach-steps > li {
    break-inside: avoid;
  }
  .q-approach-page figure:has(.q-fig2) {
    zoom: 0.72;
    break-inside: auto;
  }
  .q-approach-page .q-ftree li,
  .q-approach-page .q-ftree-line {
    break-inside: avoid;
  }
  .q-approach-page .q-ftree-head,
  .q-approach-page .q-ftree-sub {
    break-after: avoid;
  }
  .q-approach-page h1, .q-approach-page h2, .q-approach-page .card-header {
    break-after: avoid;
  }
  .q-approach-page .card {
    box-shadow: none !important;
  }
}
@media (max-width: 767.98px) {
  .wsp-grid thead {
    display: none;
  }
  .wsp-grid tr {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bs-border-color);
  }
  .wsp-grid td {
    display: block;
    border: 0;
    padding: 0.15rem 0;
  }
  .wsp-grid td.text-end {
    text-align: left !important;
    white-space: normal !important;
    padding-top: 0.4rem;
  }
}
@media (min-width: 1200px) {
  .wsp-grid {
    table-layout: fixed;
    width: 100%;
  }
  .wsp-grid .wsp-grid-versions {
    width: 12rem;
  }
  .wsp-grid .wsp-grid-status {
    width: 9rem;
  }
  .wsp-grid .wsp-grid-qualification {
    width: 9rem;
  }
  .wsp-grid .wsp-grid-actions {
    width: 17rem;
  }
  .wsp-grid td:first-child {
    overflow-wrap: anywhere;
  }
}
@media (min-width: 1400px) {
  .wsp-grid .wsp-grid-actions {
    width: 25rem;
  }
}
@media (max-width: 575.98px) {
  .tree-level-3 {
    margin-left: 0.5rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.5rem !important;
  }
  .tree-level-3 .field-controls {
    padding: 0.5rem !important;
  }
  .tree-level-3 .field-controls .d-flex {
    flex-wrap: wrap;
  }
}
@media (max-width: 767.98px) {
  .stats-bounds-scroll {
    max-height: none;
    overflow: visible;
  }
  .stats-bounds-table thead {
    display: none;
  }
  .stats-bounds-table tbody,
  .stats-bounds-table tr,
  .stats-bounds-table th,
  .stats-bounds-table td {
    display: block;
  }
  .stats-bounds-table tr {
    padding: 0.5rem 0.25rem;
    border-bottom: 1px solid var(--bs-border-color);
  }
  .stats-bounds-table > :not(caption) > tr > * {
    border: 0;
    padding: 0.1rem 0;
    text-align: left !important;
  }
  .stats-bounds-table td {
    white-space: normal;
  }
  .stats-bounds-table td[data-label]::before {
    content: attr(data-label) " : ";
    color: var(--bs-secondary-color);
    font-size: 0.875em;
  }
  .stats-bounds-table td[data-label] > .small {
    display: inline;
    margin-left: 0.35rem;
  }
  .stats-bounds-table td.stats-bounds-status {
    min-width: 0;
  }
  .stats-bounds-table .stats-bounds-label {
    max-width: none;
    white-space: normal;
  }
  .stats-bounds-table .stats-bounds-bar {
    width: 100%;
  }
}
.math-inline math,
.math-display math {
  font-size: 1.15em;
  color: var(--bs-body-color);
}

.math-display {
  display: block;
  margin: 0.25rem 0;
}

:root {
  --bs-link-color: var(--bs-body-color);
  --bs-link-color-rgb: var(--bs-body-color-rgb);
  --bs-link-hover-color: var(--bs-emphasis-color);
  --bs-link-hover-color-rgb: var(--bs-emphasis-color-rgb);
}

a:not(.btn):not(.nav-link):not(.dropdown-item):not(.list-group-item):not(.page-link) {
  text-decoration-color: var(--bs-secondary-color);
}
a:not(.btn):not(.nav-link):not(.dropdown-item):not(.list-group-item):not(.page-link):hover, a:not(.btn):not(.nav-link):not(.dropdown-item):not(.list-group-item):not(.page-link):focus-visible {
  text-decoration-color: currentColor;
}

.nav-tabs,
.nav-underline {
  --bs-nav-link-color: var(--bs-secondary-color);
  --bs-nav-link-hover-color: var(--bs-emphasis-color);
  --bs-nav-underline-link-active-color: var(--bs-emphasis-color);
}
.nav-tabs .nav-link.active,
.nav-underline .nav-link.active {
  font-weight: 600;
}

.nav-pills {
  --bs-nav-pills-link-active-bg: var(--bs-emphasis-color);
  --bs-nav-pills-link-active-color: var(--bs-body-bg);
}

.list-group {
  --bs-list-group-active-bg: var(--bs-emphasis-color);
  --bs-list-group-active-border-color: var(--bs-emphasis-color);
  --bs-list-group-active-color: var(--bs-body-bg);
}

.dropdown-menu {
  --bs-dropdown-link-active-bg: var(--bs-emphasis-color);
  --bs-dropdown-link-active-color: var(--bs-body-bg);
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #212529;
  --bs-btn-border-color: #212529;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #000;
  --bs-btn-hover-border-color: #000;
  --bs-btn-focus-shadow-rgb: 66, 70, 73;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #000;
  --bs-btn-active-border-color: #000;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #212529;
  --bs-btn-disabled-border-color: #212529;
}

.btn-outline-primary {
  --bs-btn-color: #212529;
  --bs-btn-border-color: #212529;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #212529;
  --bs-btn-hover-border-color: #212529;
  --bs-btn-focus-shadow-rgb: 33, 37, 41;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #212529;
  --bs-btn-active-border-color: #212529;
  --bs-btn-disabled-color: #212529;
  --bs-btn-disabled-border-color: #212529;
}

[data-bs-theme=dark] img[src*=IDE-STICS_logo] {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 3px rgba(255, 255, 255, 0.35));
}

[data-bs-theme=dark] .btn-dark,
[data-bs-theme=dark] .btn-primary {
  --bs-btn-color: #000;
  --bs-btn-bg: #dee2e6;
  --bs-btn-border-color: #dee2e6;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #adb5bd;
  --bs-btn-hover-border-color: #adb5bd;
  --bs-btn-focus-shadow-rgb: 222, 226, 230;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #adb5bd;
  --bs-btn-active-border-color: #adb5bd;
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #dee2e6;
  --bs-btn-disabled-border-color: #dee2e6;
}
[data-bs-theme=dark] .btn-outline-dark,
[data-bs-theme=dark] .btn-outline-primary {
  --bs-btn-color: #dee2e6;
  --bs-btn-border-color: #6c757d;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #dee2e6;
  --bs-btn-hover-border-color: #dee2e6;
  --bs-btn-focus-shadow-rgb: 222, 226, 230;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #dee2e6;
  --bs-btn-active-border-color: #dee2e6;
  --bs-btn-disabled-color: #adb5bd;
  --bs-btn-disabled-border-color: #6c757d;
}

[data-bs-theme=dark] .bg-light {
  background-color: var(--bs-tertiary-bg) !important;
}
[data-bs-theme=dark] .text-bg-light {
  background-color: var(--bs-tertiary-bg) !important;
  color: var(--bs-body-color) !important;
}
[data-bs-theme=dark] .text-dark:not(.bg-warning):not(.bg-info) {
  color: var(--bs-body-color) !important;
}
[data-bs-theme=dark] .link-dark {
  color: var(--bs-body-color) !important;
  text-decoration-color: var(--bs-secondary-color) !important;
}
[data-bs-theme=dark] .link-dark:hover, [data-bs-theme=dark] .link-dark:focus {
  color: var(--bs-emphasis-color) !important;
}
[data-bs-theme=dark] .border-dark {
  border-color: var(--app-gray-800) !important;
}
[data-bs-theme=dark] .bg-dark {
  background-color: var(--bs-secondary-bg) !important;
}
[data-bs-theme=dark] .badge.bg-dark,
[data-bs-theme=dark] .text-bg-dark,
[data-bs-theme=dark] .progress-bar.bg-dark {
  background-color: #dee2e6 !important;
  color: #000 !important;
}
[data-bs-theme=dark] .table-light {
  --bs-table-color: var(--bs-emphasis-color);
  --bs-table-bg: var(--bs-tertiary-bg);
  --bs-table-border-color: var(--bs-border-color);
  --bs-table-striped-bg: var(--bs-secondary-bg);
  --bs-table-striped-color: var(--bs-emphasis-color);
  --bs-table-active-bg: var(--bs-secondary-bg);
  --bs-table-active-color: var(--bs-emphasis-color);
  --bs-table-hover-bg: var(--bs-secondary-bg);
  --bs-table-hover-color: var(--bs-emphasis-color);
}
[data-bs-theme=dark] .table-dark {
  --bs-table-bg: var(--bs-secondary-bg);
  --bs-table-border-color: var(--bs-border-color);
}
[data-bs-theme=dark] .btn-light {
  --bs-btn-color: var(--bs-body-color);
  --bs-btn-bg: var(--bs-tertiary-bg);
  --bs-btn-border-color: var(--bs-tertiary-bg);
  --bs-btn-hover-color: var(--bs-emphasis-color);
  --bs-btn-hover-bg: var(--bs-secondary-bg);
  --bs-btn-hover-border-color: var(--bs-secondary-bg);
  --bs-btn-focus-shadow-rgb: 222, 226, 230;
  --bs-btn-active-color: var(--bs-emphasis-color);
  --bs-btn-active-bg: var(--bs-secondary-bg);
  --bs-btn-active-border-color: var(--bs-border-color);
  --bs-btn-disabled-color: var(--bs-secondary-color);
  --bs-btn-disabled-bg: var(--bs-tertiary-bg);
  --bs-btn-disabled-border-color: var(--bs-tertiary-bg);
}

[data-bs-theme=dark] .stats-bounds-row:target > * {
  background: #4d4000;
}
[data-bs-theme=dark] .q-approach-model {
  background: #24332a;
}

.oe-grid-wrap {
  max-height: 70vh;
  overflow: auto;
}

.oe-grid {
  font-size: 0.8rem;
}
.oe-grid thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  white-space: nowrap;
  vertical-align: bottom;
}
.oe-grid .oe-name {
  position: sticky;
  left: 0;
  z-index: 1;
  background-color: var(--bs-tertiary-bg);
  min-width: 10rem;
  max-width: 18rem;
  white-space: normal;
}
.oe-grid thead .oe-name {
  z-index: 3;
}
.oe-grid td.oe-cell {
  min-width: 6rem;
  max-width: 16rem;
  overflow-wrap: anywhere;
}

.oe-cell {
  cursor: pointer;
}
.oe-cell:focus-visible {
  outline: 2px solid var(--bs-body-color);
  outline-offset: -2px;
}
.oe-cell.oe-locked {
  cursor: not-allowed;
  color: var(--bs-secondary-color);
}
.oe-cell.oe-modified {
  background-color: var(--bs-secondary-bg);
  box-shadow: inset 3px 0 0 var(--bs-body-color);
  font-weight: 700;
}
.oe-cell.oe-error {
  font-weight: 700;
}
.oe-cell.oe-error .oe-error-icon {
  color: var(--bs-body-color);
}
.oe-cell.oe-open {
  padding: 0;
}
.oe-cell.oe-open .form-control,
.oe-cell.oe-open .form-select {
  min-width: 8rem;
}

.oe-required {
  margin-left: 0.15rem;
  font-weight: 700;
}

.oe-col-help {
  font-size: inherit;
  font-weight: 600;
}

.oe-col-locked {
  color: var(--bs-secondary-color);
}

@media (min-width: 1200px) {
  .oe-side {
    position: sticky;
    top: 0.5rem;
    max-height: calc(100vh - 1rem);
    overflow-y: auto;
  }
}
.oe-changes .oe-change {
  border-top: 1px solid var(--bs-border-color);
  padding: 0.35rem 0;
}
.oe-changes .oe-change.oe-change-error {
  box-shadow: inset 3px 0 0 var(--bs-body-color);
  padding-left: 0.4rem;
}

.oe-help-values {
  max-height: 12rem;
  overflow-y: auto;
}

.oe-usm-list {
  max-height: 60vh;
  overflow-y: auto;
}

.oe-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem 1rem;
}
@media (min-width: 992px) {
  .oe-fields {
    grid-template-columns: 1fr 1fr;
  }
}

.oe-field {
  display: grid;
  grid-template-columns: minmax(8rem, 2fr) 3fr;
  gap: 0.5rem;
  align-items: start;
  border-bottom: 1px solid var(--bs-secondary-bg);
  padding: 0.15rem 0;
}
.oe-field .oe-cell {
  min-height: 1.5rem;
  padding: 0.1rem 0.3rem;
  overflow-wrap: anywhere;
}

.oe-field-label {
  overflow-wrap: anywhere;
}

.oe-hide-empty .oe-field-empty {
  display: none;
}

@media (max-width: 767.98px) {
  .oe-usm-list {
    flex-direction: row;
    overflow-x: auto;
    max-height: none;
  }
  .oe-usm-list .list-group-item {
    white-space: nowrap;
    border-right: 1px solid var(--bs-border-color);
  }
  .oe-field {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.oe-grid tr.oe-row-deleted th,
.oe-grid tr.oe-row-deleted td {
  text-decoration: line-through;
  color: var(--bs-secondary-color);
}
.oe-grid tr.oe-row-new th {
  box-shadow: inset 3px 0 0 var(--bs-body-color);
}

.ws-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 300px;
  gap: 1rem;
  align-items: start;
}
.ws-shell.ws-side-collapsed {
  grid-template-columns: 210px minmax(0, 1fr) 2.75rem;
}
.ws-shell.ws-side-collapsed .ws-side-tabs,
.ws-shell.ws-side-collapsed .ws-panel {
  display: none;
}
.ws-shell.ws-side-collapsed .ws-rail {
  flex-direction: column;
  align-items: stretch;
}
.ws-shell.ws-side-collapsed .ws-rail-tab {
  display: flex;
}

.ws-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.75rem;
  row-gap: 0.125rem;
}

.ws-hint {
  cursor: help;
  color: var(--bs-secondary-color);
  font-size: 0.9em;
}
.ws-hint:hover, .ws-hint:focus {
  color: var(--bs-emphasis-color);
}

.ws-rail {
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}
.ws-rail .btn {
  color: var(--bs-body-color);
}

.ws-rail-tab {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 0.25rem 0;
  line-height: 1.1;
}

.ws-rail-count {
  font-size: 0.7rem;
  font-weight: 700;
}

@media (max-width: 1199.98px) {
  .ws-shell,
  .ws-shell.ws-side-collapsed {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .ws-side {
    grid-column: 1/-1;
  }
  .ws-shell.ws-side-collapsed .ws-rail {
    flex-direction: row;
    justify-content: flex-start;
  }
}
.ws-card.ws-deleted .card-body {
  text-decoration: line-through;
  opacity: 0.7;
}

@media (max-width: 767.98px) {
  .ws-shell,
  .ws-shell.ws-side-collapsed {
    grid-template-columns: minmax(0, 1fr);
  }
}
.ws-picker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 32rem;
}
.ws-picker select {
  min-width: 0;
}

.ws-nav {
  position: sticky;
  top: 4rem;
}
.ws-nav .ws-nav-group {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bs-secondary-color);
  margin: 0.5rem 0 0.25rem;
}
.ws-nav .ws-nav-link {
  display: block;
  padding: 0.3rem 0.5rem;
  border-radius: 0.25rem;
  color: var(--bs-body-color);
  text-decoration: none;
}
.ws-nav .ws-nav-link:hover {
  background: var(--bs-secondary-bg);
  color: var(--bs-emphasis-color);
}
.ws-nav .ws-nav-link.active {
  background: var(--bs-body-color);
  color: var(--bs-body-bg);
}
.ws-nav .ws-nav-link.active .badge {
  color: var(--bs-body-color);
}
.ws-nav .ws-nav-link.ws-absent {
  color: var(--bs-secondary-color);
}

@media (max-width: 767.98px) {
  .ws-nav {
    position: static;
  }
  .ws-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
}
.ws-main {
  min-width: 0;
}

.ws-side {
  position: sticky;
  top: 4rem;
  max-height: calc(100vh - 4.5rem);
  overflow: auto;
}
.ws-side .ws-panel {
  padding: 0.5rem 0.25rem;
}
.ws-side .nav-link {
  color: var(--bs-body-color);
}
.ws-side .nav-link.active {
  font-weight: 700;
}

@media (max-width: 1199.98px) {
  .ws-side {
    position: static;
    max-height: none;
  }
}
.ws-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.ws-card {
  margin-bottom: 0.75rem;
}
.ws-card .ws-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--bs-tertiary-bg);
}

.ws-progress {
  width: 5rem;
  height: 0.5rem;
  vertical-align: middle;
  accent-color: var(--bs-body-color);
}

.ws-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 400;
  padding: 0 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.25rem;
  color: var(--bs-secondary-color);
  font-family: var(--bs-font-monospace);
}

.ws-file {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--bs-secondary-color);
  font-family: var(--bs-font-monospace);
  word-break: break-all;
}

.ws-row {
  --ws-name-w: 10rem;
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.75rem;
  row-gap: 0.15rem;
  align-items: baseline;
  padding: 0.15rem 0;
  border-bottom: 1px solid var(--bs-secondary-bg);
}
.ws-row > .ws-name {
  flex: 0 0 var(--ws-name-w);
  max-width: var(--ws-name-w);
}
.ws-row > .ws-val {
  flex: 100 1 0;
  min-width: 9rem;
  max-width: 15.75rem;
}
.ws-row > .ws-label {
  flex: 1 1 8rem;
  min-width: 8rem;
}
.ws-row > .ws-chip {
  min-width: 0;
  flex-basis: calc(100% - var(--ws-name-w) - 0.75rem);
  margin-left: calc(var(--ws-name-w) + 0.75rem);
  justify-self: start;
  margin-bottom: 0.15rem;
}
.ws-row > .ws-label:empty {
  display: none;
}
.ws-row.ws-off {
  color: var(--bs-secondary-color);
}

@media (max-width: 575.98px) {
  .ws-row {
    --ws-name-w: 40%;
  }
  .ws-row > .ws-chip {
    flex-basis: 100%;
    margin-left: 0;
  }
}
.ws-name {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  font-family: var(--bs-font-monospace);
  font-size: 0.85rem;
  color: var(--bs-body-color);
  overflow-wrap: anywhere;
}
.ws-name:hover, .ws-name:focus-visible {
  text-decoration: underline;
  color: var(--bs-emphasis-color);
}

.ws-open {
  color: var(--bs-body-color);
}
.ws-open:hover, .ws-open:focus {
  color: var(--bs-emphasis-color);
}

.ws-val {
  overflow-wrap: anywhere;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.35rem;
}
.ws-val > .ws-message,
.ws-val > .ws-offnote {
  flex-basis: 100%;
}

.ws-page {
  --ws-field-h: calc(1.7rem + 2px);
}

.ws-code,
.ws-date,
.ws-unit {
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
}

.ws-empty {
  color: var(--bs-secondary-color);
}

.ws-missing {
  background-image: repeating-linear-gradient(135deg, rgba(var(--bs-body-color-rgb), 0.07) 0 4px, transparent 4px 8px);
}
.ws-missing .ws-empty {
  font-weight: 700;
  color: var(--bs-body-color);
}

.ws-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  padding: 0.05rem 0.4rem;
  border: 1px dashed var(--bs-secondary-border-subtle);
  border-radius: 0.25rem;
  background: var(--bs-body-bg);
}
.ws-chip .ws-name {
  font-size: 0.8rem;
  font-weight: 700;
}

.ws-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-left: 0.75rem;
  font-weight: 400;
}

.ws-section {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
  margin-bottom: 0.6rem;
}
.ws-section > summary {
  padding: 0.35rem 0.6rem;
  font-weight: 700;
  background: var(--bs-tertiary-bg);
  border-radius: 0.375rem;
}
.ws-section .ws-section-body {
  padding: 0.35rem 0.6rem;
}

.ws-option {
  border-left: 3px solid var(--bs-body-color);
  padding: 0.2rem 0 0.2rem 0.6rem;
  margin: 0.4rem 0;
}
.ws-option.ws-off {
  border-left-color: var(--bs-secondary-border-subtle);
  color: var(--bs-secondary-color);
}
.ws-option .ws-option-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
}
.ws-option .ws-option-head .ws-name {
  font-family: inherit;
  font-weight: 700;
}
.ws-option .ws-branch {
  padding-left: 0.5rem;
}
.ws-option .ws-branch.ws-off {
  border-left: 1px dotted var(--bs-secondary-border-subtle);
  color: var(--bs-secondary-color);
}

.ws-offnote {
  color: var(--bs-secondary-color);
  margin: 0.15rem 0;
}

.ws-table {
  margin: 0.5rem 0;
}
.ws-table .ws-table-caption {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.ws-scroll {
  overflow: auto;
  max-width: 100%;
}
.ws-scroll.ws-scroll-tall {
  max-height: 60vh;
}

.ws-grid {
  margin-bottom: 0;
  font-size: 0.8rem;
}
.ws-grid th,
.ws-grid td {
  white-space: nowrap;
}
.ws-grid thead th {
  position: sticky;
  top: 0;
  background: var(--bs-body-bg);
  vertical-align: bottom;
}
.ws-grid .ws-method-row th {
  top: 2.6rem;
  font-weight: 400;
  background: var(--bs-tertiary-bg);
}
.ws-grid .ws-method-row .ws-chip {
  display: inline-grid;
  grid-template-columns: auto auto;
  justify-content: start;
  align-items: center;
}
.ws-grid .ws-method-row .ws-chip.ws-chip > .ws-input,
.ws-grid .ws-method-row .ws-chip > .ws-message {
  grid-column: 1/-1;
  width: 8rem;
}
.ws-grid tbody th {
  font-weight: 400;
}
.ws-grid tr.ws-off td,
.ws-grid tr.ws-off th {
  color: var(--bs-secondary-color);
}

.ws-obs-grid td.ws-obs {
  cursor: pointer;
  text-align: right;
}
.ws-obs-grid td.ws-obs:hover {
  background: var(--bs-secondary-bg);
}
.ws-obs-grid td.ws-obs.ws-selected {
  box-shadow: inset 0 0 0 2px var(--bs-body-color);
}

.ws-chart {
  width: 100%;
  height: auto;
  max-height: 220px;
}
.ws-chart .ws-chart-period {
  fill: var(--bs-secondary-bg);
}
.ws-chart .ws-chart-axis {
  stroke: var(--bs-secondary-border-subtle);
}
.ws-chart .ws-chart-line {
  fill: none;
  stroke: var(--bs-body-color);
  stroke-width: 1.5;
}
.ws-chart .ws-chart-point {
  fill: var(--bs-body-bg);
  stroke: var(--bs-body-color);
}
.ws-chart .ws-chart-selected {
  fill: var(--bs-body-color);
}
.ws-chart .ws-chart-tick {
  font-size: 11px;
  fill: var(--bs-secondary-color);
}

.ws-dl dt {
  font-weight: 700;
  margin-top: 0.35rem;
}
.ws-dl dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.ws-legend {
  color: var(--bs-secondary-color);
}

.ws-flash {
  outline: 2px solid var(--bs-body-color);
  outline-offset: 2px;
  transition: outline-color 0.3s;
}

.ws-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.ws-search {
  position: relative;
  flex: 1 1 18rem;
  max-width: 32rem;
}
.ws-search > .bi-search {
  position: absolute;
  left: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bs-secondary-color);
}
.ws-search input {
  padding-left: 1.8rem;
}

.ws-results {
  position: absolute;
  z-index: 1020;
  left: 0;
  right: 0;
  top: 100%;
  max-height: 60vh;
  overflow: auto;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
  box-shadow: var(--bs-box-shadow);
}

.ws-result {
  display: block;
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  color: var(--bs-body-color);
  text-decoration: none;
  border-bottom: 1px solid var(--bs-secondary-bg);
}
.ws-result:hover, .ws-result:focus {
  background: var(--bs-secondary-bg);
  color: var(--bs-emphasis-color);
}

.ws-input {
  display: inline-block;
  width: auto;
  min-width: 5rem;
  max-width: 100%;
  font-size: 0.8rem;
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}
.ws-input.form-select {
  min-width: 7rem;
}
.ws-input.ws-modified {
  background-color: var(--bs-secondary-bg);
  box-shadow: inset 3px 0 0 var(--bs-body-color);
  font-weight: 700;
}
.ws-input.ws-warning {
  border: 1px dashed var(--bs-body-color);
}
.ws-input.ws-error {
  border: 2px solid var(--bs-body-color);
  font-weight: 700;
}
.ws-input.ws-pending {
  border-style: dotted;
}
.ws-input.ws-input-missing {
  background-image: repeating-linear-gradient(135deg, rgba(var(--bs-body-color-rgb), 0.08) 0 4px, transparent 4px 8px);
}
.ws-input:focus {
  border-color: var(--bs-body-color);
  box-shadow: 0 0 0 0.15rem rgba(var(--bs-body-color-rgb), 0.25);
}

.ws-main .ws-input {
  width: auto;
  max-width: 100%;
}

.ws-main .ws-row .ws-val > .ws-input,
.ws-main .ws-chip > .ws-input {
  width: 14rem;
  min-width: 0;
  max-width: 100%;
  height: var(--ws-field-h);
  min-height: var(--ws-field-h);
}

.ws-main .ws-grid .ws-input {
  width: 6.5rem;
  min-width: 0;
}

.ws-main .ws-chip {
  max-width: 100%;
}
.ws-main .ws-chip > .ws-name {
  flex: 0 0 auto;
}
.ws-main .ws-chip.ws-chip > .ws-input {
  flex: 1 1 8rem;
  width: auto;
  min-width: 6rem;
}
.ws-main .ws-chip > .ws-message {
  flex-basis: 100%;
}

.ws-input-date {
  display: inline-block;
  width: auto;
  margin-left: 0;
  font-size: 0.75rem;
  padding: 0.05rem 0.25rem;
}

.ws-message {
  display: block;
  font-size: 0.72rem;
  color: var(--bs-body-color);
}
.ws-message:empty {
  display: none;
}

.ws-input.ws-error + .ws-message,
.ws-input.ws-error ~ .ws-message {
  font-weight: 700;
}

.ws-lock {
  color: var(--bs-secondary-color);
  font-size: 0.75rem;
}

.ws-keys li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  column-gap: 0.4rem;
  align-items: baseline;
  margin-bottom: 0.2rem;
}
.ws-keys li.ws-key-free {
  display: block;
}

.ws-keys kbd {
  font-size: 0.7rem;
  padding: 0 0.25rem;
  background: var(--bs-secondary-bg);
  color: var(--bs-body-color);
  border: 1px solid var(--bs-secondary-border-subtle);
}

.ws-change {
  position: relative;
  padding: 0.35rem 2.2rem 0.35rem 0;
  border-bottom: 1px solid var(--bs-secondary-bg);
  overflow-wrap: anywhere;
}
.ws-change .ws-revert {
  position: absolute;
  right: 0;
  top: 0.35rem;
  padding: 0 0.35rem;
}

.ws-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.4rem;
}
.ws-filters .btn {
  padding: 0 0.4rem;
  font-size: 0.75rem;
}

.ws-check {
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
  padding: 0.3rem 0.1rem;
  font-size: 0.78rem;
  color: var(--bs-body-color);
  text-decoration: none;
  border-bottom: 1px solid var(--bs-secondary-bg);
  overflow-wrap: anywhere;
}
.ws-check:hover, .ws-check:focus {
  background: var(--bs-secondary-bg);
  color: var(--bs-emphasis-color);
}
.ws-check.ws-check-blocking {
  font-weight: 700;
}
.ws-check.ws-check-info {
  color: var(--bs-secondary-color);
}

.ws-badges {
  display: inline-flex;
  gap: 0.2rem;
  margin-left: 0.25rem;
}
.ws-badges .badge {
  font-weight: 400;
}

.ws-row-actions {
  white-space: nowrap;
}
.ws-row-actions .btn {
  padding: 0 0.3rem;
  font-size: 0.75rem;
}

.ws-obs-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  margin: 0.35rem 0;
}
.ws-obs-tools label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.ws-obs-tools input[type=text] {
  width: 11rem;
}

.ws-col-del {
  color: var(--bs-secondary-color);
  font-size: 0.7rem;
}
.ws-col-del:hover, .ws-col-del:focus {
  color: var(--bs-emphasis-color);
}

.ws-copy > summary {
  cursor: pointer;
}
.ws-copy .ws-copy-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  margin-top: 0.35rem;
}
.ws-copy .ws-copy-body label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.ws-copy .ws-copy-body input[type=text] {
  width: 14rem;
}

.ws-compare .ws-mine {
  box-shadow: inset 2px 0 0 var(--bs-body-color), inset -2px 0 0 var(--bs-body-color);
}
.ws-compare thead th.ws-mine {
  font-weight: 700;
}
.ws-compare td.ws-far {
  font-weight: 700;
}

.ws-varieties .ws-group-row th {
  background: var(--bs-tertiary-bg);
  font-weight: 700;
  position: static;
}

.ws-chart .ws-chart-sim {
  fill: none;
  stroke: var(--bs-secondary-color);
  stroke-width: 2.5;
}
.ws-chart .ws-chart-dep {
  fill: none;
  stroke: var(--bs-secondary-color);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
}

.ws-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin-top: 0.25rem;
}
.ws-chart-legend .ws-legend-obs::before {
  content: "● ";
}
.ws-chart-legend .ws-chart-sim-legend::before {
  content: "━ ";
}
.ws-chart-legend .ws-chart-dep-legend::before {
  content: "┅ ";
}

.ws-sim-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
}

/* ========================================
   Parcours de découverte (templates/onboarding/, contrôleur parcours)
   ========================================
   Les étapes sont écrites en liste, branche par branche (ordre de lecture) ; la feuille de style
   les place sur la carte en absolu (variables --x et --y, posées par le contrôleur), au-dessus du
   tracé SVG. Sur un téléphone en portrait, la carte défile de côté (.parcours-defile).
   Une couleur par branche (jamais de rouge) ; vert pour une étape comprise. */
.parcours-page,
.carte-param {
  --parcours-depart: #6f42c1;
  --parcours-contribuer: #d9650b;
  --parcours-explorer: #0b6bcb;
  --parcours-evaluer: #a87800;
  --parcours-compris: #198754;
  --parcours-pastille: 3rem;
  --parcours-halo: #f6f1e7;
  --parcours-ciel-haut: #e3ebee;
  --parcours-ciel-bas: #f4f1e8;
  --parcours-lointain: #b4c2a3;
  --parcours-la: #9c7752;
  --parcours-motte: #86643f;
  --parcours-motte-lumiere: #b08b62;
  --parcours-paille: #dcc78f;
  --parcours-semelle: #6e5034;
  --parcours-s: #b9976c;
  --parcours-fissure: #8d6e4b;
  --parcours-pore: #6e5236;
  --parcours-tache: #b07a3a;
  --parcours-galerie: #d3bb93;
  --parcours-galerie-creux: #7a5c3d;
  --parcours-c: #d6c4a0;
  --parcours-caillou: #eee6d3;
  --parcours-caillou-ombre: #b6a582;
  --parcours-racine: #fbf5e8;
  --parcours-racine-ecorce: #7d5e3e;
  --parcours-laterale: #f6eedc;
  --parcours-tige: #4f7b39;
  --parcours-feuille: #5f8f45;
  --parcours-feuille-colza: #5d8a76;
  --parcours-bouton: #c9a227;
  --parcours-nervure: #8db471;
  --parcours-epi: #c9a64e;
  --parcours-spathe: #8fae62;
  --parcours-soies: #a8794a;
  --parcours-fleur: #e0bb1f;
  --parcours-residu: #cdb77e;
  --parcours-ruban: #fdfcf6;
  --parcours-ruban-fonce: #e9c449;
  --parcours-encre: #3b3128;
  --carte-in: #0b4f8a;
  --carte-out: #a8650f;
  --carte-metal: #6d737a;
  --carte-abri: #fbfaf6;
  --carte-eau: #7fa7c4;
  --carte-sature: rgba(127, 167, 196, 0.35);
  --carte-soleil: rgba(201, 162, 39, 0.35);
  --carte-voile: rgba(251, 250, 246, 0.94);
  --carte-etiquette: #ffffff;
  padding-bottom: 1.5rem;
}

[data-bs-theme=dark] .parcours-page,
[data-bs-theme=dark] .carte-param {
  --carte-in: #7fb2e5;
  --carte-out: #e2a650;
  --carte-metal: #9aa1a8;
  --carte-abri: #2b2a26;
  --carte-eau: #4f7c9c;
  --carte-sature: rgba(79, 124, 156, 0.35);
  --carte-soleil: rgba(227, 179, 65, 0.3);
  --carte-voile: rgba(24, 22, 19, 0.94);
  --carte-etiquette: #1f1d1a;
  --parcours-depart: #a98eda;
  --parcours-contribuer: #f59b4f;
  --parcours-explorer: #6ea8fe;
  --parcours-evaluer: #e3b341;
  --parcours-compris: #3fb37f;
  --parcours-halo: #1c1814;
  --parcours-ciel-haut: #0f1519;
  --parcours-ciel-bas: #1b1d1b;
  --parcours-lointain: #2a3326;
  --parcours-la: #4f3b29;
  --parcours-motte: #3e2e1f;
  --parcours-motte-lumiere: #5f4832;
  --parcours-paille: #7f7048;
  --parcours-semelle: #2c2016;
  --parcours-s: #5f4b34;
  --parcours-fissure: #43342a;
  --parcours-pore: #2e241a;
  --parcours-tache: #7f5a2c;
  --parcours-galerie: #7a6448;
  --parcours-galerie-creux: #2a1f15;
  --parcours-c: #6c5e48;
  --parcours-caillou: #8f836d;
  --parcours-caillou-ombre: #4b4335;
  --parcours-racine: #e6dac2;
  --parcours-racine-ecorce: #241b12;
  --parcours-laterale: #c9bc9f;
  --parcours-tige: #6f9f5a;
  --parcours-feuille: #557f43;
  --parcours-feuille-colza: #557d6d;
  --parcours-bouton: #a8871f;
  --parcours-nervure: #7ea468;
  --parcours-epi: #b8994a;
  --parcours-spathe: #6b8a4a;
  --parcours-soies: #8a6540;
  --parcours-fleur: #cfae2a;
  --parcours-residu: #6f6343;
  --parcours-ruban: #d9d3c4;
  --parcours-ruban-fonce: #b2952f;
  --parcours-encre: #e6dccb;
}

.parcours-branche--depart {
  --parcours-couleur: var(--parcours-depart);
}

.parcours-branche--contribuer {
  --parcours-couleur: var(--parcours-contribuer);
}

.parcours-branche--explorer {
  --parcours-couleur: var(--parcours-explorer);
}

.parcours-branche--evaluer {
  --parcours-couleur: var(--parcours-evaluer);
}

.parcours-progression {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
  max-width: 36rem;
  margin-bottom: 1rem;
}

.parcours-progression__piste {
  flex: 1 1 12rem;
  height: 0.6rem;
}

.parcours-progression__barre {
  width: var(--progression, 0%);
  background-color: var(--parcours-compris);
  transition: width 0.4s ease;
}

.parcours-progression__compteur {
  white-space: nowrap;
}

.parcours-carte__traces {
  display: none;
}

.parcours-branche {
  margin-bottom: 1rem;
}

.parcours-branche__titre {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--parcours-couleur);
  margin-bottom: 0.5rem;
}

.parcours-branche__etapes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.parcours-etape {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.25rem;
  border: 0;
  background: none;
  color: var(--bs-body-color);
  text-align: left;
  border-radius: 0.5rem;
}
.parcours-etape:hover .parcours-etape__nom, .parcours-etape:focus-visible .parcours-etape__nom {
  color: var(--bs-emphasis-color);
  text-decoration: underline;
}
.parcours-etape:focus-visible {
  outline: 2px solid var(--parcours-couleur);
  outline-offset: 2px;
}

.parcours-etape__pastille {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--parcours-pastille);
  height: var(--parcours-pastille);
  border-radius: 50%;
  border: 3px solid var(--parcours-couleur);
  background-color: var(--bs-body-bg);
  color: var(--parcours-couleur);
  font-size: 1.25rem;
  transition: transform 0.15s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.parcours-etape__pastille::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 3px solid var(--parcours-couleur);
  opacity: 0;
  animation: parcours-respire 2.4s ease-out infinite;
}

.parcours-etape:hover .parcours-etape__pastille,
.parcours-etape.is-courante .parcours-etape__pastille {
  transform: scale(1.12);
}

.parcours-etape.is-courante .parcours-etape__pastille {
  box-shadow: 0 0 0 4px var(--bs-body-bg), 0 0 0 7px var(--parcours-couleur);
}

.parcours-etape__coche,
.parcours-etape__etat--compris {
  display: none;
}

.parcours-etape.is-compris .parcours-etape__pastille {
  background-color: var(--parcours-compris);
  border-color: var(--parcours-compris);
  color: #fff;
}
.parcours-etape.is-compris .parcours-etape__pastille::after {
  display: none;
}
.parcours-etape.is-compris .parcours-etape__icone,
.parcours-etape.is-compris .parcours-etape__etat--a-decouvrir {
  display: none;
}
.parcours-etape.is-compris .parcours-etape__coche,
.parcours-etape.is-compris .parcours-etape__etat--compris {
  display: inline;
}

.parcours-etape__nom {
  font-weight: 600;
}

@keyframes parcours-respire {
  0% {
    transform: scale(1);
    opacity: 0.35;
  }
  70%, 100% {
    transform: scale(1.45);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .parcours-etape__pastille::after {
    animation: none;
  }
  .parcours-etape__pastille,
  .parcours-progression__barre {
    transition: none;
  }
}
.parcours-defile {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.parcours-glisser {
  margin: 0.5rem 0 0;
  text-align: center;
}

@media (min-width: 768px) {
  .parcours-glisser {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .parcours-defile {
    margin-inline: calc(-1 * var(--bs-gutter-x, 0.75rem));
    padding-bottom: 0.25rem;
  }
  .parcours-defile .parcours-carte {
    min-width: 680px;
    max-width: none;
    max-height: none;
    border-radius: 0;
    border-inline: 0;
  }
}
.parcours-carte {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 16/9;
  max-height: max(75vh, 22rem);
  max-width: calc(max(75vh, 22rem) * 16 / 9);
  margin: 0 auto;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  background-color: var(--parcours-ciel-bas);
  overflow: hidden;
}

.parcours-carte__traces {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.parcours-branche,
.parcours-branche__etapes,
.parcours-branche__etape {
  display: contents;
}

.parcours-etape,
.parcours-branche__titre {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
}

.parcours-etape {
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: auto;
  max-width: 9rem;
  padding: 0;
  text-align: center;
  transform: translate(-50%, calc(var(--parcours-pastille) / -2));
}

.parcours-etape__nom {
  line-height: 1.2;
  text-shadow: 0 0 2px var(--parcours-halo), 0 0 2px var(--parcours-halo), 0 0 4px var(--parcours-halo), 0 0 4px var(--parcours-halo);
}

.parcours-etape__pastille {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.parcours-branche__titre {
  margin: 0;
  white-space: nowrap;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-shadow: 0 0 2px var(--parcours-halo), 0 0 2px var(--parcours-halo), 0 0 5px var(--parcours-halo), 0 0 5px var(--parcours-halo);
  transform: translateY(-50%);
}

.parcours-carte {
  --parcours-pastille: clamp(1.75rem, 4cqw, 3rem);
}
.parcours-carte .parcours-etape__pastille {
  font-size: clamp(0.85rem, 1.65cqw, 1.25rem);
  border-width: clamp(2px, 0.25cqw, 3px);
}
.parcours-carte .parcours-etape {
  max-width: clamp(5rem, 12cqw, 9rem);
}
.parcours-carte .parcours-etape__nom {
  font-size: clamp(0.6rem, 1.15cqw, 0.875rem);
}
.parcours-carte .parcours-branche__titre {
  font-size: clamp(0.55rem, 1.1cqw, 0.85rem);
}
.parcours-carte .parcours-ici {
  font-size: clamp(1.1rem, 2.6cqw, 2rem);
}

.parcours-ici {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  z-index: 2;
  pointer-events: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--bs-emphasis-color);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
  transform: translate(-50%, calc(-1.75 * var(--parcours-pastille)));
  transition: left 0.6s ease, top 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  .parcours-ici {
    transition: none;
  }
}
.parcours-sol-ciel-haut {
  stop-color: var(--parcours-ciel-haut);
}

.parcours-sol-ciel-bas {
  stop-color: var(--parcours-ciel-bas);
}

.parcours-sol-lointain {
  fill: var(--parcours-lointain);
}

.parcours-sol-la {
  fill: var(--parcours-la);
}

.parcours-sol-s {
  fill: var(--parcours-s);
}

.parcours-sol-c {
  fill: var(--parcours-c);
}

.parcours-sol-motte {
  fill: var(--parcours-motte);
}

.parcours-sol-motte-lumiere {
  fill: var(--parcours-motte-lumiere);
  opacity: 0.7;
}

.parcours-sol-paille {
  stroke: var(--parcours-paille);
  stroke-width: 2;
  stroke-linecap: round;
}

.parcours-sol-semelle {
  fill: none;
  stroke: var(--parcours-semelle);
  stroke-width: 7;
  opacity: 0.55;
}

.parcours-sol-fissure {
  fill: none;
  stroke: var(--parcours-fissure);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.parcours-sol-pore {
  fill: var(--parcours-pore);
}

.parcours-sol-tache {
  fill: var(--parcours-tache);
  opacity: 0.55;
}

.parcours-sol-galerie {
  fill: none;
  stroke: var(--parcours-galerie);
  stroke-width: 8;
  stroke-linecap: round;
}

.parcours-sol-galerie-creux {
  fill: none;
  stroke: var(--parcours-galerie-creux);
  stroke-width: 3;
  stroke-linecap: round;
}

.parcours-sol-caillou {
  fill: var(--parcours-caillou);
}

.parcours-sol-caillou-ombre {
  fill: var(--parcours-caillou-ombre);
}

.parcours-sol-seminale,
.parcours-sol-pivot,
.parcours-sol-laterale,
.parcours-sol-ramifiee,
.parcours-sol-radicelle,
.parcours-sol-ancrage {
  fill: none;
  stroke-linecap: round;
}

.parcours-sol-seminale {
  stroke: var(--parcours-laterale);
  stroke-width: 2.2;
}

.parcours-sol-seminale--pointe {
  stroke-width: 1.5;
}

.parcours-sol-pivot {
  stroke: var(--parcours-racine);
  stroke-width: 6;
}

.parcours-sol-pivot--colza {
  stroke-width: 9;
}

.parcours-sol-laterale {
  stroke: var(--parcours-laterale);
  stroke-width: 1.5;
  opacity: 0.9;
}

.parcours-sol-ramifiee {
  stroke: var(--parcours-laterale);
  stroke-width: 1.05;
  opacity: 0.85;
}

.parcours-sol-radicelle {
  stroke: var(--parcours-laterale);
  stroke-width: 0.65;
  opacity: 0.75;
}

.parcours-sol-ancrage {
  stroke: var(--parcours-tige);
  stroke-width: 3;
}

.parcours-sol-tige {
  fill: none;
  stroke: var(--parcours-tige);
  stroke-width: 2.6;
  stroke-linecap: round;
}

.parcours-sol-tige--mais {
  stroke-width: 5;
}

.parcours-sol-noeud {
  stroke: var(--parcours-nervure);
  stroke-width: 2;
}

.parcours-sol-feuille {
  fill: var(--parcours-feuille);
}

.parcours-sol-feuille-fine {
  fill: none;
  stroke: var(--parcours-feuille);
  stroke-width: 3;
  stroke-linecap: round;
}

.parcours-sol-feuille-fine--ble {
  stroke-width: 2;
}

.parcours-sol-feuille--colza {
  fill: var(--parcours-feuille-colza);
}

.parcours-sol-tige--ble {
  stroke-width: 1.6;
}

.parcours-sol-tige--grappe {
  stroke-width: 1.6;
}

.parcours-sol-nervure {
  fill: none;
  stroke: var(--parcours-nervure);
  stroke-width: 1.2;
}

.parcours-sol-epi {
  fill: var(--parcours-epi);
}

.parcours-sol-rachis {
  stroke: var(--parcours-epi);
  stroke-width: 1.4;
}

.parcours-sol-spathe {
  fill: var(--parcours-spathe);
}

.parcours-sol-soies {
  fill: none;
  stroke: var(--parcours-soies);
  stroke-width: 1.4;
}

.parcours-sol-panicule {
  fill: none;
  stroke: var(--parcours-epi);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.parcours-sol-panicule--branche {
  stroke-width: 1.6;
  stroke-dasharray: 2.5 1.2;
}

.parcours-sol-silique {
  fill: none;
  stroke: var(--parcours-tige);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.parcours-sol-fleur {
  fill: var(--parcours-fleur);
}

.parcours-sol-bouton {
  fill: var(--parcours-bouton);
}

.parcours-sol-note--echelle {
  font-size: 14px;
}

.parcours-sol-residu {
  stroke: var(--parcours-residu);
  stroke-width: 2;
  stroke-linecap: round;
}

.parcours-sol-ruban {
  fill: var(--parcours-ruban);
  stroke: var(--parcours-encre);
  stroke-width: 1;
}

.parcours-sol-ruban--fonce {
  fill: var(--parcours-ruban-fonce);
}

.parcours-sol-notes text,
.parcours-sol-cote {
  fill: var(--parcours-encre);
  paint-order: stroke;
  stroke: var(--parcours-halo);
  stroke-width: 5px;
  stroke-linejoin: round;
}

.parcours-sol-cote {
  font-size: 18px;
  dominant-baseline: middle;
}

.parcours-sol-horizon {
  font-size: 20px;
  font-weight: 700;
}

.parcours-sol-note {
  font-size: 17px;
  font-style: italic;
}

.parcours-sol-latin {
  font-size: 19px;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
}

.parcours-racine path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.parcours-racine__ecorce {
  stroke: var(--parcours-racine-ecorce);
  stroke-width: 14;
}

.parcours-racine__corps {
  stroke: var(--parcours-racine);
  stroke-width: 10;
}

.parcours-racine__coeur {
  stroke: var(--parcours-compris);
  stroke-width: 3.5;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.parcours-racine.is-parcourue .parcours-racine__coeur {
  opacity: 1;
}

.parcours-radicelle {
  fill: none;
  stroke: var(--parcours-racine);
  stroke-width: 3.5;
  stroke-linecap: round;
  transition: stroke 0.3s ease;
}

.parcours-radicelle.is-parcourue {
  stroke: var(--parcours-compris);
}

.parcours-legende {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.5rem;
  margin-top: 0.75rem;
}

.parcours-legende__chemin::before {
  content: "━ ";
  font-weight: 700;
}

.parcours-legende__raccourci::before {
  content: "─ ";
}

.parcours-tiroir {
  --bs-offcanvas-width: min(36rem, 100vw);
}
.parcours-tiroir .animation {
  margin-top: 0;
}

.parcours-fiche__resume {
  font-size: 1rem;
}

.parcours-fiche__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.parcours-fiche__compris {
  --bs-btn-color: var(--parcours-compris, #198754);
  --bs-btn-border-color: var(--parcours-compris, #198754);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--parcours-compris, #198754);
  --bs-btn-hover-border-color: var(--parcours-compris, #198754);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--parcours-compris, #198754);
  --bs-btn-disabled-border-color: var(--parcours-compris, #198754);
  --bs-btn-disabled-opacity: 1;
}
.parcours-fiche__compris .parcours-fiche__fait {
  display: none;
}
.parcours-fiche__compris.is-compris .parcours-fiche__a-faire {
  display: none;
}
.parcours-fiche__compris.is-compris .parcours-fiche__fait {
  display: inline;
}

.parcours-fiche__erreur {
  margin: 0.25rem 0 0;
  color: var(--bs-warning-text-emphasis);
}

.parcours-fiche__suite-titre {
  margin-top: 1.5rem;
}

.parcours-fiche__suite li + li {
  margin-top: 0.25rem;
}

.parcours-suite {
  border: 0;
  padding: 0;
  background: none;
  color: var(--bs-body-color);
  text-align: left;
}
.parcours-suite:hover, .parcours-suite:focus-visible {
  color: var(--bs-emphasis-color);
  text-decoration: underline;
}

.parcours-suite__nature {
  margin-left: 0.35rem;
  font-size: 0.85em;
  color: var(--bs-secondary-color);
}

.parcours-suite__coche {
  margin-left: 0.25rem;
  color: var(--parcours-compris, #198754);
}

/* ========================================
   Carte des paramètres STICS (templates/parameter_map/, contrôleur parameter-map)
   ========================================
   Le profil cultural du parcours (variables --parcours-*, classes parcours-sol-*) et ses
   équipements (carte-eq-*). Le plan garde les proportions du SVG (16:9) ; zoomé, le panneau des
   paramètres se pose sur sa partie droite (grand écran) ou le couvre (téléphone). Entrées en bleu
   plein, sorties en anneau ocre (jamais de rouge). */
.carte-param__entete {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 0.6rem;
}

.carte-param__total {
  margin-left: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--bs-secondary-color);
  white-space: nowrap;
}

.carte-param__version {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carte-param__version select {
  width: auto;
}

.carte-param__scene {
  --carte-hors-figure: 21.5rem;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, max(50%, (100svh - var(--carte-hors-figure)) * 16 / 9)) minmax(20rem, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.carte-param__plan {
  align-self: start;
}

.carte-param__cote {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.carte-param__liste-cadre {
  position: relative;
  flex: 1 1 auto;
  min-height: 14rem;
}

.carte-param__liste-cadre[hidden] {
  display: none;
}

.carte-param__plan {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--parcours-ciel-bas);
  min-width: 0;
}

.carte-param__barre {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
}

.carte-param__barre label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.carte-param__fil {
  flex: 1 1 auto;
  font-weight: 600;
}

.carte-param__recherche {
  width: 14em;
}

.carte-param__figure {
  position: relative;
  aspect-ratio: 16/9;
}

.carte-param__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.carte-param__zone {
  fill: transparent;
  stroke: transparent;
  stroke-width: 3;
  cursor: pointer;
}

.carte-param__zone:hover,
.carte-param__figure:not(.is-zoom) .carte-param__zone.is-survol {
  fill: color-mix(in srgb, var(--carte-in) 10%, transparent);
  stroke: var(--carte-in);
  stroke-dasharray: 10 6;
}

.carte-param__figure.is-zoom .carte-param__zone {
  pointer-events: none;
}

.carte-param__etiquette {
  cursor: pointer;
}

.carte-param__etiquette rect {
  fill: var(--carte-etiquette);
  stroke: var(--bs-border-color);
  stroke-width: 1.5;
}

.carte-param__etiquette:hover rect,
.carte-param__etiquette.is-survol rect,
.carte-param__etiquette:focus-visible rect {
  stroke: var(--carte-in);
  stroke-width: 2.5;
}

.carte-param__etiquette:focus {
  outline: none;
}

.carte-param__etiquette-nom {
  font-size: 19px;
  font-weight: 600;
  fill: var(--bs-body-color);
}

.carte-param__etiquette-nb {
  font-size: 15px;
  fill: var(--bs-secondary-color);
}

.carte-param__liste {
  position: absolute;
  inset: 0;
  overflow: auto;
  padding: 0.75rem 0.9rem;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
}

.carte-param__colonnes {
  columns: 12em;
  column-gap: 1.25rem;
}

.carte-param__bouton-liste[aria-pressed=true] {
  background: var(--bs-secondary-bg);
}

.carte-param__groupe {
  break-inside: avoid;
  margin-bottom: 0.75rem;
}

.carte-param__groupe-titre {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.15rem;
}

.carte-param__groupe-titre span {
  font-weight: 400;
  color: var(--bs-secondary-color);
}

.carte-param__code {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0.25rem 0.15rem 0;
  padding: 0.1rem 0.5rem 0.1rem 0.3rem;
  border: 1px solid color-mix(in srgb, var(--bs-body-color) 18%, transparent);
  border-radius: 999px;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  font-family: var(--bs-font-monospace);
  font-size: 0.85rem;
  min-height: 1.6rem;
  cursor: pointer;
  transition: border-color 0.12s, background-color 0.12s;
}

.carte-param__code:hover,
.carte-param__code:focus-visible {
  border-color: var(--carte-in);
  background: color-mix(in srgb, var(--carte-in) 12%, var(--bs-body-bg));
}

.carte-param__code--out:hover,
.carte-param__code--out:focus-visible {
  border-color: var(--carte-out);
  background: color-mix(in srgb, var(--carte-out) 12%, var(--bs-body-bg));
}

.carte-param__code-definition {
  display: none;
}

.carte-param__code--serie {
  box-shadow: 3px 3px 0 -1px var(--bs-body-bg), 3px 3px 0 0 color-mix(in srgb, var(--bs-body-color) 25%, transparent);
}

.carte-param__code-indices {
  white-space: nowrap;
  font-family: var(--bs-body-font-family);
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
}

.carte-param__code--serie .bi {
  font-size: 0.7rem;
  color: var(--bs-secondary-color);
}

.carte-param__serie {
  display: inline;
}

.carte-param__code--indice {
  min-height: 1.4rem;
  padding: 0 0.45rem 0 0.25rem;
  font-size: 0.8rem;
}

.carte-param__fiche-indices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0;
}

.carte-param__fiche-indices .carte-param__code-definition {
  display: none;
}

.carte-param.is-definitions .carte-param__colonnes {
  columns: 26em;
}

.carte-param.is-definitions .carte-param__code {
  display: flex;
  width: 100%;
  margin-right: 0;
  border-radius: 0.35rem;
  text-align: left;
}

.carte-param.is-definitions .carte-param__serie {
  display: block;
  padding-left: 1.2rem;
}

.carte-param.is-definitions .carte-param__code-nom {
  flex: none;
  min-width: 7.5em;
}

.carte-param.is-definitions .carte-param__code-definition {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--bs-body-font-family);
  font-size: 0.8rem;
  color: var(--bs-secondary-color);
}

.carte-param__bulle {
  position: absolute;
  z-index: 3;
  max-width: min(26rem, 100% - 8px);
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.4rem;
  background: var(--bs-body-bg);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
  font-size: 0.85rem;
  line-height: 1.35;
  pointer-events: none;
}

.carte-param__bulle strong {
  font-family: var(--bs-font-monospace);
}

.carte-param__bulle-unite {
  color: var(--bs-secondary-color);
}

.carte-param__code.is-choisi {
  background: color-mix(in srgb, var(--carte-in) 20%, transparent);
  font-weight: 700;
}

.carte-param__code.is-hors-filtre {
  opacity: 0.25;
}

.carte-param__point {
  display: inline-block;
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.3rem;
  border-radius: 50%;
  vertical-align: -0.05rem;
}

.carte-param__code .carte-param__point {
  margin-right: 0;
}

.carte-param__point--in {
  background: var(--carte-in);
}

.carte-param__point--out {
  border: 0.16rem solid var(--carte-out);
}

.carte-param__vide {
  color: var(--bs-secondary-color);
}

.carte-param__legende {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  padding: 0.5rem 0.75rem;
  border-top: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  font-size: 0.85rem;
  color: var(--bs-secondary-color);
}

.carte-param__fiche {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  padding: 1rem 1.1rem;
  background: var(--bs-body-bg);
  min-width: 0;
}

.carte-param__fiche-type {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.carte-param__fiche-type--in {
  color: var(--carte-in);
}

.carte-param__fiche-type--out {
  color: var(--carte-out);
}

.carte-param__fiche-code {
  font-family: var(--bs-font-monospace);
  font-size: 1.6rem;
  overflow-wrap: anywhere;
}

.carte-param__fiche-definition {
  font-size: 1.05rem;
  margin-bottom: 0.1rem;
}

.carte-param__fiche-source {
  font-size: 0.8rem;
  color: var(--bs-secondary-color);
}

.carte-param__fiche dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.35rem 0.9rem;
  margin: 0.75rem 0 0;
}

.carte-param__fiche dt {
  font-weight: 400;
  color: var(--bs-secondary-color);
}

.carte-param__fiche dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.carte-param__fiche code {
  color: inherit;
}

.carte-param__zones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.carte-param__zone-bouton {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  text-align: left;
}

.carte-param__zone-bouton:hover,
.carte-param__zone-bouton.is-survol,
.carte-param__zone-bouton:focus-visible {
  border-color: var(--carte-in);
}

.carte-param__zone-bouton span {
  font-size: 0.85rem;
  color: var(--bs-secondary-color);
}

.carte-param__grappes {
  animation: carte-param-apparition 0.35s 0.3s both;
}

@keyframes carte-param-apparition {
  from {
    opacity: 0;
  }
}
.carte-param__voile {
  fill: color-mix(in srgb, var(--bs-body-bg) 35%, transparent);
  pointer-events: none;
}

.carte-param__voile--fort {
  fill: color-mix(in srgb, var(--bs-body-bg) 60%, transparent);
}

.carte-param__grappe-fond {
  fill: color-mix(in srgb, var(--bs-body-bg) 55%, transparent);
  stroke: color-mix(in srgb, var(--bs-body-color) 25%, transparent);
}

.carte-param__grappe-nom {
  text-anchor: middle;
  font-weight: 600;
  fill: var(--bs-body-color);
  stroke: var(--bs-body-bg);
  paint-order: stroke;
  pointer-events: none;
}

.carte-param__lien {
  stroke: color-mix(in srgb, var(--bs-body-color) 55%, transparent);
  stroke-dasharray: 2 2;
}

.carte-param__ancre {
  fill: var(--bs-body-color);
}

.carte-param__pt {
  cursor: pointer;
}

.carte-param__pt--in {
  fill: var(--carte-in);
  stroke: var(--bs-body-bg);
}

.carte-param__pt--out {
  fill: var(--bs-body-bg);
  stroke: var(--carte-out);
}

.carte-param__pt:hover,
.carte-param__pt.is-choisi {
  stroke: var(--bs-body-color);
}

.carte-param__halo {
  fill: none;
  stroke: var(--bs-body-color);
  pointer-events: none;
}

.carte-param__repere.is-choisi {
  font-weight: 700;
}

.carte-param__pt.is-hors-filtre,
.carte-param__pt-anneau.is-hors-filtre {
  opacity: 0.15;
}

.carte-param__bande {
  fill: color-mix(in srgb, var(--bs-body-bg) 78%, transparent);
  stroke: var(--bs-border-color);
}

.carte-param__limite {
  stroke: color-mix(in srgb, var(--bs-body-color) 45%, transparent);
  stroke-dasharray: 4 3;
}

.carte-param__couche-nom {
  fill: var(--bs-secondary-color);
  font-weight: 600;
  pointer-events: none;
}

.carte-param__pt-anneau {
  fill: none;
  pointer-events: none;
}

.carte-param__pt-anneau--in {
  stroke: var(--carte-in);
}

.carte-param__pt-anneau--out {
  stroke: var(--carte-out);
}

.carte-param__piste-nom,
.carte-param__repere {
  fill: var(--bs-body-color);
  stroke: var(--bs-body-bg);
  paint-order: stroke;
  font-family: var(--bs-font-monospace);
}

.carte-param__repere {
  cursor: pointer;
  dominant-baseline: middle;
}

.carte-param__repere--estime {
  font-style: italic;
}

.carte-param__piste-nom {
  pointer-events: none;
}

.carte-param__figure:not(.is-zoom) .carte-param__grappes {
  display: none;
}

.carte-eq-sature {
  fill: var(--carte-sature);
}

.carte-eq-nappe {
  fill: none;
  stroke: var(--carte-eau);
  stroke-width: 3;
}

.carte-eq-plancher {
  fill: none;
  stroke: var(--parcours-fissure);
  stroke-width: 2;
  stroke-dasharray: 10 8;
}

.carte-eq-gravier {
  fill: var(--parcours-caillou);
  stroke: var(--parcours-caillou-ombre);
  stroke-width: 2;
  stroke-dasharray: 3 3;
}

.carte-eq-drain {
  fill: var(--carte-eau);
  stroke: var(--carte-metal);
  stroke-width: 3;
}

.carte-eq-metal {
  fill: none;
  stroke: var(--carte-metal);
  stroke-width: 3;
  stroke-linecap: round;
}

.carte-eq-mat {
  fill: none;
  stroke: var(--carte-metal);
  stroke-width: 4;
}

.carte-eq-rampe {
  stroke-width: 4;
}

.carte-eq-abri {
  fill: var(--carte-abri);
  stroke: var(--carte-metal);
  stroke-width: 2.5;
}

.carte-eq-toit {
  fill: none;
  stroke: var(--carte-metal);
  stroke-width: 3;
  stroke-linejoin: round;
}

.carte-eq-lame {
  stroke: var(--carte-metal);
  stroke-width: 1.5;
}

.carte-eq-coupelle {
  fill: none;
  stroke: var(--carte-metal);
  stroke-width: 2.5;
}

.carte-eq-socle {
  fill: var(--carte-metal);
}

.carte-eq-dome {
  fill: var(--carte-abri);
  stroke: var(--carte-metal);
  stroke-width: 1.5;
}

.carte-eq-pluvio {
  fill: var(--carte-abri);
  stroke: var(--carte-metal);
  stroke-width: 2.5;
}

.carte-eq-soleil {
  fill: var(--carte-soleil);
}

.carte-eq-jet {
  fill: none;
  stroke: var(--carte-eau);
  stroke-width: 2;
  stroke-dasharray: 4 5;
}

@media (max-width: 991.98px) {
  .carte-param__scene {
    grid-template-columns: minmax(0, 1fr);
  }
  .carte-param__liste {
    position: static;
    max-height: 70svh;
  }
  .carte-param__liste-cadre {
    min-height: 0;
  }
}
@media (max-width: 575.98px) {
  .carte-param__figure.is-zoom {
    aspect-ratio: auto;
    height: 62svh;
  }
  .carte-param__recherche {
    width: 100%;
  }
  .carte-param.is-definitions .carte-param__code {
    flex-wrap: wrap;
    row-gap: 0;
  }
  .carte-param.is-definitions .carte-param__code-definition {
    flex-basis: 100%;
    padding-left: 1.1rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}
.voc {
  --voc-trait: var(--bs-border-color);
  --voc-fond: var(--bs-tertiary-bg);
  --voc-fort: var(--bs-emphasis-color);
}

.voc-avancement__barre {
  height: 0.5rem;
  max-width: 32rem;
  margin: 0.35rem 0 1rem;
}

.voc .voc-avancement__fait {
  width: var(--voc-fait, 0%);
  background-color: var(--voc-fort);
}

.voc-schema {
  overflow-x: auto;
  border: 1px solid var(--voc-trait);
  border-radius: 0.375rem;
  background: var(--voc-fond);
}

.voc-dessin {
  display: block;
  width: 100%;
  min-width: 1050px;
  height: auto;
}

.voc-boite {
  fill: var(--bs-body-bg);
  stroke: var(--bs-secondary-color);
  stroke-width: 1.2;
}

.voc-boite--relu {
  stroke: var(--voc-fort);
  stroke-width: 2.6;
}

.voc-boite--a_revoir {
  stroke: var(--voc-fort);
  stroke-width: 2.6;
  stroke-dasharray: 7 4;
}

.voc-boite--renvoi {
  fill: transparent;
  stroke-width: 1.2;
  stroke-dasharray: 2 3;
}

.voc-texte {
  fill: var(--bs-body-color);
  font-size: 13px;
  text-anchor: middle;
}

.voc-texte--numero {
  fill: var(--bs-secondary-color);
  font-size: 11px;
}

.voc-texte--libelle {
  font-weight: 600;
}

.voc-texte--fichier {
  font-family: var(--bs-font-monospace);
  font-size: 11px;
  fill: var(--bs-secondary-color);
}

.voc-dessin a {
  cursor: pointer;
  text-decoration: none;
}

.voc-dessin a:hover .voc-boite,
.voc-dessin a:focus-visible .voc-boite {
  fill: var(--voc-fond);
  stroke: var(--voc-fort);
}

.voc-arete {
  fill: none;
  stroke: var(--bs-secondary-color);
  stroke-width: 1.2;
}

.voc-arete--sorte {
  stroke-dasharray: 5 3;
}

.voc-arete--chaine,
.voc-arete--dorsale {
  stroke: var(--voc-fort);
  stroke-width: 2.2;
}

.voc-arete--pont {
  stroke-dasharray: 2 3;
}

.voc-pointe {
  fill: var(--bs-secondary-color);
}

.voc-pointe--chaine,
.voc-pointe--dorsale {
  fill: var(--voc-fort);
}

.voc-touche {
  fill: none;
  stroke: transparent;
  stroke-width: 12;
}

.voc-lien:hover .voc-arete {
  stroke: var(--voc-fort);
  stroke-width: 2.6;
}

.voc-legende {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0.5rem 0 0;
}

.voc-legende__boite {
  display: inline-block;
  width: 1.6rem;
  height: 0.9rem;
  margin-right: 0.4rem;
  vertical-align: -0.1rem;
  border: 1px solid var(--bs-secondary-color);
  border-radius: 3px;
  background: var(--bs-body-bg);
}

.voc-legende__boite--relu {
  border: 2px solid var(--voc-fort);
}

.voc-legende__boite--a_revoir {
  border: 2px dashed var(--voc-fort);
}

.voc-legende__boite--renvoi {
  border-style: dotted;
  background: transparent;
}

.voc-table .voc-item {
  scroll-margin-top: 5rem;
}
.voc-table .voc-item:target .voc-lecture > td,
.voc-table .voc-item.is-editing .voc-lecture > td {
  background: var(--voc-fond);
  box-shadow: inset 3px 0 0 var(--voc-fort);
}
.voc-table .voc-groupe > th {
  padding-top: 1rem;
  border-bottom: 2px solid var(--voc-fort);
  font-size: 0.95rem;
}
.voc-table .voc-suite > td {
  padding-top: 0;
  border-top: 0;
  padding-left: 2rem;
}
.voc-table .voc-formulaire > td {
  padding: 0.75rem 1rem 1rem;
  background: var(--voc-fond);
}
.voc-table .voc-lecture > td {
  border-bottom-width: 0;
}
.voc-table .voc-item {
  border-bottom: 1px solid var(--voc-trait);
}

.voc-commentaire {
  font-style: italic;
}

.voc-historique {
  margin: 0.25rem 0 0.5rem;
  max-width: 70rem;
}

.voc-suivi {
  white-space: nowrap;
}

.voc-suivi__bouton {
  padding: 0.05rem 0.4rem;
  border: 0;
  font-size: 0.82rem;
  color: var(--bs-secondary-color);
}

.voc-suivi__bouton:hover,
.voc-suivi__bouton:focus-visible,
.voc-suivi__bouton[aria-expanded=true] {
  background: var(--bs-tertiary-bg);
  color: var(--bs-body-color);
}

.voc-etat {
  display: inline-block;
  padding: 0.05rem 0.5rem;
  border: 1px solid var(--voc-trait);
  border-radius: 1rem;
  font-size: 0.82rem;
  white-space: nowrap;
  color: var(--bs-secondary-color);
}

.voc-etat--relu {
  border-color: var(--voc-fort);
  color: var(--voc-fort);
  font-weight: 600;
}

.voc-etat--a_revoir {
  border: 1px dashed var(--voc-fort);
  color: var(--voc-fort);
  font-weight: 600;
}

.voc-etat-choix {
  display: inline-block;
}

button.voc-etat {
  background: transparent;
  cursor: pointer;
}

button.voc-etat:hover,
button.voc-etat:focus-visible {
  background: var(--bs-tertiary-bg);
}

.voc-etat-choix__item {
  font-size: 0.875rem;
}

.voc-etat-choix__item.is-current {
  font-weight: 600;
}

.voc-etat-choix__vide {
  display: inline-block;
  width: 1em;
}

.voc-filtre {
  margin-bottom: 0.75rem;
}

.voc-table--variables {
  font-size: 0.875rem;
}
.voc-table--variables th {
  white-space: nowrap;
}
.voc-table--variables td:nth-child(2) {
  min-width: 20rem;
}

.voc-renvoi {
  color: inherit;
  text-decoration: underline dotted;
  text-underline-offset: 0.2em;
}

.voc-renvoi:hover,
.voc-renvoi:focus-visible {
  color: inherit;
  text-decoration-style: solid;
}

.voc-ferme-stics,
.voc-plie--stics .voc-vue-stics {
  display: none;
}

.voc-plie--stics .voc-ferme-stics {
  display: table-cell;
}

.voc-ferme-anaee,
.voc-plie--anaee .voc-vue-anaee {
  display: none;
}

.voc-plie--anaee .voc-ferme-anaee {
  display: table-cell;
}

.voc-ferme-thesaurus,
.voc-plie--thesaurus .voc-vue-thesaurus {
  display: none;
}

.voc-plie--thesaurus .voc-ferme-thesaurus {
  display: table-cell;
}

.voc-table--variables .voc-vue-anaee,
.voc-table--variables .voc-ferme-anaee {
  --bs-table-bg: var(--bs-success-bg-subtle);
  --voc-bloc-trait: var(--bs-success-border-subtle);
  --voc-bloc-texte: var(--bs-success-text-emphasis);
}
.voc-table--variables .voc-vue-thesaurus,
.voc-table--variables .voc-ferme-thesaurus {
  --bs-table-bg: var(--bs-info-bg-subtle);
  --voc-bloc-trait: var(--bs-info-border-subtle);
  --voc-bloc-texte: var(--bs-info-text-emphasis);
}
.voc-table--variables .voc-bloc-debut {
  border-left: 3px solid var(--voc-bloc-trait, var(--bs-border-color));
}
.voc-table--variables .voc-groupes > th {
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--voc-bloc-texte, var(--bs-secondary-color));
  border-bottom-width: 0;
}
.voc-table--variables th[class*=voc-ferme-] {
  width: 1%;
  vertical-align: top;
  border-bottom-width: 1px;
}

.voc-defile {
  max-height: 75vh;
  overflow-y: auto;
}
.voc-defile thead {
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: 0 1px 0 var(--bs-border-color);
}
.voc-defile thead th {
  background-color: var(--bs-table-bg, var(--bs-body-bg));
}
.voc-defile thead th:not([class*=voc-vue-anaee]):not([class*=voc-ferme-anaee]):not([class*=voc-vue-thesaurus]):not([class*=voc-ferme-thesaurus]) {
  --bs-table-bg: var(--bs-body-bg);
}

.voc-bloc-bouton {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
}

.voc-bloc-bouton:hover,
.voc-bloc-bouton:focus-visible {
  text-decoration: underline;
}

.voc-couv {
  --voc-couv-complete: #1b64be;
  --voc-couv-partielle: #84b9f3;
  --voc-couv-a-creer: #f47230;
  --voc-couv-hors: #b8b8b8;
  --voc-couv-encre-claire: #fff;
  --voc-couv-encre-sombre: #191919;
}

[data-bs-theme=dark] .voc-couv {
  --voc-couv-complete: #6aabf1;
  --voc-couv-partielle: #1757ac;
  --voc-couv-a-creer: #e76624;
  --voc-couv-hors: #6b6b6b;
}

.voc-couv__tuiles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.voc-couv__tuile {
  flex: 1 1 11rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--voc-trait);
  border-radius: 0.5rem;
}

.voc-couv__etiquette,
.voc-couv__note {
  font-size: 0.8rem;
  color: var(--bs-secondary-color);
}

.voc-couv__nombre {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--bs-emphasis-color);
}

.voc-couv__sur {
  font-size: 1rem;
  font-weight: 400;
  color: var(--bs-secondary-color);
}

.voc-couv__legende {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}

.voc-couv__puce {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.4rem;
  border-radius: 2px;
}

.voc-couv__lignes {
  display: grid;
  grid-template-columns: minmax(8rem, 16rem) 1fr 5.5rem;
  gap: 0.4rem 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.voc-couv__nom {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voc-couv__total {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--bs-secondary-color);
}

.voc-couv__barre {
  display: flex;
  gap: 2px;
  height: 1.4rem;
}

.voc-couv__segment {
  flex: 0 0 auto;
  width: calc(var(--voc-part) - 2px);
  min-width: 2px;
  overflow: hidden;
  font-size: 0.75rem;
  line-height: 1.4rem;
  text-align: center;
  color: var(--voc-couv-encre-sombre);
}

.voc-couv__segment:first-child {
  border-radius: 4px 0 0 4px;
}

.voc-couv__segment:last-child {
  border-radius: 0 4px 4px 0;
}

.voc-couv__segment--complete,
.voc-couv__segment--relu {
  background: var(--voc-couv-complete);
  color: var(--voc-couv-encre-claire);
}

.voc-couv__segment--partielle {
  background: var(--voc-couv-partielle);
}

.voc-couv__segment--a_creer,
.voc-couv__segment--a_revoir {
  background: var(--voc-couv-a-creer);
}

.voc-couv__segment--hors_perimetre,
.voc-couv__segment--a_relire {
  background: var(--voc-couv-hors);
}

[data-bs-theme=dark] .voc-couv__segment--complete,
[data-bs-theme=dark] .voc-couv__segment--relu {
  color: var(--voc-couv-encre-sombre);
}

[data-bs-theme=dark] .voc-couv__segment--partielle,
[data-bs-theme=dark] .voc-couv__segment--hors_perimetre,
[data-bs-theme=dark] .voc-couv__segment--a_relire {
  color: var(--voc-couv-encre-claire);
}

.voc-couv__elements {
  max-width: 60rem;
}

.voc-couv__jauge-cellule {
  width: 30%;
  min-width: 6rem;
}

.voc-couv__jauge {
  height: 0.6rem;
  border-radius: 4px;
  background: var(--voc-fond);
}

.voc-couv__jauge-fait {
  display: block;
  width: var(--voc-part);
  height: 100%;
  border-radius: 4px;
  background: var(--voc-couv-complete);
}

.voc-aide h3 {
  margin-bottom: 0.25rem;
}

.voc-aide p {
  margin-bottom: 1rem;
  color: var(--bs-secondary-color);
}

.voc-entete .voc-avancement__barre {
  max-width: none;
  margin-bottom: 0;
}

.voc-recherche__trouve {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--voc-fort);
}

.voc-anaee {
  display: inline-block;
  padding: 0 0.45rem;
  border: 1px solid var(--voc-trait);
  border-radius: 0.25rem;
  font-size: 0.8rem;
  color: var(--bs-secondary-color);
}

.voc-anaee--complete {
  border-color: var(--voc-fort);
  color: var(--voc-fort);
}

.voc-anaee--a_creer {
  border: 1px dashed var(--voc-fort);
  color: var(--voc-fort);
  font-weight: 600;
}

.voc-niveau--exact {
  font-weight: 600;
}

.voc-niveau--generique {
  font-style: italic;
  opacity: 0.7;
}

.voc-manque {
  font-size: 0.8rem;
  color: var(--bs-secondary-color);
}

.voc-fiche__adresse {
  color: inherit;
  word-break: break-all;
}

.voc-objet {
  margin-top: 1rem;
}

.voc-objet__titre {
  margin-bottom: 0.25rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--voc-fort);
}

.voc-lot {
  margin-left: 1rem;
  border-bottom: 1px solid var(--voc-trait);
  scroll-margin-top: 5rem;
}

.voc-lot > summary {
  cursor: pointer;
  padding: 0.3rem 0;
}

.voc-lot[open] > summary {
  font-weight: 600;
}

.voc-lot__etat {
  margin-left: 0.5rem;
  font-weight: 400;
}

.voc-lot__suivi {
  margin: 0.25rem 0 0.5rem;
}

.voc-lot__formulaire {
  max-width: 50rem;
  padding: 0.5rem 0.75rem 0.75rem;
  background: var(--voc-fond);
}

.voc-section {
  margin-top: 1.5rem;
}

.voc-section > summary {
  cursor: pointer;
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--voc-trait);
  margin-bottom: 0.5rem;
}

.voc-section > summary > h2,
.voc-section > summary > h3 {
  display: inline;
  margin: 0;
}

/*# sourceMappingURL=app.css-le6X9zK.map */
