@charset "UTF-8";

html {
    overflow-y: scroll!important;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

body {
    min-height: 100vh;
}  
body {
  min-height: 100%;
}

body {
  overflow-x: hidden;
}

#appLayout {
  min-height: 100vh;
  --sidebar-desktop-width: clamp(216px, 13vw, 260px);
  --sidebar-top-gradient-height: 4rem;
  --sidebar-top-gradient-opacity: .8;
  --hdo-page-bottom-space: 3rem;
}

/* SIDEBAR OUVERTE */
.app-sidebar {
  width: var(--sidebar-desktop-width);
  flex: 0 0 var(--sidebar-desktop-width);
  max-width: var(--sidebar-desktop-width);
  min-height: 100vh;
  background: #fff;
  border-right: 1px solid #dee2e6;
  opacity: 1;
  transition:
    width .35s ease,
    flex-basis .35s ease,
    max-width .35s ease,
    opacity .2s ease;
}

.app-sidebar-inner {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: var(--sidebar-desktop-width);
  height: 100vh;
  max-height: 100vh;
  background: #fff;
  border-right: 1px solid #dee2e6;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 4rem;
  transition:
    width .35s ease,
    opacity .2s ease;
}

.app-sidebar-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: var(--sidebar-top-gradient-height);
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--accent-color) 42%, #fff 58%) 0%,
      color-mix(in srgb, var(--accent-color-2) 18%, #fff 82%) 58%,
      rgba(255, 255, 255, 0) 100%
    );
  opacity: var(--sidebar-top-gradient-opacity);
}

.app-sidebar-inner > * {
  position: relative;
  z-index: 1;
}

.app-sidebar-inner.p-3 {
  padding-bottom: 4rem !important;
}

.app-sidebar-content {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity .25s ease,
    transform .25s ease;
}

/* MAIN OUVERT */
.app-main {
  width: calc(100% - var(--sidebar-desktop-width));
  flex: 0 0 calc(100% - var(--sidebar-desktop-width));
  max-width: calc(100% - var(--sidebar-desktop-width));
  min-height: 100vh;
  transition:
    width .35s ease,
    flex-basis .35s ease,
    max-width .35s ease;
}

#appMain > .main-panel > .content-wrapper > .container-fluid {
  padding-bottom: var(--hdo-page-bottom-space) !important;
}

/* BOUTON HAMBURGER */
.sidebar-toggle-btn {
  position: fixed;
  top: .75rem;
  left: calc(var(--sidebar-desktop-width) - 2.4rem);
  z-index: 1050;
  color: #000;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: .25rem .4rem;
  transition: left .35s ease;
}

.sidebar-toggle-btn:hover,
.sidebar-toggle-btn:focus {
  color: #777;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* SIDEBAR REPLIÉE */
#appLayout.sidebar-collapsed .app-sidebar {
  width: 0;
  flex-basis: 0;
  max-width: 0;
  opacity: 0;
  border-right: 0;
}
  
#appLayout.sidebar-collapsed .app-sidebar-inner {
  width: 0;
  opacity: 0;
  border-right: 0;
  pointer-events: none;
}

/* CONTENU SIDEBAR REPLIÉ */
#appLayout.sidebar-collapsed .app-sidebar-content {
  opacity: 0;
  transform: translateX(-12px);
  pointer-events: none;
}

/* MAIN REPLIÉ */
#appLayout.sidebar-collapsed .app-main {
  width: 100%;
  flex-basis: 100%;
  max-width: 100%;
}

/* BOUTON QUAND SIDEBAR REPLIÉE */
#appLayout.sidebar-collapsed .sidebar-toggle-btn {
  left: 1rem;
}

@media (max-width: 991.98px) {
  #appLayout {
    --mobile-sidebar-width: min(82vw, 320px);
  }

  #appLayout::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1240;
    background: rgba(0, 0, 0, .18);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }

  #appLayout:not(.sidebar-collapsed)::before {
    opacity: 1;
    pointer-events: auto;
  }

  #appLayout .app-sidebar,
  #appLayout.sidebar-collapsed .app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1250;
    width: 0;
    flex: 0 0 0;
    max-width: 0;
    min-height: 0;
    opacity: 1;
    border-right: 0;
  }

  #appLayout .app-sidebar-inner {
    z-index: 1250;
    width: var(--mobile-sidebar-width);
    max-width: var(--mobile-sidebar-width);
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    border-right: 1px solid #dee2e6;
    box-shadow: 0 0 1.5rem rgba(0, 0, 0, .16);
    transition:
      transform .35s ease,
      opacity .2s ease;
  }

  #appLayout.sidebar-collapsed .app-sidebar-inner {
    width: var(--mobile-sidebar-width);
    max-width: var(--mobile-sidebar-width);
    opacity: 0;
    transform: translateX(-100%);
    pointer-events: none;
    border-right: 0;
    box-shadow: none;
  }

  #appLayout .app-sidebar-content {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }

  #appLayout.sidebar-collapsed .app-sidebar-content {
    opacity: 0;
    transform: translateX(-12px);
    pointer-events: none;
  }

  #appLayout .app-main,
  #appLayout.sidebar-collapsed .app-main {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  #appLayout .sidebar-toggle-btn {
    left: calc(var(--mobile-sidebar-width) - 2.4rem);
    z-index: 1260;
  }

  #appLayout.sidebar-collapsed .sidebar-toggle-btn {
    left: 1rem;
  }

  .sidebar-footer-actions {
    width: var(--mobile-sidebar-width);
  }
}

/* Rendre la page stable lors de l'ouverture de la modal */
body.modal-open {
    padding-right: 0 !important; /* Annuler le padding droit par défaut de Bootstrap */
}
  
  
@media (min-width: 576px) {.container-sm, .container {max-width: 550px;}}
@media (min-width: 768px) {.container-md, .container-sm, .container {max-width: 740px;}}
@media (min-width: 992px) {.container-lg, .container-md, .container-sm, .container {max-width: 960px;}}
@media (min-width: 1200px) {.container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 1140px;}}
@media (min-width: 1400px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 1320px;}}
@media (min-width: 1600px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 1480px;}}
@media (min-width: 1700px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 1580px;}}
@media (min-width: 1800px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 1680px;}}
@media (min-width: 1900px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 1780px;}}
@media (min-width: 2000px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 1880px;}}
@media (min-width: 2100px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 1980px;}}
@media (min-width: 2200px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 2080px;}}
@media (min-width: 2300px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 2180px;}}
@media (min-width: 2400px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 2280px;}}



/*couleur centralisée pour tous les graphiques (aussi dans custom.js)*/
:root {
    --accent-color:#D1B280;
    --accent-color-2:#A3A599;
}
.accent {color: var(--accent-color);}
.bg-accent {background-color: var(--accent-color);}

.site-title-roboto {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.sidebar-brand-link {
    color: #212529;
    text-decoration: none;
    transition: color .18s ease;
}

#sidebarBrandTitle.sidebar-brand-title {
    color: #212529 !important;
    transition: color .18s ease;
}

.sidebar-brand-link:hover,
.sidebar-brand-link:focus-visible {
    color: #d6d6d6;
    text-decoration: none;
}

#appSidebar .sidebar-brand-link:hover #sidebarBrandTitle,
#appSidebar .sidebar-brand-link:focus-visible #sidebarBrandTitle {
    color: #adb5bd !important;
}

.sidebar-brand-version {
    margin-left: .35rem;
    color: #adb5bd;
    font-size: .76rem;
    line-height: 1;
}

.navbar-brand {font-size: 0.8rem;}

.min-w-0 {
    min-width: 0 !important;
}


.active-rubrique {
    color: var(--accent-color) !important;
    font-weight: bold;
}


.highcharts-contextbutton {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.content-graph,
.block-for-graph,
[id^="container_"] {
    box-sizing: border-box;
    display: block;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

[id^="container_"] {
    overflow: hidden;
}

[id^="container_"] > .highcharts-container,
[id^="container_"] .highcharts-container,
[id^="container_"] .highcharts-root {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}


/* Image de fond page-login*/
.bg-overlay {
    background: url('../images/auth/login.jpg') center/cover no-repeat;
    position: relative;
}

/* Overlay noir semi-transparent */
.bg-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.80); /* Noir à 60% de transparence */
}

/* Assure que le contenu reste au-dessus de l'overlay */
.bg-overlay > * {
    position: relative;
    z-index: 1;
}

.bg-svg {
    width: 100%;
    height: 50px; /* Ajuste selon tes besoins */
    background: url('../images/auth/background.svg') no-repeat bottom center;
    background-size: cover;
  }

.bg-icon {background-color: #f1f1f1;}


.nav-link {
    text-decoration: none;
    padding: 0;
}

.sidebar-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.35rem;
    padding-bottom: 4.25rem;
}

.sidebar-context {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.sidebar-context-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    padding: .12rem .42rem;
    color: #212529;
    background: color-mix(in srgb, var(--accent-color) 24%, #fff 76%);
    border: 1px solid color-mix(in srgb, var(--accent-color) 34%, #dee2e6 66%);
    border-radius: .25rem;
    font-size: .68rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.sidebar-machine-euro-badge {
    flex: 0 0 auto;
}

.sidebar-context-items {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    padding: .2rem 0 .75rem;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.sidebar-context-item {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    min-width: 0;
}

.sidebar-context-icon {
    width: 1.25rem;
    flex: 0 0 1.25rem;
    margin-top: .1rem;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1;
}

.sidebar-context-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.sidebar-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .4rem;
}

.sidebar-quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-width: 0;
    min-height: 2rem;
    padding: .32rem .45rem;
    color: #212529;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    font-size: .78rem;
    line-height: 1.1;
    text-decoration: none;
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease;
}

.sidebar-quick-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-quick-link:hover,
.sidebar-quick-link:focus,
.sidebar-quick-link.active {
    color: #000;
    background: rgba(33, 37, 41, .04);
    border-color: var(--accent-color);
    text-decoration: none;
}

.sidebar-nav-list {
    gap: 1rem;
}

.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: .12rem;
    min-width: 0;
}

.sidebar-section-label {
    margin-bottom: .18rem;
    color: #6c757d;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sidebar-info-line {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.sidebar-info-line-primary {
    color: #212529;
    font-weight: 600;
    font-size: .96em;
}

.sidebar-info-line-secondary {
    color: #495057;
    font-size: .92em;
}

.sidebar-info-line-muted {
    color: #6c757d;
    font-size: .86em;
}

.sidebar-machine-engine-line {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.sidebar-machine-engine-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-log-focus {
    padding-bottom: .05rem;
}

.sidebar-log-focus .sidebar-context-icon {
    color: #212529;
}

.sidebar-log-number-main {
    color: #111;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.15;
}

.sidebar-carto-line {
    margin-top: .08rem;
    color: #495057;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.22;
}

#appSidebar .app-sidebar-content .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    gap: .55rem;
    color: #212529;
    min-height: 2rem;
    line-height: 1.2;
    font-size: .86rem;
    padding: .42rem .55rem;
    border-left: 3px solid transparent;
    border-radius: .2rem;
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease;
}

#appSidebar .app-sidebar-content .nav-link,
#appSidebar .app-sidebar-content .nav-link:visited,
#appSidebar .app-sidebar-content .nav-link:hover,
#appSidebar .app-sidebar-content .nav-link:focus {
    color: #212529;
}

.sidebar-nav-icon {
    width: 1.15rem;
    flex: 0 0 1.15rem;
    color: #6c757d;
    font-size: .98rem;
    line-height: 1;
    text-align: center;
}

.sidebar-link-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-footer-actions {
    position: fixed;
    left: 0;
    bottom: 1rem;
    width: var(--sidebar-desktop-width);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .65rem 1rem 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 28%);
}

.sidebar-user-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #000;
    font-size: .85rem;
}

.sidebar-footer-links {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.sidebar-language-switch {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    min-height: 2rem;
    padding: 0 .15rem;
}

.sidebar-language-option {
    padding: .15rem .18rem;
    color: #adb5bd;
    background: transparent;
    border: 0;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
}

.sidebar-language-option:hover,
.sidebar-language-option:focus {
    color: #495057;
    outline: 0;
}

.sidebar-language-option.active {
    color: #111;
}

.sidebar-language-option.is-invalid {
    color: #dc3545;
}

.sidebar-settings-link {
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    text-decoration: none;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    transition: color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.sidebar-settings-link:hover,
.sidebar-settings-link.active {
    color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 .15rem rgba(209, 178, 128, .2);
}

.theme-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #999;
    cursor: pointer;
}

.theme-btn:hover {
    border-color: #000;
    box-shadow: 0 0 0 .15rem rgba(0, 0, 0, .08);
}

.settings-page {
    color: #212529;
}

.hdo-tabs {
    gap: .25rem;
    min-width: 0;
    overflow-x: visible;
    overflow-y: visible;
    flex-wrap: nowrap;
    border-bottom: 1px solid #dee2e6;
    scrollbar-width: none;
}

.hdo-tabs::-webkit-scrollbar {
    display: none;
}

.hdo-tabs .nav-item {
    flex: 0 0 auto;
}

.hdo-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.3rem;
    padding: .42rem .95rem;
    color: #adb5bd;
    background: transparent;
    border: 1px solid transparent;
    border-radius: .35rem .35rem 0 0;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: -1px;
    white-space: nowrap;
}

.hdo-tabs .nav-link:hover,
.hdo-tabs .nav-link:focus {
    color: #6c757d;
    background: transparent;
    border-color: #e9ecef #e9ecef #dee2e6;
}

.hdo-tabs .nav-link.active {
    color: #212529;
    background: #f8f9fa;
    border-color: #dee2e6 #dee2e6 #f8f9fa;
    box-shadow: none;
}

.hdo-tab-content {
    min-width: 0;
}

.settings-tab-content {
    min-width: 0;
}

.settings-section {
    padding: 1.35rem 0;
    border-bottom: 1px solid #dee2e6;
}

#setting_page .settings-section {
    padding: 1.15rem 0 0;
    border-bottom: 0;
}

.settings-section:last-child {
    border-bottom: 0;
}

.settings-panel-box {
    border: 1px solid #dee2e6;
    background: #fff;
    max-height: 55vh;
    overflow: auto;
}

.settings-section-nav {
    gap: .25rem;
}

.settings-section-link {
    font-size: .82rem;
}

.settings-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.settings-section-heading h2 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.2;
}

.settings-section-kicker {
    display: block;
    margin-bottom: .25rem;
    color: #6c757d;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.settings-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.settings-panel-grid-compact {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.settings-panel-card {
    min-width: 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .3rem;
}

.settings-panel-card-head {
    margin-bottom: .9rem;
}

.settings-panel-card-head:last-child {
    margin-bottom: 0;
}

.settings-panel-card h3 {
    margin: 0 0 .35rem;
    font-size: 1rem;
    line-height: 1.2;
}

.settings-panel-card p {
    margin: 0;
    color: #6c757d;
    font-size: .82rem;
    line-height: 1.4;
}

.settings-setting-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: .25rem;
}

.settings-setting-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .85rem;
    min-height: 3rem;
    padding: .65rem .75rem;
    background: #fff;
    border: 0;
    border-top: 1px solid #e9ecef;
    border-radius: 0;
}

.settings-setting-row:first-child {
    border-top: 0;
}

.settings-setting-row strong {
    flex: 0 0 auto;
    max-width: 44%;
    color: #212529;
    font-size: .82rem;
    line-height: 1.25;
    text-align: right;
}

.settings-setting-row-editable {
    align-items: center;
}

.settings-setting-control {
    flex: 0 0 min(18rem, 48%);
    min-width: 10rem;
}

.settings-setting-control .form-control,
.settings-setting-control .form-select {
    min-height: 2rem;
    font-size: .8rem;
}

.settings-control-inline {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.settings-control-unit {
    flex: 0 0 auto;
    color: #6c757d;
    font-size: .76rem;
    font-weight: 700;
}

.settings-dynamic-control.is-saving {
    background-color: #fffdf7;
}

.settings-setting-label {
    display: block;
    color: #212529;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.25;
}

.settings-setting-key {
    display: block;
    margin-top: .2rem;
    color: #6c757d;
    font-family: var(--bs-font-monospace, monospace);
    font-size: .72rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.settings-setting-help {
    display: block;
    max-width: 24rem;
    margin-top: .3rem;
    color: #6c757d;
    font-size: .74rem;
    line-height: 1.3;
}

.settings-setting-default {
    display: block;
    margin-top: .25rem;
    color: #6c757d;
    font-size: .7rem;
    line-height: 1.2;
    text-align: left;
}

.settings-settings-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
    align-items: start;
    min-width: 0;
}

.settings-settings-group {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .3rem;
}

.settings-settings-group-head {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
    padding: .9rem 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.settings-settings-group-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: #495057;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 800;
}

.settings-settings-group h3 {
    margin: 0 0 .25rem;
    font-size: .96rem;
    line-height: 1.2;
}

.settings-settings-group p {
    margin: 0;
    color: #6c757d;
    font-size: .78rem;
    line-height: 1.35;
}

.settings-settings-table {
    background: #fff;
}

.settings-settings-table .settings-setting-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: .55rem;
    min-height: auto;
    padding: .78rem 1rem;
}

.settings-settings-table .settings-setting-row:hover {
    background: #f8f9fa;
}

.settings-setting-main {
    min-width: 0;
}

.settings-settings-table .settings-setting-control {
    width: 100%;
    min-width: 0;
    flex: none;
}

.settings-settings-table .settings-control-inline {
    justify-content: flex-start;
}

.settings-settings-table .settings-control-inline .form-control {
    text-align: left;
}

.settings-setting-row-paired {
    gap: .7rem;
}

.settings-paired-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    width: 100%;
    min-width: 0;
}

.settings-paired-controls-one {
    grid-template-columns: minmax(0, 1fr);
}

.settings-paired-control {
    min-width: 0;
}

.settings-paired-control-label {
    display: block;
    margin-bottom: .25rem;
    color: #495057;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.settings-paired-control .settings-control-inline {
    gap: .3rem;
}

.settings-paired-control .form-control {
    min-width: 0;
}

.settings-kv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: .6rem;
}

.settings-kv-grid-single {
    grid-template-columns: 1fr;
}

.settings-kv-item {
    min-width: 0;
    padding: .7rem .75rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: .3rem;
}

.settings-kv-label {
    display: block;
    margin-bottom: .2rem;
    color: #6c757d;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.settings-kv-value {
    display: block;
    min-width: 0;
    color: #212529;
    font-size: .92rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.settings-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.45rem;
    padding: .22rem .48rem;
    border: 1px solid #dee2e6;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.settings-status-ok {
    color: #0f5132;
    background: #d1e7dd;
    border-color: #badbcc;
}

.settings-status-warning {
    color: #664d03;
    background: #fff3cd;
    border-color: #ffecb5;
}

.settings-status-muted {
    color: #495057;
    background: #f8f9fa;
    border-color: #dee2e6;
}

.settings-theme-options {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.settings-field-label {
    display: block;
    margin-bottom: .35rem;
    color: #495057;
    font-size: .78rem;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .settings-settings-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    #setting_page .menu-page {
        gap: .65rem !important;
    }

    .hdo-tabs {
        order: 2;
        flex: 1 0 100%;
        overflow-x: auto;
        overflow-y: visible;
        justify-content: flex-start !important;
    }

    .hdo-tabs .nav-link {
        min-height: 2.2rem;
        padding: .4rem .7rem;
        font-size: .78rem;
    }

    .settings-section-heading,
    .settings-setting-row {
        flex-direction: column;
    }

    .settings-settings-board,
    .settings-paired-controls,
    .settings-settings-table .settings-setting-row {
        grid-template-columns: 1fr;
    }

    .settings-settings-group-head {
        grid-template-columns: 1fr;
    }

    .settings-settings-table .settings-control-inline {
        justify-content: flex-start;
    }

    .settings-setting-row strong {
        max-width: 100%;
        text-align: left;
    }

    .settings-setting-default {
        text-align: left;
    }

    .settings-setting-control {
        width: 100%;
        flex-basis: auto;
    }
}

.plan-site-page {
    color: #212529;
}

.plan-site-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.plan-site-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    padding: 1rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .35rem;
}

.plan-site-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
}

.plan-site-card h2 {
    margin: 0 0 .3rem;
    font-size: 1rem;
    line-height: 1.2;
}

.plan-site-title-link {
    color: #212529;
    font-weight: 700;
    text-decoration: none;
}

.plan-site-title-link:hover,
.plan-site-title-link:focus {
    color: #000;
    text-decoration: underline;
}

.plan-site-card p {
    margin: 0;
    color: #6c757d;
    font-size: .82rem;
    line-height: 1.35;
}

.plan-site-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    color: #212529;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    text-decoration: none;
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease;
}

.plan-site-card-link:hover,
.plan-site-card-link:focus {
    color: #000;
    background: rgba(209, 178, 128, .16);
    border-color: var(--accent-color);
    text-decoration: none;
}

.plan-site-sections {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: auto;
}

.plan-site-sections a {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    padding: .25rem .5rem;
    color: #495057;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: .25rem;
    font-size: .76rem;
    line-height: 1.15;
    text-decoration: none;
}

.plan-site-sections a:hover,
.plan-site-sections a:focus {
    color: #111;
    border-color: #ced4da;
    background: #fff;
    text-decoration: none;
}

.nav-link:hover {
    color: #7a7a7a; /* Changement de couleur au survol */
}

#appSidebar .app-sidebar-content .nav-link:hover,
#appSidebar .app-sidebar-content .nav-link:focus {
    background: rgba(33, 37, 41, .05);
}

#appSidebar .app-sidebar-content .nav-link.active {
    color: #000;
    font-weight: 600;
    background: rgba(209, 178, 128, .16);
    border-left-color: var(--accent-color);
}

#appSidebar .app-sidebar-content .nav-link:hover .sidebar-nav-icon,
#appSidebar .app-sidebar-content .nav-link:focus .sidebar-nav-icon,
#appSidebar .app-sidebar-content .nav-link.active .sidebar-nav-icon {
    color: #212529;
}

.nav-link.active {
    font-weight: 500;
    text-decoration: none;
}


.fixed-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1020;
    transition: top 0.3s ease-in-out;
}

.bold-link {
    font-weight: bold;
}

.nav-section{position: relative;}
.nav-section .nav-link{color: #555555; border: none; margin:0;}
.nav-section .nav-link:hover{color: #020202; font-weight:400}
.nav-section .nav-link.active{color: #000; font-weight: bold; position: relative; margin-bottom: -2px; transition: all 0.3s ease-in-out;}


.menu-page {
    background-color: #f8f9fa;
    z-index: 1040 !important;
    position: relative;
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: .5rem 1.5rem !important;
}

.menu-page.menu-page-fixed {
    position: fixed;
    top: 0;
    z-index: 1040 !important;
}

.menu-page-placeholder {
    display: block;
    height: 0;
}

.menu-page-title-group {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-left: auto !important;
}

.hdo-menu-search-enabled {
    gap: 0.85rem;
    flex-wrap: nowrap;
}

#appLayout.sidebar-collapsed .hdo-menu-search-enabled {
    padding-left: 3.75rem !important;
}

.hdo-menu-search-enabled .nav-section {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    scrollbar-width: none;
}

.hdo-menu-search-enabled .nav-section::-webkit-scrollbar {
    display: none;
}

.hdo-page-search {
    flex: 0 1 320px;
    min-width: 220px;
    max-width: 360px;
    margin-right: 0.35rem;
}

.hdo-page-tools {
    display: inline-flex;
    align-items: stretch;
    gap: 0.45rem;
    flex: 0 1 auto;
    min-width: 0;
}

.hdo-page-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #ced4da;
    background: #fff;
    color: #212529;
    border-radius: .25rem;
    flex: 0 0 auto;
}

.hdo-page-back-btn i {
    font-size: 1rem;
    line-height: 1;
}

.hdo-page-back-btn:hover,
.hdo-page-back-btn:focus {
    color: #212529;
    background: #f8f9fa;
    border-color: #adb5bd;
}

.hdo-page-search .input-group-text {
    background: #fff;
    border-right: 0;
    color: #6c757d;
}

.hdo-page-search .form-control {
    border-left: 0;
    box-shadow: none;
}

.hdo-page-search .form-control:focus {
    box-shadow: none;
}

.page-guide-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    color: #212529;
    text-decoration: none;
    border-radius: 50%;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.page-guide-link i {
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1;
    -webkit-text-stroke: 0.2px currentColor;
    text-shadow: 0 0 0 currentColor;
    transform: translateY(1px);
}

.page-guide-link:hover,
.page-guide-link:focus {
    color: #212529;
    background-color: rgba(108, 117, 125, 0.12);
}

#documentation_page .documentation-shell {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 1.5rem;
}

#documentation_page .documentation-toc {
    align-self: start;
    position: sticky;
    top: 4rem;
    max-height: calc(100vh - 5.5rem);
    overflow-y: auto;
    padding-right: .25rem;
}

#documentation_page .documentation-nav {
    border-right: 1px solid #dee2e6;
    padding: .35rem 1rem .75rem 0;
}

#documentation_page .documentation-nav-group + .documentation-nav-group {
    margin-top: 1.35rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

#documentation_page .documentation-nav-label {
    margin-bottom: .45rem;
    color: #6c757d;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

#documentation_page .documentation-nav a {
    display: block;
    padding: .28rem 0;
    color: #495057;
    font-size: .8rem;
    line-height: 1.25;
    text-decoration: none;
}

#documentation_page .documentation-nav a:hover,
#documentation_page .documentation-nav a:focus {
    color: #111;
    text-decoration: none;
}

#documentation_page .documentation-nav .documentation-sub-link {
    padding-left: .85rem;
    color: #6c757d;
    font-size: .72rem;
}

#documentation_page .documentation-nav .documentation-sub-link::before {
    content: "- ";
}

#documentation_page .documentation-article {
    max-height: calc(100vh - 5.5rem);
    overflow-y: auto;
    padding: .2rem min(4vw, 3rem) 4rem 0;
    scroll-behavior: smooth;
}

#documentation_page .documentation-section {
    max-width: 980px;
    padding-bottom: 2.4rem;
    margin-bottom: 2.4rem;
    border-bottom: 1px solid #e9ecef;
    scroll-margin-top: 5rem;
}

#documentation_page .documentation-section:last-child {
    border-bottom: 0;
}

#documentation_page .documentation-kicker {
    margin: 0 0 .4rem;
    color: #6c757d;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

#documentation_page .documentation-section h1 {
    margin: 0 0 .65rem;
    color: #212529;
    font-size: clamp(1.1rem, 1.35vw, 1.42rem);
    font-weight: 700;
    line-height: 1.15;
}

#documentation_page .documentation-lead {
    max-width: 820px;
    margin: 0 0 1.6rem;
    color: #495057;
    font-size: .84rem;
    line-height: 1.55;
}

#documentation_page .documentation-block {
    margin-top: 1.35rem;
    scroll-margin-top: 5rem;
}

#documentation_page .documentation-block + .documentation-block {
    padding-top: 1.2rem;
    border-top: 1px solid rgba(222, 226, 230, .75);
}

#documentation_page .documentation-block h2 {
    margin: 0 0 .55rem;
    color: #212529;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

#documentation_page .documentation-block h3 {
    margin: 0 0 .45rem;
    color: #212529;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.25;
}

#documentation_page .documentation-block p,
#documentation_page .documentation-block li,
#documentation_page .documentation-block dd {
    color: #495057;
    font-size: .82rem;
    line-height: 1.5;
}

#documentation_page .documentation-block p {
    margin-bottom: .65rem;
}

#documentation_page .documentation-block ul,
#documentation_page .documentation-block ol {
    margin: 0 0 .65rem 1.1rem;
    padding-left: .75rem;
}

#documentation_page .documentation-block dt {
    margin-top: .65rem;
    color: #212529;
    font-size: .82rem;
    font-weight: 700;
}

.highcharts-title,
.highcharts-title tspan {
    font-size: .84rem !important;
    font-weight: 600 !important;
}

.highcharts-subtitle,
.highcharts-subtitle tspan {
    font-size: .74rem !important;
    font-weight: 400 !important;
}

.highcharts-axis-labels text,
.highcharts-xaxis-labels text,
.highcharts-yaxis-labels text {
    font-size: .72rem !important;
    font-weight: 400 !important;
    fill: #5f6871 !important;
}

.highcharts-axis-title,
.highcharts-axis-title tspan {
    font-size: .74rem !important;
    font-weight: 500 !important;
    fill: #495057 !important;
}

.highcharts-legend-item text,
.highcharts-legend-item tspan {
    font-size: .72rem !important;
    font-weight: 400 !important;
}

.highcharts-data-label text,
.highcharts-data-label tspan {
    font-size: .72rem !important;
    font-weight: 500 !important;
}

.highcharts-data-label span,
.highcharts-data-label div,
.highcharts-data-label p {
    font-size: .72rem !important;
    line-height: 1.05 !important;
}

.highcharts-tooltip text,
.highcharts-tooltip tspan {
    font-size: .74rem !important;
}

.highcharts-tooltip span,
.highcharts-tooltip div {
    font-size: .74rem !important;
    line-height: 1.15 !important;
}

#documentation_page .documentation-block dd {
    margin: .15rem 0 0;
}

#documentation_page .documentation-definition-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem 2rem;
}

#documentation_page .documentation-definition-grid .documentation-block + .documentation-block {
    padding-top: 0;
    border-top: 0;
}

@media (max-width: 991.98px) {
    #documentation_page .documentation-shell {
        grid-template-columns: 1fr;
    }

    #documentation_page .documentation-toc {
        position: relative;
        top: auto;
        max-height: none;
    }

    #documentation_page .documentation-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        border-right: 0;
        border-bottom: 1px solid #dee2e6;
        padding: .25rem 0 1rem;
    }

    #documentation_page .documentation-nav-group + .documentation-nav-group {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    #documentation_page .documentation-article {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}

@media (max-width: 575.98px) {
    #documentation_page .documentation-nav,
    #documentation_page .documentation-definition-grid {
        grid-template-columns: 1fr;
    }
}

.hdo-draggable-modal .modal-header {
    cursor: move;
    user-select: none;
}

.hdo-draggable-modal .modal-header button,
.hdo-draggable-modal .modal-header a,
.hdo-draggable-modal .modal-header input,
.hdo-draggable-modal .modal-header textarea,
.hdo-draggable-modal .modal-header select,
.hdo-draggable-modal .modal-header label {
    cursor: pointer;
}

.hdo-draggable-modal .modal-dialog.is-draggable-ready {
    margin: 0 !important;
}

.hdo-draggable-modal .modal-dialog.is-dragging {
    transition: none !important;
}

.hdo-draggable-modal .modal-dialog.is-resizable-ready .modal-content {
    height: 100%;
}

.hdo-draggable-modal .modal-content {
    position: relative;
}

.modal-resize-handle {
    position: absolute;
    right: .35rem;
    bottom: .35rem;
    width: 1rem;
    height: 1rem;
    padding: 0;
    border: 0;
    background:
        linear-gradient(135deg, transparent 0 48%, rgba(108, 117, 125, .55) 48% 54%, transparent 54% 100%),
        linear-gradient(135deg, transparent 0 64%, rgba(108, 117, 125, .75) 64% 70%, transparent 70% 100%),
        linear-gradient(135deg, transparent 0 80%, rgba(108, 117, 125, .95) 80% 86%, transparent 86% 100%);
    cursor: nwse-resize;
    opacity: .85;
    z-index: 5;
}

.modal-resize-handle:hover,
.modal-resize-handle:focus {
    opacity: 1;
    outline: none;
}

.hdo-draggable-modal .modal-dialog.is-resizing {
    transition: none !important;
}

.search-result-card {
    height: 100%;
    padding: 1rem 1.05rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    color: #212529;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.search-result-card:hover,
.search-result-card:focus {
    color: #212529;
    background: #fafafa;
    border-color: #ced4da;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

.search-result-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #6c757d;
}

.search-result-title {
    margin-bottom: 0.4rem;
    font-size: 0.98rem;
    color: #212529;
}

.search-result-summary {
    color: #495057;
    font-size: 0.88rem;
    line-height: 1.45;
}

.search-query-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.search-context-pill,
.search-term-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.65rem;
    padding: 0.14rem 0.55rem;
    border: 1px solid #dee2e6;
    border-radius: 999px;
    background: #fff;
    color: #495057;
    font-size: 0.74rem;
    line-height: 1.15;
    text-decoration: none;
}

.search-context-pill {
    font-weight: 600;
    color: #212529;
}

.search-term-badge.is-link {
    transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.search-term-badge.is-link:hover,
.search-term-badge.is-link:focus {
    color: #212529;
    background: #f8f9fa;
    border-color: #ced4da;
}

.search-term-badge.is-match {
    color: #6c757d;
    background: #f8f9fa;
}

.search-term-badge.is-context {
    color: #7a5d30;
    background: rgba(209, 178, 128, 0.16);
    border-color: rgba(209, 178, 128, 0.45);
}

.search-result-card.is-context-page {
    border-color: rgba(209, 178, 128, 0.55);
    box-shadow: 0 0.25rem 0.75rem rgba(209, 178, 128, 0.12);
}

.favorite-page-section .dashboard-card-heading {
    padding-right: 0;
}

.favorite-page-section-heading {
    display: block;
    padding: .2rem .15rem 0;
}

.favorite-page-section-heading .dashboard-card-icon {
    width: 1.9rem;
    flex: 0 0 1.9rem;
    font-size: 1.55rem;
    color: #6c757d;
}

.favorite-page-section-heading .dashboard-card-title {
    color: #212529;
}

.favorite-page-section-heading .dashboard-card-subtitle {
    color: #6c757d;
}

.favorite-card-entry {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.favorite-card-entry .dashboard-card-favorite-toggle {
    right: 8px;
}

.favorite-card-shell {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.favorite-card-shell > .analysis-card,
.favorite-card-shell > .dashboard-card-shell,
.favorite-card-shell > .card {
    height: 100%;
    margin-bottom: 0 !important;
}

.favorite-card-shell .dashboard-card-heading {
    padding-right: 2.35rem;
}

.favorite-card-shell .analysis-text-card {
    color: #495057;
    font-size: .84rem;
    line-height: 1.5;
}

.favorite-card-shell .dashboard-card-shell {
    min-height: 100%;
}

.favorite-card-shell .dashboard-interactive-surface {
    cursor: default !important;
}

.favorite-card-shell .dashboard-card-link,
.favorite-card-shell a {
    pointer-events: none;
}

.is-favorite-card {
    box-shadow: 0 0 0 1px rgba(209, 178, 128, 0.45), 0 .5rem 1.2rem rgba(0, 0, 0, .05) !important;
}

.is-favorite-card-target {
    box-shadow: 0 0 0 2px rgba(209, 178, 128, 0.75), 0 .65rem 1.4rem rgba(209, 178, 128, .14) !important;
}

.favorite-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .55rem .2rem 0;
}

.favorite-card-meta {
    color: #6c757d;
    font-size: .76rem;
    line-height: 1.3;
}

.favorite-card-link {
    color: #495057;
    font-size: .76rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.favorite-card-link:hover,
.favorite-card-link:focus {
    color: #212529;
}

@media (max-width: 991.98px) {
    .hdo-page-tools {
        flex-basis: clamp(286px, 48vw, 390px);
    }

    .hdo-page-search {
        flex-basis: clamp(240px, 42vw, 340px);
        max-width: 340px;
    }
}

@media (max-width: 575.98px) {
    .hdo-menu-search-enabled {
        flex-wrap: wrap;
        row-gap: .45rem;
    }

    .hdo-page-search {
        order: 2;
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin-right: 0;
    }

    .hdo-page-tools {
        order: 2;
        flex: 1 1 100%;
        width: 100%;
    }

    .hdo-menu-search-enabled .nav-section {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
    }

    .hdo-menu-search-enabled .menu-page-title-group {
        order: 1;
        margin-left: auto !important;
    }
}

#sitemap-button, #signals-button, #ask-button, #afr-button {
    transform: translateY(-50%);
    background-color: white;
    border: 1px solid #ddd; border-right: none;
    padding: 5px;
    margin-top: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1050;
    transition: box-shadow 0.5s ease, color 0.5s ease; /* Transition plus douce */
}

#sitemap-button, #signals-button, #ask-button {padding: 5px;}
#afr-button a { color: #6c757d; font-weight: bold; text-align: center; display: block }
.afr-label .mode-big { font-size: 0.9rem; text-transform: uppercase;}
.afr-label .mode-small {font-size: 0.6rem; text-transform: lowercase; color: #aaa;line-height: 1;}
#boutons{position: fixed; right:0px; top:30%; z-index: 1200;}

/* Effet de survol */
#sitemap-button:hover, #signals-button:hover, #ask-button:hover, #afr-button:hover {
    border: 1px solid var(--accent-color); border-right: none;
    box-shadow: 0 0 5px var(--accent-color);
}

/* Écrase le style du bouton outline-hdo */
.btn-outline-hdo {
    color: #D1B280;                  /* Couleur du texte (ex: orange foncé) */
    border-color: #D1B280;           /* Couleur de la bordure */
    background-color: transparent;
    transition: all 0.2s ease-in-out;
  }
  
  .btn-outline-hdo:hover,
  .btn-outline-hdo:focus,
  .btn-outline-hdo:active {
    color: rgb(37, 37, 37);
    background-color: #D1B280;       /* Fond au hover */
    border-color: #a79e99;           /* Bordure au hover */
    box-shadow: 0 0 0 0.15rem rgba(75, 58, 47, 0.4);
  }
  
  /* Style spécifique au bouton #start-btn */
  #start-btn {
    border-radius: 0.75rem;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
  }


.offcanvas{z-index: 1300;}
#offcanvasSignals{width: 28vw; overflow-x: hidden!important;  }

.dashboard-signals-list {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.dashboard-signals-item {
    display: grid;
    grid-template-columns: minmax(95px, .8fr) minmax(0, 1.2fr);
    column-gap: .5rem;
    align-items: start;
    padding: .08rem 0;
}

.dashboard-signals-name,
.dashboard-signals-desc {
    min-width: 0;
}

#dashboardSignalsModal .modal-body {
    padding: 1rem 1.25rem;
}

#dashboardSignalsModal .dashboard-signals-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
    row-gap: .12rem;
}

#dashboardSignalsModal .dashboard-signals-item {
    grid-template-columns: minmax(90px, .75fr) minmax(0, 1.25fr);
}

#dashboardSignalsModal .dashboard-signals-domain {
    margin-bottom: .8rem !important;
}

#dashboardSignalsModal .dashboard-signals-summary ul,
#dashboardSignalsModal .dashboard-signals-summary p {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    #dashboardSignalsModal .dashboard-signals-list {
        grid-template-columns: 1fr;
    }
}
.offcanvas_xl{width: 35vw!important; overflow-x: hidden!important;  }

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 40px;
    display: none;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    text-align: center;
    line-height: 40px;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#backToTop:hover {
    transform: scale(1.3);
}

.hdo_link {
    position: relative;
    text-decoration: none;
    color: #585858;
}

.hdo_link::after {
    content: ""; /* Par défaut, pas de contenu */
    position: absolute;
    right: -12px; /* Ajustez si nécessaire */
    opacity: 0; /* Masqué par défaut */
    transition: opacity 0.3s ease;
}
.hdo_link:hover{
    color: #1F3BB3;
}
.hdo_link:hover::after {
    content: "..."; /* Ajoute trois petits points au survol */
    opacity: 1; /* Rendre visible les trois petits points */
}

.hdo-section-anchor {
    display: block;
    height: 0;
    overflow: hidden;
}

#settings-trigger {
    right: 130px;
}


@keyframes slideUp {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
#arrow_up {
    position: fixed;
    bottom: 8px;
    right: 20px;
    height: 40px;
    width: 40px;
    background: #fdfdfd;
    z-index: 99;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    border-radius: 100%;
}

/* Supprime la flèche du dropdown dans les hamburgers des graphs*/
.no-arrow::after {
    display: none !important;
}
/* Main sur les textes du menu hamburger des graphs */
.dropdown-item i {
    cursor: pointer !important;
}

#dashboard_page .dropdown-menu .dropdown-item {
    font-size: .77rem;
    line-height: 1.25;
}

#dashboard_page .dropdown-menu .dropdown-item i {
    font-size: .82rem;
}

#dashboard_page #data-line,
#dashboard_page #icons-line,
#dashboard_page #timeline-card,
#dashboard_page #graphs {
    max-width: none;
    width: 100%;
}

#data-line .card,
#graphs .card,
.dashboard-carto,
.dashboard-mapload,
.dashboard-performance {
    color: #212529;
}

.dashboard-card-shell {
    display: flex;
    flex-direction: column;
}

#data-line .card-body,
#graphs .card-body,
.dashboard-card-body,
.dashboard-mapload > .card-body,
.dashboard-performance > .card-body {
    padding: 1rem !important;
}

#data-line .card-body,
#graphs .card-body,
.dashboard-card-body,
.dashboard-mapload > .card-body,
.dashboard-performance > .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

.dashboard-card-heading {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    min-width: 0;
    margin-bottom: .55rem;
    padding-right: 5.35rem;
}

.hdo-favorite-action-host {
    position: relative;
}

.dashboard-card-info-link {
    position: absolute;
    top: 10px;
    right: calc(8px + 1.7rem + 0px);
    width: 1.7rem;
    height: 1.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    text-decoration: none;
    line-height: 1;
    z-index: 4;
    transition: color .2s ease, opacity .2s ease;
}

.dashboard-card-info-link:hover,
.dashboard-card-info-link:focus {
    color: #495057;
    background: rgba(248, 249, 250, .95);
    border-radius: 50%;
}

.dashboard-card-menu i,
.dashboard-card-info-link i {
    display: block;
    line-height: 1;
    transform: translateY(-.5px);
}

.dashboard-card-favorite-toggle {
    position: absolute;
    top: 10px;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 4;
    width: 1.7rem;
    height: 1.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 50%;
    background: transparent !important;
    color: #adb5bd;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.dashboard-card-favorite-toggle:hover,
.dashboard-card-favorite-toggle:focus-visible {
    color: #d1b280;
    background: rgba(248, 249, 250, .95) !important;
}

.dashboard-card-favorite-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(209, 178, 128, .18);
}

.dashboard-card-favorite-toggle.is-active {
    color: #d1b280;
}

.dashboard-card-info-link i {
    font-size: .95rem;
}

.dashboard-card-heading-tight {
    margin-bottom: 0;
}

.dashboard-card-icon {
    width: 2.2rem;
    flex: 0 0 2.2rem;
    color: inherit;
    font-size: 2rem;
    line-height: 1;
}

.dashboard-card-title {
    margin: 0;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.dashboard-card-subtitle {
    display: block;
    color: #6c757d;
    font-size: .72rem;
    line-height: 1.25;
}

.dashboard-card-content,
#data-line .text-start.d-flex.flex-column {
    gap: .1rem;
    color: #495057;
}

.dashboard-top-card-main {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.dashboard-top-card-footer {
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid rgba(222, 226, 230, .9);
}

.dashboard-card-content small,
#data-line small,
#icons-line small,
#graphs small {
    font-size: .8rem;
    line-height: 1.25;
}

#dashboard_page #data-line > .row > .col > .card,
#dashboard_page #data-line .dashboard-carto {
    transition:
        box-shadow .2s ease,
        border-color .2s ease,
        background-color .2s ease;
}

#dashboard_page #data-line #carto .dashboard-card-content,
#dashboard_page #data-line #conso .dashboard-card-content {
    color: #5f6871;
}

#dashboard_page #data-line #score .dashboard-card-subtitle,
#dashboard_page #data-line #alertes-card .dashboard-card-subtitle {
    color: #495057;
}

#dashboard_page #data-line #alertes-card .dashboard-card-content,
#dashboard_page #data-line #alertes-card .dashboard-card-content small,
#dashboard_page #data-line #alertes-card .mt-2.pt-2.border-top small {
    line-height: 1.3;
}

.dashboard-data-log-chart {
    flex: 1 1 auto;
    min-height: var(--dashboard-data-log-graph-height);
    margin-top: .2rem;
}

.dashboard-data-log-chart .content-graph,
.dashboard-data-log-chart .block-for-graph {
    width: 100%;
    height: var(--dashboard-data-log-graph-height);
    min-height: var(--dashboard-data-log-graph-height);
}

#dashboard_page .dashboard-section-lead {
    max-width: 36rem;
    margin: .35rem auto 0;
    color: #6c757d;
    font-size: .85rem;
    line-height: 1.35;
}

#moteur_page {
    --moteur-gauge-height: 160px;
    --moteur-chart-height: clamp(240px, 30vh, 320px);
    --moteur-wide-chart-height: clamp(280px, 36vh, 380px);
}

#moteur_page .moteur-section-lead {
    max-width: 38rem;
    margin: .35rem auto 1rem;
    color: #6c757d;
    font-size: .85rem;
    line-height: 1.35;
}

#moteur_page .moteur-status-line {
    margin: -.15rem 0 1rem;
    color: #6c757d;
    font-size: .82rem;
    line-height: 1.35;
}

#moteur_page .moteur-card {
    color: #212529;
}

#moteur_page .moteur-card .card-body {
    padding: 1rem !important;
    display: flex;
    flex-direction: column;
    min-height: 0;
    position: relative;
}

#moteur_page .moteur-gauge-slot,
#moteur_page .moteur-chart-slot {
    display: flex;
    flex-direction: column;
    min-height: 0;
    position: relative;
}

#moteur_page .moteur-gauge-slot {
    flex: 0 0 var(--moteur-gauge-height);
    height: var(--moteur-gauge-height);
    overflow: hidden;
}

#moteur_page .moteur-chart-slot {
    flex: 0 0 var(--moteur-chart-height);
    height: var(--moteur-chart-height);
    overflow: hidden;
}

#moteur_page .moteur-gauge-slot .content-graph,
#moteur_page .moteur-chart-slot .content-graph {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    width: 100%;
    height: auto;
}

#moteur_page .moteur-gauge-slot .block-for-graph {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: 100%;
}

.hdo-gauge-content,
.content-graph[data-hdo-graph-kind="gauge"] {
    display: flex;
    flex: 1 1 auto !important;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto !important;
}

.hdo-page .analysis-summary-slot.is-gauge {
    align-items: stretch;
}

.hdo-page .analysis-summary-slot.is-gauge > :not(.content-graph) {
    align-self: center;
}

.hdo-gauge-content > .block-for-graph,
.hdo-gauge-content > .hdo-gauge-container,
.content-graph[data-hdo-graph-kind="gauge"] > .block-for-graph,
.content-graph[data-hdo-graph-kind="gauge"] > .hdo-gauge-container {
    flex: 1 1 auto !important;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: 100% !important;
}

#moteur_page .moteur-chart-slot .block-for-graph {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: 100%;
}

#moteur_page .moteur-chart-slot.is-wide {
    flex-basis: var(--moteur-wide-chart-height);
    height: var(--moteur-wide-chart-height);
}

#moteur_page .moteur-chart-slot.is-wide .content-graph,
#moteur_page .moteur-chart-slot.is-wide .block-for-graph {
    min-height: 0;
    height: 100%;
}

#moteur_page .moteur-card .graph-control-icons,
#moteur_page .moteur-card .position-absolute.top-0.end-0 > .btn-outline-light {
    display: none !important;
}

#moteur_page .moteur-card .h6.col-12.text-center {
    margin-bottom: .35rem;
    text-align: left !important;
    font-size: .82rem;
    color: #6c757d;
}

#moteur_page .moteur-card .dashboard-card-heading {
    margin-bottom: .65rem;
}

#moteur_page .moteur-card .dashboard-card-subtitle {
    display: block;
}

.moteur-graph-modal .graph-control-icons {
    display: none !important;
}

#injection_page,
#map_cde_page,
#avances_page {
    --analysis-summary-height: 150px;
    --analysis-chart-height: clamp(240px, 30vh, 330px);
    --analysis-wide-chart-height: clamp(290px, 38vh, 400px);
}

#injection_page .analysis-section-lead,
#map_cde_page .analysis-section-lead,
#avances_page .analysis-section-lead,
#ve_page .analysis-section-lead,
#torque_page .analysis-section-lead,
#performances_page .analysis-section-lead {
    max-width: 40rem;
    margin: .35rem auto 1rem;
    color: #6c757d;
    font-size: .85rem;
    line-height: 1.35;
}

#injection_page .analysis-card,
#map_cde_page .analysis-card,
#avances_page .analysis-card,
#ve_page .analysis-card,
#torque_page .analysis-card,
#performances_page .analysis-card {
    color: #212529;
}

#injection_page .analysis-card .card-body,
#map_cde_page .analysis-card .card-body,
#avances_page .analysis-card .card-body,
#ve_page .analysis-card .card-body,
#torque_page .analysis-card .card-body,
#performances_page .analysis-card .card-body {
    padding: 1rem !important;
    display: flex;
    flex-direction: column;
    min-height: 0;
    position: relative;
}

#injection_page .analysis-summary-slot,
#map_cde_page .analysis-summary-slot,
#avances_page .analysis-summary-slot,
#ve_page .analysis-summary-slot,
#torque_page .analysis-summary-slot,
#performances_page .analysis-summary-slot,
#injection_page .analysis-chart-slot,
#map_cde_page .analysis-chart-slot,
#avances_page .analysis-chart-slot,
#ve_page .analysis-chart-slot,
#torque_page .analysis-chart-slot,
#performances_page .analysis-chart-slot {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
}

#injection_page .analysis-chart-slot,
#map_cde_page .analysis-chart-slot,
#avances_page .analysis-chart-slot,
#ve_page .analysis-chart-slot,
#torque_page .analysis-chart-slot,
#performances_page .analysis-chart-slot {
    flex: 0 0 var(--analysis-chart-height);
    height: var(--analysis-chart-height);
    overflow: hidden;
}

#injection_page .analysis-summary-slot,
#map_cde_page .analysis-summary-slot,
#avances_page .analysis-summary-slot,
#ve_page .analysis-summary-slot,
#torque_page .analysis-summary-slot,
#performances_page .analysis-summary-slot {
    min-height: var(--analysis-summary-height);
    align-items: center;
    justify-content: center;
}

#injection_page .analysis-chart-slot .content-graph,
#injection_page .analysis-chart-slot .block-for-graph,
#map_cde_page .analysis-chart-slot .content-graph,
#map_cde_page .analysis-chart-slot .block-for-graph,
#avances_page .analysis-chart-slot .content-graph,
#avances_page .analysis-chart-slot .block-for-graph,
#ve_page .analysis-chart-slot .content-graph,
#ve_page .analysis-chart-slot .block-for-graph,
#torque_page .analysis-chart-slot .content-graph,
#torque_page .analysis-chart-slot .block-for-graph,
#performances_page .analysis-chart-slot .content-graph,
#performances_page .analysis-chart-slot .block-for-graph {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    flex: 1 1 auto;
    overflow: hidden;
}

#injection_page .analysis-chart-slot .content-graph,
#map_cde_page .analysis-chart-slot .content-graph,
#avances_page .analysis-chart-slot .content-graph,
#ve_page .analysis-chart-slot .content-graph,
#torque_page .analysis-chart-slot .content-graph,
#performances_page .analysis-chart-slot .content-graph {
    display: flex;
    flex-direction: column;
}

#injection_page .analysis-chart-slot .block-for-graph,
#map_cde_page .analysis-chart-slot .block-for-graph,
#avances_page .analysis-chart-slot .block-for-graph,
#ve_page .analysis-chart-slot .block-for-graph,
#torque_page .analysis-chart-slot .block-for-graph,
#performances_page .analysis-chart-slot .block-for-graph,
#injection_page .analysis-chart-slot [id^="container_"],
#map_cde_page .analysis-chart-slot [id^="container_"],
#avances_page .analysis-chart-slot [id^="container_"],
#ve_page .analysis-chart-slot [id^="container_"],
#torque_page .analysis-chart-slot [id^="container_"],
#performances_page .analysis-chart-slot [id^="container_"] {
    height: 100%;
}

#injection_page .analysis-chart-slot > div[id],
#ve_page .analysis-chart-slot > div[id] {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

#injection_page .analysis-chart-slot > div[id][style*="display:block"],
#injection_page .analysis-chart-slot > div[id][style*="display: block"],
#injection_page .analysis-chart-slot > div[id][style*="display:flex"],
#injection_page .analysis-chart-slot > div[id][style*="display: flex"] {
    display: flex !important;
    flex-direction: column;
    height: 100%;
}

#injection_page .analysis-chart-slot > div[id][style*="display:block"] > .content-graph,
#injection_page .analysis-chart-slot > div[id][style*="display: block"] > .content-graph,
#injection_page .analysis-chart-slot > div[id][style*="display:flex"] > .content-graph,
#injection_page .analysis-chart-slot > div[id][style*="display: flex"] > .content-graph {
    height: 100%;
}

#injection_page .analysis-chart-slot.is-wide .content-graph,
#injection_page .analysis-chart-slot.is-wide .block-for-graph,
#map_cde_page .analysis-chart-slot.is-wide .content-graph,
#map_cde_page .analysis-chart-slot.is-wide .block-for-graph,
#avances_page .analysis-chart-slot.is-wide .content-graph,
#avances_page .analysis-chart-slot.is-wide .block-for-graph,
#ve_page .analysis-chart-slot.is-wide .content-graph,
#ve_page .analysis-chart-slot.is-wide .block-for-graph,
#torque_page .analysis-chart-slot.is-wide .content-graph,
#torque_page .analysis-chart-slot.is-wide .block-for-graph,
#performances_page .analysis-chart-slot.is-wide .content-graph,
#performances_page .analysis-chart-slot.is-wide .block-for-graph {
    min-height: 0;
    height: 100%;
}

#injection_page .analysis-chart-slot.is-wide,
#map_cde_page .analysis-chart-slot.is-wide,
#avances_page .analysis-chart-slot.is-wide,
#ve_page .analysis-chart-slot.is-wide,
#torque_page .analysis-chart-slot.is-wide,
#performances_page .analysis-chart-slot.is-wide {
    flex-basis: var(--analysis-wide-chart-height);
    height: var(--analysis-wide-chart-height);
}

#injection_page .analysis-chart-slot.is-table .content-graph,
#injection_page .analysis-chart-slot.is-table .block-for-graph,
#map_cde_page .analysis-chart-slot.is-table .content-graph,
#map_cde_page .analysis-chart-slot.is-table .block-for-graph,
#avances_page .analysis-chart-slot.is-table .content-graph,
#avances_page .analysis-chart-slot.is-table .block-for-graph,
#ve_page .analysis-chart-slot.is-table .content-graph,
#ve_page .analysis-chart-slot.is-table .block-for-graph,
#torque_page .analysis-chart-slot.is-table .content-graph,
#torque_page .analysis-chart-slot.is-table .block-for-graph,
#performances_page .analysis-chart-slot.is-table .content-graph,
#performances_page .analysis-chart-slot.is-table .block-for-graph {
    min-height: 0;
    height: auto;
}

#injection_page .analysis-chart-slot.is-table,
#map_cde_page .analysis-chart-slot.is-table,
#avances_page .analysis-chart-slot.is-table,
#ve_page .analysis-chart-slot.is-table,
#torque_page .analysis-chart-slot.is-table,
#performances_page .analysis-chart-slot.is-table {
    flex-basis: auto;
    height: auto;
    overflow: visible;
}

#injection_page .analysis-chart-slot.is-table {
    flex-basis: var(--analysis-chart-height);
    height: var(--analysis-chart-height);
    overflow: hidden;
}

#injection_page .analysis-chart-slot.is-table .content-graph,
#injection_page .analysis-chart-slot.is-table .block-for-graph {
    min-height: 0;
    height: 100%;
}

#injection_page .analysis-chart-slot.is-heatmap,
#map_cde_page .analysis-chart-slot.is-heatmap,
#avances_page .analysis-chart-slot.is-heatmap,
#ve_page .analysis-chart-slot.is-heatmap,
#torque_page .analysis-chart-slot.is-heatmap,
#performances_page .analysis-chart-slot.is-heatmap {
    flex: 0 0 var(--hdo-heatmap-slot-height, auto);
    height: var(--hdo-heatmap-slot-height, auto);
    aspect-ratio: 2 / 1;
    overflow: hidden;
}

#injection_page .analysis-chart-slot.is-heatmap .content-graph,
#injection_page .analysis-chart-slot.is-heatmap .block-for-graph,
#map_cde_page .analysis-chart-slot.is-heatmap .content-graph,
#map_cde_page .analysis-chart-slot.is-heatmap .block-for-graph,
#avances_page .analysis-chart-slot.is-heatmap .content-graph,
#avances_page .analysis-chart-slot.is-heatmap .block-for-graph,
#ve_page .analysis-chart-slot.is-heatmap .content-graph,
#ve_page .analysis-chart-slot.is-heatmap .block-for-graph,
#torque_page .analysis-chart-slot.is-heatmap .content-graph,
#torque_page .analysis-chart-slot.is-heatmap .block-for-graph,
#performances_page .analysis-chart-slot.is-heatmap .content-graph,
#performances_page .analysis-chart-slot.is-heatmap .block-for-graph {
    min-height: 0;
    height: 100%;
}

.hdo-heatmap-container {
    aspect-ratio: 2 / 1;
    width: 100%;
    max-width: 100%;
}

:is(#dashboard_page, #moteur_page, #injection_page, #map_cde_page, #avances_page, #ve_page, #torque_page, #performances_page) .content-graph:is(
    [data-f*="heatmap"],
    [data-f="controle_richesse"],
    [data-f="hits_bo_bf"],
    [data-f="table_richesse_carto"],
    [data-f^="table_donnees_map_rpm"],
    [data-f="couple_puissance_cruising"],
    [data-f="tdb_resultat_filtre_hits"]
) {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 2 / 1;
}

:is(#dashboard_page, #moteur_page, #injection_page, #map_cde_page, #avances_page, #ve_page, #torque_page, #performances_page) .content-graph:is(
    [data-f*="heatmap"],
    [data-f="controle_richesse"],
    [data-f="hits_bo_bf"],
    [data-f="table_richesse_carto"],
    [data-f^="table_donnees_map_rpm"],
    [data-f="couple_puissance_cruising"],
    [data-f="tdb_resultat_filtre_hits"]
) > .block-for-graph,
:is(#dashboard_page, #moteur_page, #injection_page, #map_cde_page, #avances_page, #ve_page, #torque_page, #performances_page) .content-graph:is(
    [data-f*="heatmap"],
    [data-f="controle_richesse"],
    [data-f="hits_bo_bf"],
    [data-f="table_richesse_carto"],
    [data-f^="table_donnees_map_rpm"],
    [data-f="couple_puissance_cruising"],
    [data-f="tdb_resultat_filtre_hits"]
) > [id^="container_"] {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 2 / 1;
}

@supports selector(:has(*)) {
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f*="heatmap"]),
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f="controle_richesse"]),
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f="hits_bo_bf"]),
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f="table_richesse_carto"]),
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f^="table_donnees_map_rpm"]),
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f="couple_puissance_cruising"]),
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f="tdb_resultat_filtre_hits"]) {
        flex: 0 0 var(--hdo-heatmap-slot-height, auto);
        height: var(--hdo-heatmap-slot-height, auto);
        aspect-ratio: 2 / 1;
        overflow: hidden;
    }

    .hdo-page .analysis-chart-slot:has(.content-graph[data-f*="heatmap"]) .content-graph,
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f*="heatmap"]) .block-for-graph,
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f="controle_richesse"]) .content-graph,
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f="controle_richesse"]) .block-for-graph,
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f="hits_bo_bf"]) .content-graph,
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f="hits_bo_bf"]) .block-for-graph,
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f="table_richesse_carto"]) .content-graph,
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f="table_richesse_carto"]) .block-for-graph,
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f^="table_donnees_map_rpm"]) .content-graph,
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f^="table_donnees_map_rpm"]) .block-for-graph,
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f="couple_puissance_cruising"]) .content-graph,
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f="couple_puissance_cruising"]) .block-for-graph,
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f="tdb_resultat_filtre_hits"]) .content-graph,
    .hdo-page .analysis-chart-slot:has(.content-graph[data-f="tdb_resultat_filtre_hits"]) .block-for-graph {
        min-height: 0;
        height: 100%;
    }
}

.hdo-heatmap-content,
.content-graph[data-hdo-graph-kind="heatmap"] {
    flex: 0 0 auto !important;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto !important;
    aspect-ratio: 2 / 1;
}

.hdo-heatmap-content > .block-for-graph,
.hdo-heatmap-content > .hdo-heatmap-container,
.content-graph[data-hdo-graph-kind="heatmap"] > .block-for-graph,
.content-graph[data-hdo-graph-kind="heatmap"] > .hdo-heatmap-container {
    flex: 0 0 auto !important;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto !important;
    aspect-ratio: 2 / 1;
}

.hdo-heatmap-meta,
.hdo-ve-heatmap-meta {
    min-height: 1rem;
    margin-bottom: .1rem;
    line-height: 1.1;
    color: #5f6872;
    font-size: .82rem;
    font-weight: 700;
}

.hdo-heatmap-meta small,
.hdo-heatmap-meta span,
.hdo-ve-heatmap-meta small,
.hdo-ve-heatmap-meta span {
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.1;
    margin: 0;
}

@supports selector(:has(*)) {
    .hdo-page .analysis-card:has(.hdo-heatmap-content) .card-body,
    .hdo-page .analysis-card:has(.content-graph[data-hdo-graph-kind="heatmap"]) .card-body {
        height: auto;
    }

    .hdo-page .analysis-chart-slot:has(.hdo-heatmap-content),
    .hdo-page .analysis-chart-slot:has(.content-graph[data-hdo-graph-kind="heatmap"]),
    .hdo-page .moteur-chart-slot:has(.hdo-heatmap-content),
    .hdo-page .moteur-chart-slot:has(.content-graph[data-hdo-graph-kind="heatmap"]),
    .hdo-page .moteur-gauge-slot:has(.hdo-heatmap-content),
    .hdo-page .moteur-gauge-slot:has(.content-graph[data-hdo-graph-kind="heatmap"]) {
        flex: 0 0 auto !important;
        min-height: 0;
        height: auto !important;
        overflow: hidden;
    }

    .hdo-page .analysis-chart-slot:has(.hdo-heatmap-content) > div:has(.hdo-heatmap-content),
    .hdo-page .analysis-chart-slot:has(.content-graph[data-hdo-graph-kind="heatmap"]) > div:has(.content-graph[data-hdo-graph-kind="heatmap"]) {
        flex: 0 0 auto !important;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        height: auto !important;
    }
}

#injection_page .analysis-card .graph-control-icons,
#map_cde_page .analysis-card .graph-control-icons,
#avances_page .analysis-card .graph-control-icons,
#ve_page .analysis-card .graph-control-icons,
#torque_page .analysis-card .graph-control-icons,
#performances_page .analysis-card .graph-control-icons,
#injection_page .analysis-card .position-absolute.top-0.end-0 > .btn-outline-light,
#map_cde_page .analysis-card .position-absolute.top-0.end-0 > .btn-outline-light,
#avances_page .analysis-card .position-absolute.top-0.end-0 > .btn-outline-light,
#ve_page .analysis-card .position-absolute.top-0.end-0 > .btn-outline-light,
#torque_page .analysis-card .position-absolute.top-0.end-0 > .btn-outline-light,
#performances_page .analysis-card .position-absolute.top-0.end-0 > .btn-outline-light {
    display: none !important;
}

#injection_page .analysis-card .dashboard-card-heading,
#map_cde_page .analysis-card .dashboard-card-heading,
#avances_page .analysis-card .dashboard-card-heading,
#ve_page .analysis-card .dashboard-card-heading,
#torque_page .analysis-card .dashboard-card-heading,
#performances_page .analysis-card .dashboard-card-heading {
    margin-bottom: .65rem;
}

#injection_page .analysis-card .dashboard-card-subtitle,
#map_cde_page .analysis-card .dashboard-card-subtitle,
#avances_page .analysis-card .dashboard-card-subtitle,
#ve_page .analysis-card .dashboard-card-subtitle,
#torque_page .analysis-card .dashboard-card-subtitle,
#performances_page .analysis-card .dashboard-card-subtitle {
    display: block;
}

.injection-graph-modal .graph-control-icons,
.mapcde-graph-modal .graph-control-icons,
.avances-graph-modal .graph-control-icons,
.ve-graph-modal .graph-control-icons,
.torque-graph-modal .graph-control-icons,
.performances-graph-modal .graph-control-icons {
    display: none !important;
}

#ve_page,
#torque_page,
#performances_page {
    --analysis-summary-height: 150px;
    --analysis-chart-height: clamp(240px, 30vh, 330px);
    --analysis-wide-chart-height: clamp(290px, 38vh, 400px);
}

#performances_page {
    --analysis-chart-height: clamp(300px, 34vh, 400px);
    --analysis-wide-chart-height: clamp(430px, 54vh, 620px);
    --hdo-performance-gauge-height: clamp(270px, 32vh, 360px);
    --hdo-performance-modal-graph-height: min(72vh, 680px);
    --hdo-performance-modal-gauge-height: min(46vh, 430px);
}

#performances_page .analysis-chart-slot {
    min-height: var(--analysis-chart-height);
}

#performances_page .analysis-chart-slot.is-wide {
    min-height: var(--analysis-wide-chart-height);
}

#performances_page .analysis-chart-slot.is-gauge {
    flex-basis: var(--hdo-performance-gauge-height);
    height: var(--hdo-performance-gauge-height);
    min-height: var(--hdo-performance-gauge-height);
}

#performances_page .performances-gauge-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    min-height: 0;
}

#performances_page .performances-side-col {
    display: flex;
    min-width: 0;
    min-height: 0;
}

#performances_page .performances-side-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    min-width: 0;
}

#performances_page .performances-side-card {
    display: flex;
    min-width: 0;
}

#performances_page .performances-main-curve-col,
#performances_page .performances-gauge-stack-item,
#performances_page .performances-side-card {
    display: flex;
    min-width: 0;
    min-height: 0;
}

#performances_page .performances-gauge-stack-item,
#performances_page .performances-side-card {
    width: 100%;
}

#performances_page .performances-main-curve-col > .analysis-card,
#performances_page .performances-gauge-stack-item > .analysis-card,
#performances_page .performances-side-card > .analysis-card {
    width: 100%;
}

#performances_page .performances-gauge-stack-item > .analysis-card {
    overflow: hidden;
}

@media (min-width: 1200px) {
    #performances_page .performances-main-curve-col > .analysis-card,
    #performances_page .performances-gauge-stack-item > .analysis-card,
    #performances_page .performances-side-card > .analysis-card {
        height: 100%;
    }

    #performances_page .performances-gauge-stack,
    #performances_page .performances-side-stack {
        gap: 1.5rem;
        height: 100%;
    }

    #performances_page .performances-gauge-stack-item,
    #performances_page .performances-side-card {
        flex: 1 1 0;
    }

    #performances_page .performances-side-stack.is-right .performances-side-card.is-compact {
        flex: 0 0 auto;
    }

    #performances_page .performances-side-stack.is-right .performances-side-card.is-compact .card-body {
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }

    #performances_page .performances-side-stack.is-right .performances-gauge-stack-item {
        flex: 1 1 230px;
        min-height: clamp(230px, 24vh, 285px);
    }

    #performances_page .analysis-chart-slot.is-main-curve {
        flex: 1 1 auto;
        flex-basis: auto;
        height: auto;
    }

    #performances_page .analysis-chart-slot.is-stacked-gauge {
        flex: 1 1 auto;
        flex-basis: auto;
        height: auto;
        min-height: clamp(205px, 21vh, 255px);
        overflow: hidden;
    }
}

#performances_page .analysis-chart-slot.is-gauge .hdo-gauge-content,
#performances_page .analysis-chart-slot.is-gauge .hdo-gauge-container,
#performances_page .analysis-chart-slot.is-gauge [id^="container_"] {
    height: 100% !important;
    min-height: 0;
}

#performances_page .analysis-chart-slot > .hdo-lazy-graph-placeholder {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 100% !important;
}

#performances_page .analysis-chart-slot > .hdo-lazy-graph-placeholder[data-hdo-lazy-loaded="1"] {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 0 !important;
}

#performances_page .analysis-chart-slot > .hdo-lazy-graph-placeholder[data-hdo-lazy-loaded="1"] > .content-graph,
#performances_page .analysis-chart-slot > .hdo-lazy-graph-placeholder[data-hdo-lazy-loaded="1"] .block-for-graph,
#performances_page .analysis-chart-slot > .hdo-lazy-graph-placeholder[data-hdo-lazy-loaded="1"] [id^="container_"] {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 0;
}

.performances-graph-modal .modal-body {
    min-height: var(--hdo-performance-modal-graph-height, 620px);
}

.performances-graph-modal .hdo-lazy-graph-placeholder {
    width: 100%;
    max-width: 100%;
    height: var(--hdo-performance-modal-graph-height, 620px);
    min-height: var(--hdo-performance-modal-graph-height, 620px);
}

.performances-graph-modal .hdo-lazy-graph-placeholder[data-hdo-lazy-loaded="1"] {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 0 !important;
}

.performances-graph-modal .content-graph:not([data-hdo-graph-kind="heatmap"]),
.performances-graph-modal .content-graph:not([data-hdo-graph-kind="heatmap"]) > .block-for-graph,
.performances-graph-modal .content-graph:not([data-hdo-graph-kind="heatmap"]) [id^="container_"] {
    width: 100%;
    max-width: 100%;
    height: var(--hdo-performance-modal-graph-height, 620px);
    min-height: var(--hdo-performance-modal-graph-height, 620px);
}

.performances-graph-modal .hdo-gauge-content,
.performances-graph-modal .hdo-gauge-content > .block-for-graph,
.performances-graph-modal .hdo-gauge-content [id^="container_"] {
    height: var(--hdo-performance-modal-gauge-height, 430px) !important;
    min-height: 300px;
}

@supports selector(:has(*)) {
    .performances-graph-modal .modal-body:has(.hdo-gauge-content),
    .performances-graph-modal .hdo-lazy-graph-placeholder:has(.hdo-gauge-content) {
        min-height: 300px;
        height: var(--hdo-performance-modal-gauge-height, 430px);
    }
}

#ve_page .analysis-data-list,
#torque_page .analysis-data-list,
#performances_page .analysis-data-list {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

#ve_page .analysis-data-row,
#torque_page .analysis-data-row,
#performances_page .analysis-data-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .8rem;
    font-size: .82rem;
    line-height: 1.35;
    color: #5f6871;
}

#ve_page .analysis-data-row strong,
#torque_page .analysis-data-row strong,
#performances_page .analysis-data-row strong {
    color: #212529;
    font-weight: 500;
    text-align: right;
}

.analysis-state-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: .16rem .45rem;
    border-radius: 4px;
    font-size: .73rem;
    font-weight: 600;
    line-height: 1.2;
}

.analysis-state-badge.is-success {
    background: rgba(25, 135, 84, .12);
    color: #198754;
}

.analysis-state-badge.is-warning {
    background: rgba(255, 193, 7, .18);
    color: #b58100;
}

.analysis-state-badge.is-danger {
    background: rgba(220, 53, 69, .12);
    color: #dc3545;
}

.analysis-table-compact th,
.analysis-table-compact td {
    font-size: .78rem;
    padding: .4rem .45rem;
    vertical-align: middle;
}

.analysis-table-grid th,
.analysis-table-grid td {
    font-size: .74rem;
}

.analysis-text-card {
    color: #5f6871;
    font-size: .8rem;
    line-height: 1.45;
}

.analysis-text-card p:last-child {
    margin-bottom: 0;
}

#dashboard_page #graphs .dashboard-data-card {
    border: 1px solid rgba(222, 226, 230, .92) !important;
    background: linear-gradient(180deg, rgba(248, 249, 250, .96) 0, rgba(255, 255, 255, 1) 26%);
    box-shadow: 0 .35rem .95rem rgba(33, 37, 41, .05) !important;
}

#dashboard_page #graphs .dashboard-card-heading {
    margin-bottom: .4rem;
}

#dashboard_page #graphs .dashboard-card-icon {
    color: #495057;
}

#dashboard_page #graphs .dashboard-data-card .card-body {
    padding: .95rem 1rem 1rem !important;
}

#dashboard_page {
    --dashboard-card-font-family: var(--bs-body-font-family, inherit);
    --dashboard-card-title-size: .76rem;
    --dashboard-card-subtitle-size: .72rem;
    --dashboard-card-content-size: .8rem;
    --dashboard-card-content-color: #5f6871;
    --dashboard-score-graph-height: clamp(128px, 16vh, 148px);
    --dashboard-hits-graph-height: clamp(112px, 15vh, 136px);
    --dashboard-medium-graph-height: clamp(220px, 28vh, 300px);
    --dashboard-data-log-graph-height: clamp(220px, 26vh, 280px);
}

#dashboard_page #data-line .card,
#dashboard_page #icons-line .card,
#dashboard_page #graphs .card,
#dashboard_page .dashboard-carto,
#dashboard_page .dashboard-mapload,
#dashboard_page .dashboard-performance,
#dashboard_page .dashboard-timeline {
    font-family: var(--dashboard-card-font-family);
}

#dashboard_page .dashboard-card-title {
    font-size: var(--dashboard-card-title-size);
    font-weight: 700;
    line-height: 1.15;
}

#dashboard_page .dashboard-card-subtitle {
    font-size: var(--dashboard-card-subtitle-size);
    line-height: 1.25;
}

#dashboard_page #data-line .card-body small:not(.dashboard-card-subtitle),
#dashboard_page #icons-line .card-body small:not(.dashboard-card-subtitle),
#dashboard_page #graphs .card-body small:not(.dashboard-card-subtitle),
#dashboard_page .dashboard-card-body small:not(.dashboard-card-subtitle),
#dashboard_page .dashboard-mapload small:not(.dashboard-card-subtitle),
#dashboard_page .dashboard-performance small:not(.dashboard-card-subtitle),
#dashboard_page .dashboard-timeline small:not(.dashboard-card-subtitle) {
    font-family: var(--dashboard-card-font-family);
    font-size: var(--dashboard-card-content-size);
    font-weight: 400;
    line-height: 1.35;
    color: var(--dashboard-card-content-color);
}

#dashboard_page .dashboard-card-content,
#dashboard_page #data-line .text-start.d-flex.flex-column,
#dashboard_page #icons-line .text-start.d-flex.flex-column,
#dashboard_page .dashboard-performance-metric,
#dashboard_page .dashboard-performance-legend,
#dashboard_page #icons-line .text-dark,
#dashboard_page #icons-line .text-secondary,
#dashboard_page #data-line .text-secondary,
#dashboard_page .pressure-terrain-values {
    color: var(--dashboard-card-content-color) !important;
}

.dashboard-card-link {
    display: block;
    position: relative;
    isolation: isolate;
    z-index: 0;
    color: inherit;
    transition: color .2s ease;
}

.dashboard-card-link,
.dashboard-card-link:visited,
.dashboard-card-link:hover,
.dashboard-card-link:focus {
    color: inherit !important;
}

.dashboard-card-link::before,
.dashboard-interactive-panel::before,
.dashboard-interactive-chart::before {
    content: "";
    position: absolute;
    inset: 0 -.45rem -.2rem;
    border-radius: .28rem;
    background: transparent;
    transition: background-color .2s ease, box-shadow .2s ease;
    z-index: -1;
}

.dashboard-card-link:hover,
.dashboard-card-link:focus-visible,
.dashboard-interactive-surface:hover,
.dashboard-interactive-surface:focus-visible {
    color: inherit;
    text-decoration: none;
}

.dashboard-card-link:hover::before,
.dashboard-card-link:focus-visible::before,
.dashboard-interactive-surface:hover::before,
.dashboard-interactive-surface:focus-visible::before {
    background: rgba(248, 249, 250, .96);
}

.dashboard-card-link:focus-visible,
.dashboard-interactive-surface:focus-visible {
    outline: none;
}

.dashboard-card-link:focus-visible::before,
.dashboard-interactive-surface:focus-visible::before {
    box-shadow: 0 0 0 2px rgba(13, 110, 253, .12);
}

.dashboard-card-inline-link:hover {
    color: var(--accent-color);
}

.dashboard-interactive-panel,
.dashboard-interactive-chart {
    position: relative;
    isolation: isolate;
    cursor: pointer;
}

#score .dashboard-interactive-chart {
    display: block;
    margin-top: .2rem;
    flex: 1 1 auto;
    min-height: 0;
}

.dashboard-score-histo {
    height: var(--dashboard-score-graph-height);
    min-height: var(--dashboard-score-graph-height);
}

.dashboard-hits-chart {
    flex: 1 1 auto;
    height: auto;
    min-height: var(--dashboard-hits-graph-height);
}

.dashboard-hits-chart > div {
    height: 100% !important;
    min-height: var(--dashboard-hits-graph-height);
}

#hits .text-start.d-flex.flex-column.flex-grow-1 > small.d-block {
    order: 2;
    display: block;
    margin-top: .35rem;
    text-align: right;
}

#hits .text-start.d-flex.flex-column.flex-grow-1 > .dashboard-hits-chart {
    order: 1;
}

#hits .card-body > .text-dark {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.dashboard-score-summary {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.dashboard-score-summary-block {
    display: flex;
    flex-direction: column;
    gap: .14rem;
}

.dashboard-score-summary-heading {
    display: flex;
    flex-direction: column;
    gap: .02rem;
}

.dashboard-score-summary-title {
    font-size: .69rem;
    font-weight: 600;
    line-height: 1.15;
    color: #495057;
}

.dashboard-score-summary-caption {
    font-size: .72rem;
    line-height: 1.2;
    color: #7b848d;
}

.dashboard-score-summary-line,
.dashboard-alertes-grid-label,
.dashboard-alertes-grid-value,
.dashboard-alertes-pill,
.dashboard-performance-detail-label,
.dashboard-performance-detail-value,
.dashboard-performance-detail-inline-muted {
    font-size: var(--dashboard-card-content-size);
    line-height: 1.35;
}

.dashboard-score-summary-line {
    color: var(--dashboard-card-content-color);
}

.dashboard-score-summary-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.dashboard-score-summary-link {
    text-decoration: none;
    cursor: pointer;
}

.dashboard-score-summary-link:hover,
.dashboard-score-summary-link:focus {
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(33, 37, 41, 0.08) inset;
}

.dashboard-score-summary-separator {
    padding: 0 .22rem;
    color: #9aa2aa;
}

.dashboard-score-summary-focus {
    font-weight: 600;
}

.dashboard-alertes-panel {
    display: block;
}

#dashboard_page #data-line #score .dashboard-top-card-main,
#dashboard_page #data-line #alertes-card .dashboard-top-card-main {
    gap: .1rem;
}

.dashboard-alertes-grid {
    display: flex;
    flex-direction: column;
    gap: .38rem;
}

.dashboard-alertes-grid-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: .8rem;
    row-gap: .18rem;
}

.dashboard-alertes-grid-label {
    font-weight: 400;
    color: var(--dashboard-card-content-color);
}

.dashboard-alertes-grid-value {
    font-weight: 500;
    color: var(--dashboard-card-content-color);
    text-align: right;
}

.dashboard-alertes-grid-separator {
    height: 1px;
    background: rgba(222, 226, 230, .9);
    margin: .06rem 0;
}

.dashboard-alertes-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .12rem .46rem;
    font-weight: 500;
    white-space: nowrap;
}

.dashboard-alertes-pill.is-ok {
    color: #198754;
    background: rgba(25, 135, 84, .1);
}

.dashboard-alertes-pill.is-warning {
    color: #b06a00;
    background: rgba(255, 193, 7, .16);
}

.dashboard-alertes-pill.is-danger {
    color: #dc3545;
    background: rgba(220, 53, 69, .1);
}

.dashboard-alertes-priority-value {
    font-weight: 400;
}

.dashboard-card-menu {
    top: 10px !important;
    right: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    z-index: 4;
    width: 1.7rem;
    height: 1.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color .2s ease, color .2s ease;
}

.dashboard-card-menu:hover,
.dashboard-card-menu:focus-visible {
    background: rgba(248, 249, 250, .95) !important;
}

.dashboard-card-menu:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, .12);
}

.dashboard-card-inline-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .45rem;
    color: #6c757d;
    font-size: .75rem;
    line-height: 1.25;
    text-decoration: none;
}

.dashboard-score-detail-panel:empty {
    display: none;
}

.dashboard-score-detail-content {
    width: 100%;
    padding-top: .75rem;
    border-top: 1px solid #dee2e6;
}

.dashboard-score-detail-heading {
    margin-bottom: .65rem;
    color: #212529;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.dashboard-modal .modal-content {
    border: 1px solid rgba(222, 226, 230, .95);
    border-radius: 0;
    box-shadow: 0 1rem 2rem rgba(33, 37, 41, .12);
}

.dashboard-modal .modal-header {
    align-items: center;
    padding: .8rem 1rem;
    border-bottom: 1px solid rgba(222, 226, 230, .9);
    background: linear-gradient(180deg, rgba(248, 249, 250, .98) 0, rgba(255, 255, 255, 1) 100%);
}

.dashboard-modal .modal-title {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    color: #495057;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
}

.dashboard-modal .modal-title i {
    color: #6c757d;
    font-size: .95rem;
}

.dashboard-modal .btn-close {
    transform: scale(.88);
    transform-origin: center;
    opacity: .55;
}

.dashboard-modal .btn-close:hover,
.dashboard-modal .btn-close:focus {
    opacity: .8;
    box-shadow: none;
}

.dashboard-modal .modal-body {
    padding: 1rem 1.05rem;
}

.dashboard-modal .modal-body.small {
    font-size: .84rem;
    line-height: 1.5;
}

.dashboard-modal-copy {
    color: #495057;
}

.dashboard-modal-intro {
    margin-bottom: 1rem;
    color: #343a40;
    font-size: .88rem;
    line-height: 1.55;
}

.dashboard-modal-section + .dashboard-modal-section {
    margin-top: 1rem;
    padding-top: .95rem;
    border-top: 1px solid rgba(222, 226, 230, .8);
}

.dashboard-modal-section-title {
    margin: 0 0 .45rem;
    color: #495057;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.dashboard-modal-section-subtitle {
    margin: 0 0 .45rem;
    color: #6c757d;
    font-size: .75rem;
    line-height: 1.35;
}

.dashboard-modal-copy p:last-child,
.dashboard-modal-copy ul:last-child {
    margin-bottom: 0;
}

.dashboard-modal-copy p {
    margin-bottom: .55rem;
}

.dashboard-modal-list {
    margin: 0;
    padding-left: 1rem;
}

.dashboard-modal-list li + li {
    margin-top: .3rem;
}

.dashboard-alertes-modal-copy {
    margin-bottom: 1.1rem;
}

.dashboard-alertes-status {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.35rem;
    margin: .15rem 0 .9rem;
}

.dashboard-alertes-status-item {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 500;
}

.dashboard-alertes-thresholds {
    border: 1px solid rgba(222, 226, 230, .8);
}

.dashboard-alertes-thresholds table {
    font-size: .8rem;
}

.dashboard-alertes-thresholds th,
.dashboard-alertes-thresholds td {
    padding: .45rem .55rem;
}

#dashboardAlertesModal #alertes .table thead th {
    color: #495057;
    font-size: .76rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

#dashboardAlertesModal #alertes .table tbody td {
    vertical-align: middle;
}




#user-register-moto-table, #liste_logs {
    --bs-table-bg: transparent; /* ou la couleur de votre choix */
}

#logs_page,
#motos_page {
    --hdo-setup-card-content-color: #5f6871;
}

#logs_page .analysis-section-lead,
#motos_page .analysis-section-lead {
    max-width: 42rem;
    margin: .35rem auto 1rem;
    color: #6c757d;
    font-size: .85rem;
    line-height: 1.35;
}

#logs_page .analysis-card,
#motos_page .analysis-card {
    color: #212529;
}

#logs_page .analysis-card .card-body,
#motos_page .analysis-card .card-body {
    padding: 1rem !important;
    display: flex;
    flex-direction: column;
    min-height: 0;
    position: relative;
}

#logs_page .dashboard-card-content,
#motos_page .dashboard-card-content {
    color: var(--hdo-setup-card-content-color);
    font-size: .8rem;
    line-height: 1.4;
}

#logs_page .hdo-form-grid .form-label,
#motos_page .hdo-form-grid .form-label {
    margin-bottom: .25rem;
    color: #6c757d;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

#logs_page .hdo-form-grid .form-control,
#logs_page .hdo-form-grid .form-select,
#motos_page .hdo-form-grid .form-control,
#motos_page .hdo-form-grid .form-select {
    font-size: .78rem;
    min-height: 2.05rem;
}

#logs_page .hdo-table-shell,
#motos_page .hdo-table-shell {
    min-width: 0;
}

#logs_page .hdo-log-table thead th,
#motos_page .hdo-motos-table thead th {
    color: #495057;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom-color: rgba(222, 226, 230, .95);
}

#logs_page .hdo-log-table tbody td,
#motos_page .hdo-motos-table tbody td {
    color: #495057;
}

#logs_page .hdo-log-table tbody tr:hover,
#motos_page .hdo-motos-table tbody tr:hover {
    background-color: rgba(248, 249, 250, .92);
}

#motos_page .hdo-motos-table tbody tr.is-active {
    background-color: rgba(209, 178, 128, .12);
}

#motos_page .hdo-current-context {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

#motos_page .hdo-inline-input {
    min-width: 11rem;
    box-shadow: none;
}

#motos_page .hdo-selection-summary:empty {
    display: none;
}

#logs_page .moto-section + .moto-section {
    margin-top: 1rem;
}

#logs_page .hdo-log-table .log-selected a {
    font-weight: 700;
}

#logs_page .hdo-log-table .bi-arrow-bar-right {
    color: var(--accent-color);
}

#logs_page .hdo-log-table .selectalogforpartage,
#logs_page .hdo-log-table .check_for_select,
#motos_page .hdo-icon-action {
    cursor: pointer;
}

#motos_page .hdo-icon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    color: #212529;
    text-decoration: none;
    border-radius: 50%;
    transition: color .2s ease, background-color .2s ease;
}

#motos_page .hdo-icon-action:hover,
#motos_page .hdo-icon-action:focus {
    color: #212529;
    background: rgba(108, 117, 125, .12);
}

#logs_page #mapcibletable .table,
#logs_page #mapcibletable table {
    font-size: .78rem;
}

#comparaison_page {
    --comparison-muted: #6c757d;
}

#comparaison_page .analysis-card .card-body {
    padding: 1rem !important;
}

#comparaison_page .comparison-log-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: .75rem;
}

#comparaison_page .comparison-log-item {
    min-width: 0;
    padding: .75rem;
    border: 1px solid rgba(222, 226, 230, .95);
    border-radius: .5rem;
    background: #fff;
}

#comparaison_page .comparison-log-item.is-current {
    border-color: rgba(13, 110, 253, .35);
    background: rgba(13, 110, 253, .035);
}

#comparaison_page .comparison-log-kicker {
    color: var(--comparison-muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.2;
    text-transform: uppercase;
}

#comparaison_page .comparison-log-title {
    margin-top: .1rem;
    color: #212529;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
}

#comparaison_page .comparison-log-meta,
#comparaison_page .comparison-log-carto {
    color: var(--comparison-muted);
    font-size: .78rem;
    line-height: 1.25;
}

#comparaison_page .comparison-log-carto {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#comparaison_page .comparison-verdict-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .55rem .65rem;
    border: 1px solid rgba(222, 226, 230, .95);
    border-radius: .5rem;
    background: #f8f9fa;
}

#comparaison_page .comparison-verdict-label {
    color: #495057;
    font-size: .82rem;
    font-weight: 600;
}

#comparaison_page .comparison-message-list {
    padding-left: 1.1rem;
    color: #495057;
    font-size: .84rem;
    line-height: 1.45;
}

#comparaison_page .comparison-picker .form-label {
    color: #6c757d;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
}

#comparaison_page .comparison-table th {
    color: #495057;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

#comparaison_page .comparison-table td {
    color: #495057;
    font-size: .82rem;
}

@media (max-width: 767.98px) {
    #logs_page .menu-page .nav-item,
    #motos_page .menu-page .nav-item {
        padding-left: .5rem !important;
        padding-right: .5rem !important;
    }

    #logs_page .dashboard-card-heading,
    #motos_page .dashboard-card-heading {
        padding-right: 0;
    }
}


#sliders_scores_log a {text-decoration: none; color: black;}
#sliders_scores_log a:hover {color: rgb(39, 94, 245);}
.statistics-title a {text-decoration: none; color: #999;}
.statistics-title a:hover {color: rgb(39, 94, 245);}


 /*sliders min et max des heatmaps page VE.php*/
.range-container {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 0;
}

.range-container .range-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: #e6e9ed;
    border-radius: 5px;
}

.range-container .range-highlight {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: blue;
    border-radius: 0px;
   transition: left 0.1s, right 1.3s ease-in-out;
}

.range-container .range-thumb {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 18px; /* Taille du thumb */
    height: 18px; /* Taille du thumb */
    background: white; /* Fond blanc */
    border: 1px solid #dee2e6; /* Bordure de couleur */
    border-radius: 50%; /* Forme ronde */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px; /* Taille du texte */
    box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;
    opacity: 0; /* Initialement invisible */
    transition: left 1.3s ease-in-out, opacity 0.5s ease-in-out; /* Animation de la translation et de l'opacité */
}

.range-thumb.animate {
    opacity: 1; /* Rendre visible */
}

.range-container .range-thumb .inner-circle {
    position: absolute;
    width: 6px; /* Largeur du point rond */
    height: 6px; /* Hauteur du point rond */
    background: rgb(0, 110, 255); /* Couleur du point rond */
    border-radius: 50%; /* Forme ronde */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrer le point rond */
}
.range-container .range-thumb .thumb-value {
    position: absolute;
    bottom: 20px; /* Positionne le texte au-dessus du thumb */
    width: 40px;
    text-align: center;
    color: rgb(7, 7, 7); /* Texte  */
    background: white; /* Fond blanc pour meilleure lisibilité */
}

@keyframes slideAnimation {
    0% {
      transform: translateX(-200%); /* Position initiale du handle */
    }
    100% {
      transform: translateX(0%); /* Déplacement du handle vers la droite */
    }
  }
  .noUi-handle.noUi-handle-lower {
    animation: slideAnimation 1s;
  }



#stageSelect:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1); /* halo gris clair */
    border-color: #bbb; /* bordure grise */
    outline: none;
    }


/*icones laterales*/

.graph-control-icons a {
transition: all 0.2s ease-in-out;
display: inline-block;
border-radius: 3px;
box-shadow: 0 0 0 2px #e6e6e6; 
background-color: #f8f8f8;
padding: 2px;
    }
    
.graph-control-icons a:hover,
.graph-control-icons a:focus {
    background-color: #f0f0f0;
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color); /* effet focus */
    cursor: pointer;
    }

/* S'applique à toutes les cellules cliquables tableau des CDE*/
#cde-map-table td[onclick] {
	cursor: pointer;
	transition: background-color 0.2s ease;
}

#cde-map-table td[onclick]:hover {
	background-color: #ececec;
}


/* SPINNER
======================================================================*/
.bgwhite {background:#ffffff !important;}
.spinner-border{position:absolute; top:40%; left:50%;}
.spinnermessage {position:absolute; top:50%; left:50%; width:600px; margin-left:-300px; margin-top:50px; font-weight:300; text-align: center}
.cssload-loader {position:absolute; top:0px; left:0; width:100%; height:100%; background-color:rgba(0,0,0,.5); border-radius:4px; z-index: 99999}

.fuel-scale {
    width: 96px;
}

.fuel-scale-bar {
    position: relative;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #198754 0 40%, #ffc107 40% 70%, #dc3545 70% 100%);
}

.fuel-scale-marker {
    position: absolute;
    top: 50%;
    left: clamp(5px, var(--fuel-scale-position), calc(100% - 5px));
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #212529;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .25);
    transform: translate(-50%, -50%);
}

.fuel-scale-labels {
    position: relative;
    color: #6c757d;
    font-size: .65rem;
    line-height: 1;
    padding-top: 3px;
    height: .8rem;
}

.fuel-scale-labels span {
    position: absolute;
    transform: translateX(-50%);
}

.fuel-scale-labels span:nth-child(1) {
    left: 0;
    transform: none;
}

.fuel-scale-labels span:nth-child(2) {
    left: 40%;
}

.fuel-scale-labels span:nth-child(3) {
    left: 70%;
}

.speed-scale {
    max-width: 150px;
}

.speed-scale-bar {
    position: relative;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e9ecef 0 var(--speed-threshold-position, 65%), #212529 var(--speed-threshold-position, 65%) 100%);
}

.speed-scale-marker {
    position: absolute;
    top: 50%;
    left: clamp(4px, var(--speed-scale-position), calc(100% - 4px));
    width: 8px;
    height: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #212529;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .2);
    transform: translate(-50%, -50%);
}

.speed-scale-labels {
    position: relative;
    height: .8rem;
    padding-top: .25rem;
    color: #6c757d;
    font-size: .65rem;
    line-height: 1;
}

.speed-scale-threshold {
    position: absolute;
    left: var(--speed-threshold-position, 65%);
    transform: translateX(-50%);
}

.dashboard-carto,
.dashboard-mapload,
.dashboard-performance {
    min-height: 250px;
}

#dashboard_page #icons-line #hits > .card,
#dashboard_page #icons-line .dashboard-mapload,
#dashboard_page #icons-line .dashboard-performance {
    min-height: 0;
}

#dashboard_page #icons-line .dashboard-mapload .dashboard-interactive-chart {
    min-height: clamp(200px, 22vh, 250px);
}

#dashboard_page #icons-line .dashboard-performance-graph {
    min-height: clamp(200px, 22vh, 250px);
}

.dashboard-timeline {
    min-height: 0;
}

.dashboard-timeline-content {
    width: 100%;
}

.dashboard-timeline .dashboard-card-body {
    padding-bottom: .75rem !important;
}

.dashboard-timeline-content .block-for-graph,
.dashboard-timeline-content [id^="container_"] {
    width: 100%;
    height: 360px !important;
    min-height: 360px;
    max-height: 360px;
}

.dashboard-hits-col,
.dashboard-mapload-col,
.dashboard-performance-col {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

@media (min-width: 768px) {
    .dashboard-hits-col,
    .dashboard-mapload-col,
    .dashboard-performance-col {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
    }
}

@media (min-width: 1400px) {
    .dashboard-hits-col,
    .dashboard-mapload-col {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        width: 33.333333%;
    }

    .dashboard-performance-col {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        width: 33.333333%;
    }
}

.dashboard-performance-metrics {
    flex: 0 0 42%;
    min-width: 0;
}

.dashboard-performance-badge {
    font-size: .68rem;
    font-weight: 500;
    padding: .2rem .42rem;
    border-radius: .22rem;
    opacity: .88;
}

@media (max-width: 991.98px) {
    #dashboard_page {
        --dashboard-card-title-size: .73rem;
        --dashboard-card-subtitle-size: .69rem;
        --dashboard-card-content-size: .77rem;
        --dashboard-score-graph-height: clamp(118px, 15vh, 138px);
        --dashboard-hits-graph-height: clamp(108px, 14vh, 130px);
        --dashboard-medium-graph-height: clamp(210px, 24vh, 270px);
        --dashboard-data-log-graph-height: clamp(200px, 22vh, 250px);
    }

    .dashboard-card-icon {
        width: 1.8rem;
        flex: 0 0 1.8rem;
        font-size: 1.65rem;
    }

    .dashboard-card-info-link i {
        font-size: .88rem;
    }

    .dashboard-score-summary-line {
        flex-wrap: wrap;
        row-gap: .15rem;
    }

    .dashboard-score-summary-badges {
        gap: .2rem;
    }

    .dashboard-alertes-grid-row {
        align-items: flex-start;
        gap: .35rem;
    }

    .dashboard-alertes-grid-label,
    .dashboard-alertes-grid-value,
    .dashboard-alertes-pill {
        font-size: .78rem;
    }
}

.dashboard-performance-metric {
    border-left: 3px solid #dee2e6;
    padding-left: .75rem;
}

.dashboard-performance-details {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.dashboard-performance-footer-row {
    display: flex;
    flex-direction: column;
}

.dashboard-performance-detail-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
}

.dashboard-performance-detail-label {
    color: #6c757d;
    white-space: nowrap;
}

.dashboard-performance-detail-value {
    color: var(--dashboard-card-content-color);
    text-align: right;
}

.dashboard-performance-detail-inline-muted {
    color: #6c757d;
}

.dashboard-performance-metric strong {
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 600;
}

.dashboard-performance-graph {
    min-width: 0;
    min-height: calc(var(--dashboard-medium-graph-height) + 20px);
    display: flex;
    flex-direction: column;
}

.dashboard-performance-graph-surface {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 100%;
    position: relative;
}

.dashboard-performance-graph-surface .dashboard-performance-chart {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: auto;
    max-height: none;
}

.dashboard-performance-empty-message {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 1rem;
    border: 1px dashed #dee2e6;
    border-radius: .35rem;
    background: rgba(248, 249, 250, .72);
    color: #6c757d;
    text-align: center;
    gap: .35rem;
}

.dashboard-performance-empty-message strong {
    color: #495057;
    font-size: .9rem;
    line-height: 1.15;
}

.dashboard-performance-empty-message span {
    max-width: 18rem;
    font-size: .75rem;
    line-height: 1.25;
}

.dashboard-performance-legend {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .2rem;
    flex-wrap: wrap;
    position: absolute;
    top: calc(.25rem + 20px);
    left: .55rem;
    z-index: 2;
    font-size: .68rem !important;
    line-height: 1.15 !important;
    color: #6c757d !important;
    pointer-events: none;
}

.dashboard-performance-legend-item {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    white-space: nowrap;
}

.dashboard-performance-graph-meta {
    display: block;
    text-align: right;
    margin-top: auto;
    padding-top: .35rem;
}

@media (max-width: 1399.98px) {
    .dashboard-performance-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: .05rem;
    }

    .dashboard-performance-detail-value {
        text-align: left;
    }

    .dashboard-performance-graph-meta {
        text-align: left;
    }
}

.dashboard-performance-legend-line {
    display: inline-block;
    width: 28px;
    border-top: 2px solid currentColor;
}

.dashboard-performance-legend-line-dashed {
    border-top-style: dashed;
}

.dashboard-large-graph-modal .modal-dialog {
    width: 90vw;
    max-width: 90vw;
    height: 90vh;
    margin: 5vh auto;
}

.dashboard-large-graph-modal .modal-content {
    height: 100%;
}

.dashboard-large-graph-modal .modal-header {
    padding: .75rem 1rem;
}

.dashboard-large-graph-modal .modal-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: .75rem 1rem 1rem;
}

.dashboard-large-graph-modal #dashboardLazyGraphModalContent {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.dashboard-large-graph-modal #dashboardLazyGraphModalContent .block-for-graph,
.dashboard-large-graph-modal #dashboardLazyGraphModalContent [id^="container_"] {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
}

.dashboard-large-graph-modal .dashboard-timeline-content {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
}

.dashboard-large-graph-modal .dashboard-timeline-content .add_spline_to_timeline_wrap {
    flex: 0 0 auto;
    margin-bottom: .5rem;
}

.dashboard-large-graph-modal .dashboard-timeline-content .block-for-graph {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
}

.dashboard-large-graph-modal .dashboard-timeline-content .block-for-graph > [id^="container_"] {
    margin-top: auto;
    margin-bottom: auto;
}

.dashboard-mapload-chart {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: 100%;
    max-height: none;
}

.dashboard-mapload {
    display: flex;
    flex-direction: column;
}

.dashboard-mapload .dashboard-interactive-chart {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: .2rem;
    cursor: pointer;
}

.dashboard-mapload-meta-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    margin-top: .35rem;
    color: var(--dashboard-card-content-color);
}

.pressure-terrain {
    position: relative;
    flex: 1 1 58px;
    min-height: 58px;
    overflow: hidden;
}

.dashboard-pressure-source-row {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: .1rem 0 .1rem 2.85rem;
}

.dashboard-pressure-source-badge {
    flex: 0 0 auto;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: 0;
}

.dashboard-pressure-source-text {
    color: #495057 !important;
    font-size: .78rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.dashboard-pressure-meta-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
}

.pressure-terrain-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 2px;
    bottom: 0;
    background: linear-gradient(180deg, #dee2e6 0%, #f1f3f5 100%);
    clip-path: polygon(
        0 88%,
        10% 78%,
        21% 62%,
        33% 72%,
        45% 38%,
        59% 66%,
        70% 48%,
        84% 72%,
        100% 58%,
        100% 100%,
        0 100%
    );
}

.pressure-terrain-point {
    position: absolute;
    left: var(--pressure-point-x);
    top: var(--pressure-point-y);
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #dc3545;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .25);
    transform: translate(-50%, -50%);
    z-index: 2;
}

.pressure-terrain-values {
    position: absolute;
    left: var(--pressure-point-x);
    top: var(--pressure-point-y);
    display: flex;
    gap: .5rem;
    white-space: nowrap;
    color: #495057;
    transform: translate(-50%, calc(-100% - 8px));
    z-index: 2;
}

#actions_log_page .actions-log-table th,
#actions_log_page .actions-log-table td {
    font-size: .8rem;
    vertical-align: middle;
}

#actions_log_page .actions-log-table th {
    color: #212529;
    font-weight: 500;
}

#actions_log_page .dashboard-card-title {
    font-size: .82rem;
}

#actions_log_page .dashboard-card-subtitle,
#actions_log_page .dashboard-alertes-grid,
#actions_log_page .dashboard-score-summary,
#actions_log_page .dashboard-modal-copy,
#actions_log_page .dashboard-alertes-status,
#actions_log_page .analysis-text-card,
#actions_log_page .dashboard-score-summary-caption {
    font-size: .8rem;
}

#actions_log_page .dashboard-modal-section-title {
    margin: 0 0 .4rem;
    color: #5f6871;
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

#actions_log_page .dashboard-alertes-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1rem;
    flex-wrap: wrap;
}

#actions_log_page .actions-log-table td > div {
    white-space: nowrap;
}

#actions_log_page .dashboard-actions-score-chart {
    margin-top: .35rem;
}

#actions_log_page .dashboard-actions-score-chart .dashboard-score-histo {
    height: clamp(144px, 18vh, 184px);
    min-height: clamp(144px, 18vh, 184px);
}

.hdo-domain-top-row .dashboard-card-heading {
    padding-right: 0;
}

.hdo-domain-top-row .dashboard-card-title {
    font-size: .82rem;
}

.hdo-domain-top-row .dashboard-card-subtitle,
.hdo-domain-top-row .dashboard-score-summary,
.hdo-domain-top-row .dashboard-score-summary-caption,
.hdo-domain-top-row .dashboard-card-content,
.hdo-domain-top-row .hdo-domain-audit-list,
.hdo-domain-top-row .hdo-domain-audit-facts {
    font-size: .8rem;
}

.hdo-domain-score-chart {
    margin-top: .35rem;
}

.hdo-domain-score-chart .dashboard-score-histo {
    height: clamp(144px, 18vh, 184px);
    min-height: clamp(144px, 18vh, 184px);
}

.hdo-domain-audit-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.hdo-domain-audit-content > .d-flex > p {
    min-width: 0;
}

.hdo-domain-audit-score-stack {
    max-width: 17rem;
    margin-top: .5rem;
    gap: .24rem;
}

.hdo-domain-audit-facts {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.hdo-domain-audit-facts span {
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    padding: .12rem .45rem;
    border: 1px solid rgba(108, 117, 125, .16);
    border-radius: .28rem;
    background: rgba(108, 117, 125, .06);
    color: #495057;
    line-height: 1.15;
}

.hdo-domain-audit-list {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding-left: 0;
    color: #495057;
    line-height: 1.35;
    list-style: none;
}

.hdo-domain-audit-list li {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
}

.hdo-domain-audit-dot {
    width: .42rem;
    height: .42rem;
    flex: 0 0 .42rem;
    margin-top: .38rem;
    border-radius: 50%;
    background: #adb5bd;
}

.hdo-domain-audit-dot.is-ok {
    background: #69b37b;
}

.hdo-domain-audit-dot.is-warning {
    background: #e0a100;
}

.hdo-domain-audit-dot.is-danger {
    background: #dc3545;
}

.hdo-domain-data-placeholder {
    flex: 1 1 auto;
    min-height: clamp(144px, 18vh, 184px);
}

.hdo-domain-data-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: clamp(144px, 18vh, 184px);
}

.hdo-domain-action-card {
    overflow: visible;
}

.hdo-domain-action-list {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.hdo-domain-action-item {
    display: grid;
    grid-template-columns: minmax(11rem, .9fr) minmax(13rem, 1.15fr) minmax(13rem, 1fr) minmax(14rem, 1.2fr);
    gap: .9rem;
    align-items: start;
    padding: .85rem 0;
    border-top: 1px solid rgba(0, 0, 0, .075);
}

.hdo-domain-action-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.hdo-domain-action-label {
    display: block;
    margin-bottom: .25rem;
    color: #6c757d;
    font-size: .68rem;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
}

.hdo-domain-action-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.4rem;
    padding: .14rem .5rem;
    border: 1px solid transparent;
    border-radius: .28rem;
    font-size: .68rem;
    font-weight: 600;
    line-height: 1.1;
}

.hdo-domain-action-badge.is-danger {
    color: #a61e2d;
    background: rgba(220, 53, 69, .14);
    border-color: rgba(220, 53, 69, .3);
}

.hdo-domain-action-badge.is-warning {
    color: #9a6a00;
    background: rgba(255, 193, 7, .18);
    border-color: rgba(255, 193, 7, .32);
}

.hdo-domain-action-badge.is-neutral {
    color: #5f6871;
    background: rgba(108, 117, 125, .08);
    border-color: rgba(108, 117, 125, .16);
}

.hdo-domain-action-score-stack {
    margin-top: .55rem;
}

.hdo-domain-action-facts {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.hdo-domain-action-facts span {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    padding: .12rem .45rem;
    border-radius: .25rem;
    color: #495057;
    background: #f1f3f5;
    font-size: .75rem;
    line-height: 1.1;
}

.hdo-domain-action-alerts,
.hdo-domain-action-actions {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-top: .55rem;
    padding-left: 1rem;
    color: #495057;
    font-size: .82rem;
    line-height: 1.35;
}

.hdo-domain-action-alerts {
    padding-left: 0;
    list-style: none;
}

.hdo-domain-action-alerts li {
    display: flex;
    gap: .45rem;
    align-items: flex-start;
}

@media (max-width: 1199.98px) {
    .hdo-domain-action-item {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .hdo-domain-action-item {
        grid-template-columns: 1fr;
    }
}

#actions_log_page .actions-log-summary-table th {
    font-size: .72rem;
    color: #212529;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .02em;
    border-top: 0;
}

#actions_log_page .actions-log-summary-table td {
    vertical-align: top;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: .82rem;
}

#actions_log_page .actions-log-summary-table tbody tr:first-child td {
    border-top: 0;
}

#actions_log_page .actions-log-domain-cell a {
    color: #212529;
}

#actions_log_page .actions-log-domain-cell .badge {
    align-self: flex-start;
}

#actions_log_page .actions-log-domain-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.4rem;
    padding: .14rem .5rem;
    border: 1px solid transparent;
    border-radius: .28rem;
    font-size: .68rem;
    font-weight: 600;
    line-height: 1.1;
}

#actions_log_page .actions-log-domain-badge.is-danger {
    color: #a61e2d;
    background: rgba(220, 53, 69, .14);
    border-color: rgba(220, 53, 69, .3);
}

#actions_log_page .actions-log-domain-badge.is-warning {
    color: #9a6a00;
    background: rgba(255, 193, 7, .18);
    border-color: rgba(255, 193, 7, .32);
}

#actions_log_page .actions-log-domain-badge.is-neutral {
    color: #5f6871;
    background: rgba(108, 117, 125, .08);
    border-color: rgba(108, 117, 125, .16);
}

#actions_log_page .actions-log-domain-cell a:hover,
#actions_log_page .actions-log-domain-cell a:focus {
    color: #111;
    text-decoration: underline !important;
}

#actions_log_page .actions-log-list {
    margin: 0;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    color: #495057;
    line-height: 1.4;
    font-size: .82rem;
}

#actions_log_page .actions-log-alert-item {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    list-style: none;
    margin-left: -1rem;
}

#actions_log_page .actions-log-alert-dot {
    width: .42rem;
    height: .42rem;
    flex: 0 0 .42rem;
    margin-top: .38rem;
    border-radius: 50%;
    background: #adb5bd;
}

#actions_log_page .actions-log-alert-dot.is-ok {
    background: #69b37b;
}

#actions_log_page .actions-log-alert-dot.is-warning {
    background: #e0a100;
}

#actions_log_page .actions-log-alert-dot.is-danger {
    background: #dc3545;
}

#actions_log_page .actions-log-list li::marker {
    color: #adb5bd;
}

.hdo-score-stack {
    display: flex;
    flex-direction: column;
    gap: .42rem;
}

#actions_log_page .actions-log-score-stack {
    min-width: 13rem;
}

.hdo-score-row {
    display: grid;
    grid-template-columns: minmax(7.5rem, 1fr) minmax(4.5rem, .8fr) 2.6rem;
    align-items: center;
    gap: .55rem;
    color: #495057;
    line-height: 1.2;
}

.hdo-score-row.no-label.has-value {
    grid-template-columns: minmax(4.5rem, 1fr) 2.6rem;
}

.hdo-score-row.has-label.no-value {
    grid-template-columns: minmax(7.5rem, 1fr) minmax(4.5rem, .8fr);
}

.hdo-score-row.no-label.no-value {
    grid-template-columns: 1fr;
}

.hdo-score-label {
    min-width: 0;
    overflow: hidden;
    color: #343a40;
    font-size: .8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hdo-score-bar {
    display: block;
    height: .46rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e9ecef;
}

.hdo-score-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #69b37b;
}

.hdo-score-row.is-warning .hdo-score-bar span {
    background: #e0a100;
}

.hdo-score-row.is-danger .hdo-score-bar span {
    background: #dc3545;
}

.hdo-score-row.is-neutral .hdo-score-bar span {
    background: #adb5bd;
}

.hdo-score-value {
    color: #212529;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}

.hdo-score-row.is-warning .hdo-score-value {
    color: #9a6a00;
}

.hdo-score-row.is-danger .hdo-score-value {
    color: #a61e2d;
}

.hdo-score-row-xxs {
    grid-template-columns: minmax(4.8rem, 1fr) minmax(3.25rem, .9fr) 2rem;
    gap: .32rem;
}

.hdo-score-row-xxs.no-label.has-value {
    grid-template-columns: minmax(3.9rem, 1fr) 2rem;
}

.hdo-score-row-xxs .hdo-score-label,
.hdo-score-row-xxs .hdo-score-value {
    font-size: .66rem;
}

.hdo-score-row-xxs .hdo-score-bar {
    height: .28rem;
}

.hdo-score-row-xs {
    grid-template-columns: minmax(5.5rem, 1fr) minmax(3.75rem, .9fr) 2.15rem;
    gap: .4rem;
}

.hdo-score-row-xs.no-label.has-value {
    grid-template-columns: minmax(4.4rem, 1fr) 2.15rem;
}

.hdo-score-row-xs.has-label.no-value {
    grid-template-columns: minmax(5.5rem, 1fr) minmax(3.75rem, .9fr);
}

.hdo-score-row-xs .hdo-score-label,
.hdo-score-row-xs .hdo-score-value {
    font-size: .72rem;
}

.hdo-score-row-xs .hdo-score-bar {
    height: .34rem;
}

.hdo-score-row-sm {
    grid-template-columns: minmax(6.2rem, 1fr) minmax(4rem, .8fr) 2.4rem;
    gap: .45rem;
}

.hdo-score-row-sm.no-label.has-value {
    grid-template-columns: minmax(4.6rem, 1fr) 2.4rem;
}

.hdo-score-row-sm .hdo-score-label,
.hdo-score-row-sm .hdo-score-value {
    font-size: .74rem;
}

.hdo-score-row-sm .hdo-score-bar {
    height: .38rem;
}

.hdo-score-row-lg {
    grid-template-columns: 1fr;
    gap: .45rem;
    width: min(100%, 13rem);
}

.hdo-score-row-lg .hdo-score-label {
    font-size: .78rem;
    font-weight: 700;
    text-align: center;
}

.hdo-score-row-lg .hdo-score-bar {
    height: .72rem;
}

.hdo-score-row-lg .hdo-score-value {
    font-size: 1.45rem;
    text-align: center;
}

.hdo-score-card-bar {
    margin: auto;
}

.hdo-score-row {
    --hdo-compact-score-width: 8.75rem;
}

.dashboard-heading-score,
.hdo-score-subtitle {
    width: min(100%, var(--hdo-compact-score-width));
    margin-top: .22rem;
}

.dashboard-summary-score {
    display: inline-grid;
    width: min(100%, var(--hdo-compact-score-width));
    margin-left: .12rem;
    vertical-align: middle;
}

.topbar-score-bar {
    width: min(100%, var(--hdo-compact-score-width));
}

#menuBar #score {
    width: 9.1rem;
    font-size: 1rem;
}

#menuBar #score .nav-link {
    padding: .12rem 0;
}

.dashboard-inline-score {
    width: min(100%, var(--hdo-compact-score-width));
    margin-top: .12rem;
    margin-bottom: .18rem;
}

@media (max-width: 991.98px) {
    #actions_log_page .dashboard-alertes-toolbar {
        align-items: flex-start;
    }

    #actions_log_page .dashboard-alertes-toolbar .dashboard-alertes-thresholds-toggle {
        margin-left: 0 !important;
    }
}

@media (max-width: 991.98px) {
    #actions_log_page .actions-log-summary-table thead {
        display: none;
    }

    #actions_log_page .actions-log-summary-table,
    #actions_log_page .actions-log-summary-table tbody,
    #actions_log_page .actions-log-summary-table tr,
    #actions_log_page .actions-log-summary-table td {
        display: block;
        width: 100%;
    }

    #actions_log_page .actions-log-summary-table tr {
        border-top: 1px solid #e9ecef;
        padding: .85rem 0;
    }

    #actions_log_page .actions-log-summary-table tbody tr:first-child {
        border-top: 0;
        padding-top: 0;
    }

    #actions_log_page .actions-log-summary-table td {
        border-top: 0;
        padding: .3rem 0;
    }
}
