:root {

    --dun-bleu-nuit:      #002d5c;
    --dun-bleu-profond:   #003566;
    --dun-bleu:           #003870;
    --dun-bleu-moyen:     #004484;
    --dun-bleu-vif:       #00559b;
    --dun-bleu-clair:     #00579e;

    --dun-orange:         #f89800;

    --dun-blanc:          #ffffff;
    --dun-encre:          #17293b;

    --chrome-rail:        var(--dun-bleu-nuit);
    --chrome-panel:       var(--dun-bleu);
    --chrome-bandeau:     var(--dun-bleu-moyen);
    --chrome-marque:      var(--dun-bleu);
    --chrome-sel:         var(--dun-bleu-clair);
    --chrome-accent:      var(--dun-orange);
    --chrome-fav:         var(--dun-orange);

    --degrade-depart:     var(--dun-bleu-profond);
    --degrade-milieu:     var(--dun-bleu);
    --degrade-arrivee:    var(--dun-bleu-vif);
    --dash-trait:         #8ea3ba;

    --chrome-txt:         #e6edf4;
    --chrome-txt-feuille: #bed0e0;
    --chrome-txt-dim:     #8fa6bb;

    --chrome-hover:       rgba(255, 255, 255, .07);
    --chrome-actif:       rgba(255, 255, 255, .16);
    --chrome-sep:         rgba(255, 255, 255, .10);

    --clair-fond:         #f4f7fa;
    --clair-carte:        var(--dun-blanc);
    --clair-filet:        #dce4ec;
    --clair-filet-fort:   #c6d3e0;
    --clair-filet-doux:   #eaeff5;
    --clair-zebre:        #fafcfd;
    --clair-survol:       #e7f0f9;
    --clair-texte:        #5a6b7d;
    --clair-texte-faible: #93a3b4;

    --etat-succes:        #12724e;
    --etat-succes-fond:   #eef7f2;
    --etat-alerte:        #b26a00;
    --etat-alerte-fond:   #fdf5e8;
    --etat-danger:        #b3261e;
    --etat-danger-fond:   #fbeceb;

    --dun-rayon:          6px;
    --dun-rayon-grand:    8px;

    --dun-espace-xs:      4px;
    --dun-espace-s:       8px;
    --dun-espace-m:       12px;
    --dun-espace-l:       16px;
    --dun-espace-xl:      24px;

    --dun-texte:          0.875rem;
    --dun-texte-s:        0.8125rem;
    --dun-texte-legende:  0.75rem;
    --dun-texte-minus:    0.6875rem;

    --dun-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

    --dun-focus:          0 0 0 3px var(--clair-survol);
}

.dash-onglet {
    padding: var(--dun-espace-l) var(--dun-espace-l) var(--dun-espace-xl);
    background: var(--clair-fond);
    color: var(--dun-encre);
}

.dash-phrase {
    margin: 0 0 var(--dun-espace-l);
    font-size: 15px;
}

.dash-phrase b,
.dash-mono {
    font-family: var(--dun-mono);
    font-weight: 600;
}

.dash-phrase .dash-filtre {
    border: 0;
    background: none;
    padding: 0 2px;
    font: inherit;
    color: var(--dun-bleu);
    border-bottom: 1px dashed currentColor;
    cursor: pointer;
}

.dash-phrase .dash-filtre.est-bad { color: var(--etat-danger); }
.dash-phrase .dash-filtre.est-warn { color: var(--etat-alerte); }

.dash-phrase .dash-filtre.est-actif {
    border-bottom: 0;
    border-radius: 3px;
    padding: 0 5px;
    background: var(--dun-bleu);
    color: var(--dun-blanc);
}

.dash-panneau {
    background: var(--clair-carte);
    border: 1px solid var(--clair-filet);
    border-radius: var(--dun-rayon-grand);
    padding: 14px 16px;
    margin-bottom: var(--dun-espace-m);
}

.dash-panneau h4 {
    margin: 0 0 10px;
    font-size: 14px;
}

.dash-panneau h4 small {
    margin-left: 6px;
    color: var(--clair-texte);
    font-weight: 400;
}

.dash-lien {
    color: var(--dun-bleu);
    text-decoration: none;
}

.dash-lien:hover { text-decoration: underline; }

.dash-attenue { color: var(--clair-texte); }
.dash-bad { color: var(--etat-danger); font-weight: 600; }
.dash-warn { color: var(--etat-alerte); font-weight: 600; }

.dash-vide,
.dash-erreur {
    margin: 0;
    padding: var(--dun-espace-xl) 0;
    color: var(--clair-texte);
}

.dash-erreur button {
    margin-left: var(--dun-espace-s);
}

.dash-deplier {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    color: var(--dun-bleu);
    border-bottom: 1px dashed currentColor;
    cursor: pointer;
}

.dash-bascule {
    display: inline-flex;
    border: 1px solid var(--clair-filet);
    border-radius: var(--dun-rayon);
    overflow: hidden;
}

.dash-bascule button {
    border: 0;
    background: none;
    padding: 3px 10px;
    font-size: 12px;
    color: var(--clair-texte);
}

.dash-bascule button:disabled { opacity: .4; }

.dash-bascule button.est-actif {
    background: var(--dun-bleu);
    color: var(--dun-blanc);
}

.dash-recherche {
    min-width: 240px;
    padding: 4px 10px;
    border: 1px solid var(--clair-filet);
    border-radius: var(--dun-rayon);
    background: var(--clair-carte);
    font: inherit;
    font-size: 13px;
    color: var(--dun-encre);
}

.icn {
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}

.icn-modeContinuous{
    background-image: url(/assets/img/oxyElec_iconModeContinuous.png);
}

.icn-modePulse{
    background-image: url(/assets/img/oxyElec_iconModePulse.png);
}

.icon {
    margin-left: 10px;
}

.gbl-jc-space-around {
    justify-content: space-around;
}

.gbl-flxdir-column {
    flex-direction: column;
}

.gbl-box-shdw {
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.06);
}

.text-center {
    position: relative;
}

.tab {
    background-color: #F7F7F7;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.guideline {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.sch-form .form-control {
    height: 10px;
}

.sch-form label {
    font-size: 11px;
    padding: 7px;
}

.main {
    border-top: 1px solid black;
    display: flex;
    flex-direction: row;
    height: 100%;
    align-items: center;
    width: 100%;
}

:root {
    --circle-size: clamp(1.5rem, 5vw, 2.5rem);
    --spacing: clamp(0.25rem, 2vw, 0.5rem);
    --me-color: #003f72;
}
  
.offcanvas-end {
    width: 500px;
}
.accordion{
	padding: 5px 15px 5px 15px;
}

.accordion button.collapsed{
	/*font-weight: bold;*/
	/*background-color:red;*/
	background-color:  #e7f1ff;
}

.accordion-body {
	padding: 10px 1px 10px 1px !important;
}

.accordion-item {
	background-color: rgb(247, 247, 247);
}

.offcanvas-body {
    padding: 0.5rem 0.5rem !important;
}
.tile {
	position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    align-items: center;
    margin: var(--margin-tile);
    border-radius: 20px;
    flex-grow: 1;
    min-width: var(--width-tile);
    max-width: var(--width-tile);
    font-size: 25px;
    user-select: none;
}

.tile li.nav-item{
	font-size: 16px;
}

.tile-min-height {
    min-height: var(--height-tile);
}

.tile-height {
    height: var(--height-tile);
}

.tile-white {
    background-color: lightgray;
}

.tile-orange {
    background-color: darkorange;
}

.tile-blue {
    background-color: dodgerblue;
}

.tilePhyUnit {
    font-size: 15px;
    display: flex;
    align-items: center;
}

.tile-alert {
    background-color: indianred;
}

.tile-scale {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 9px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, .28);
    overflow: hidden;
}

.tile-scale__fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, .9);
}

.tile-scale__fill--over {
    background-color: #ffd97a;
}

.doubleTile {
    max-width: calc(2 * (var(--width-tile) + var(--margin-tile)));
    width: calc(2 * (var(--width-tile) + var(--margin-tile)));
    height: auto;
    padding: 10px;
}

.rt-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 4px 10px;
    padding-top: 4px;
}

.rt-section-title {
    flex-shrink: 0;
    margin: 0;
    font-size: inherit;
}

.rt-section-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--dun-espace-s);
    padding: 2px 10px;
    background: var(--clair-filet-doux);
    border: 0;
    border-radius: 999px;
    color: var(--clair-texte);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
}

.rt-section-toggle:hover {
    background: var(--clair-survol);
}

.rt-section-toggle:focus-visible {
    outline: none;
    box-shadow: var(--dun-focus);
}

.rt-section-count {
    font-weight: 400;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}

.rt-section-chevron {
    width: 9px;
    color: var(--clair-texte-faible);
    transition: transform 150ms ease;
}

.rt-section.is-closed .rt-section-chevron {
    transform: rotate(-90deg);
}

.rt-section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--clair-filet), transparent);
}

.rt-panel {
    margin: 0 0 var(--dun-espace-m);
    background: var(--clair-carte);
    border: 1px solid var(--clair-filet);
    border-radius: var(--dun-rayon-grand);
    overflow: hidden;
}

.rt-panel.is-orphan {
    border-style: dashed;
    border-color: var(--clair-filet-fort);
    background: var(--clair-zebre);
}

.rt-panel-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--dun-espace-s);
    width: 100%;
    min-height: 44px;
    padding: var(--dun-espace-m) var(--dun-espace-l);
    background: var(--clair-zebre);
    border: 0;
    color: var(--dun-encre);
    font-size: var(--dun-texte);
    text-align: left;
    cursor: pointer;
}

.rt-panel-head:hover:not(:disabled) {
    background: var(--clair-survol);
}

.rt-panel-head:focus-visible {
    outline: none;
    box-shadow: inset var(--dun-focus);
}

.rt-panel-head:disabled {
    cursor: default;
    color: var(--clair-texte);
}

.rt-panel.is-open > .rt-panel-head {
    border-bottom: 1px solid var(--clair-filet);
}

.rt-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--clair-filet-fort);
}

.rt-dot.is-up {
    background: var(--etat-succes);
}

.rt-dot.is-down {
    background: var(--clair-texte-faible);
}

.rt-title {
    font-weight: 600;
}

.rt-zone {
    color: var(--clair-texte);
    font-weight: 400;
}

.rt-num {
    min-width: 20px;
    padding: 0 var(--dun-espace-xs);
    border-radius: 4px;
    background: var(--dun-bleu-clair);
    color: var(--dun-blanc);
    font-size: var(--dun-texte-legende);
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.rt-state {
    padding: 0 var(--dun-espace-s);
    border-radius: var(--dun-rayon);
    font-size: var(--dun-texte-minus);
    font-weight: 600;
    line-height: 18px;
}

.rt-state.is-up {
    background: var(--etat-succes-fond);
    color: var(--etat-succes);
}

.rt-state.is-down {
    background: var(--clair-filet-doux);
    color: var(--clair-texte);
}

.rt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--dun-espace-xs) var(--dun-espace-m);
    margin-left: var(--dun-espace-m);
    color: var(--clair-texte-faible);
    font-size: var(--dun-texte-legende);
}

.rt-chevron {
    margin-left: auto;
    color: var(--clair-texte-faible);
    transition: transform 150ms ease;
}

.rt-panel.is-open > .rt-panel-head .rt-chevron {
    transform: rotate(180deg);
}

.rt-panel-body {
    padding: var(--dun-espace-m) var(--dun-espace-l) var(--dun-espace-l);
}

@media (max-width: 767.98px) {
    .rt-panel-head {
        padding: var(--dun-espace-s) var(--dun-espace-m);
    }

    .rt-meta {
        display: none;
    }

    .rt-panel-body {
        padding: var(--dun-espace-s);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rt-section-chevron,
    .rt-chevron {
        transition: none;
    }
}

.rt-panel-icon {
    color: var(--clair-texte-faible);
}

.admin-page {
    --adm-primary:        var(--dun-bleu-vif);
    --adm-primary-hover:  var(--dun-bleu);
    --adm-primary-light:  var(--clair-survol);
    --adm-accent:         var(--dun-orange);

    --adm-success:        var(--etat-succes);
    --adm-success-light:  var(--etat-succes-fond);
    --adm-warning:        var(--etat-alerte);
    --adm-warning-light:  var(--etat-alerte-fond);
    --adm-danger:         var(--etat-danger);
    --adm-danger-light:   var(--etat-danger-fond);

    --adm-background:     var(--clair-fond);
    --adm-card:           var(--clair-carte);
    --adm-surface:        var(--clair-fond);
    --adm-border:         var(--clair-filet);
    --adm-border-strong:  var(--clair-filet-fort);
    --adm-text:           var(--dun-encre);
    --adm-text-2:         var(--clair-texte);
    --adm-text-muted:     var(--clair-texte-faible);

    --adm-mono: var(--dun-mono);

    --adm-body:    var(--dun-texte);
    --adm-body-sm: var(--dun-texte-s);
    --adm-caption: var(--dun-texte-legende);
    --adm-tiny:    var(--dun-texte-minus);

    --adm-radius:  var(--dun-rayon-grand);
    --adm-gap:     var(--dun-espace-l);

    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    align-self: stretch;
    margin: 0;
    padding: 16px clamp(16px, 2.2vw, 40px) 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: transparent;
    color: var(--adm-text);
    font-size: var(--adm-body);
}

.admin-page > div {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--adm-border-strong);
}

.admin-tab {
    flex: 0 0 auto;
    padding: 8px 16px;
    margin-bottom: -1px;
    text-decoration: none;
    white-space: nowrap;
    font-size: var(--adm-body-sm);
    color: var(--adm-text-2);
    background: transparent;
    border-bottom: 2px solid transparent;
}

.admin-tab:hover {
    color: var(--adm-text);
}

.admin-tab.router-link-active {
    color: var(--adm-text);
    border-bottom-color: var(--adm-accent);
    font-weight: 600;
}

.adm-filtres {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--adm-gap);
}

.adm-filtres .admin-search {
    flex: 1 1 240px;
    min-width: 200px;
}

.adm-facette {
    flex: 0 0 auto;
    width: auto;
    max-width: 220px;
    color: var(--adm-text-2);
}

.adm-facette.est-active {
    color: var(--adm-primary);
    font-weight: 600;
    border-color: var(--adm-primary);
    background-color: var(--adm-primary-light);
}

.adm-filtres .admin-count {
    margin-left: auto;
}

.admin-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--adm-gap);
}

.admin-search {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--adm-border-strong);
    border-radius: var(--adm-radius);
    background-color: var(--adm-card);
    color: var(--adm-text-muted);
}

.admin-search input {
    flex: 1 1 auto;
    border: none;
    outline: none;
    font-size: var(--adm-body-sm);
    color: var(--adm-text);
    background: transparent;
}

.admin-count {
    white-space: nowrap;
    font-family: var(--adm-mono);
    font-size: var(--adm-caption);
    color: var(--adm-text-muted);
}

.adm-atelier {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 7fr);
    align-items: stretch;
    gap: var(--adm-gap);
}

.adm-atelier > div:first-child {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
}

.admin-page > div > .adm-extensible {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.adm-atelier > div:first-child > .admin-cols {
    flex: 1 1 auto;
    min-height: 0;
    align-items: stretch;
}

.admin-cols > .adm-section {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-bottom: 0;
}

.adm-atelier.volet-liste {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
}

.adm-atelier > * {
    min-width: 0;
}

.adm-volet {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: var(--adm-card);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    overflow: hidden;
}

.adm-volet-tete {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    padding: 12px 20px;
    border-bottom: 1px solid var(--adm-border);
}

.adm-volet-tete .adm-section-titre {
    margin: 0;
    padding: 0;
    border-bottom: none;
    white-space: nowrap;
}

.adm-volet-filtre {
    flex: 1 1 auto;
    max-width: 260px;
    margin-left: auto;
}

.adm-volet > .admin-add {
    flex: 0 0 auto;
    margin: 0;
    padding: 12px 20px;
    border-top: 1px solid var(--adm-border);
    border-bottom: none;
}

.adm-volet-corps {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0 20px 12px;
}

.adm-volet-corps > .admin-table {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
}

.adm-volet-corps > .admin-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--adm-card);
}

.adm-section {
    background: var(--adm-card);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    padding: 16px 20px 20px;
    margin-bottom: var(--adm-gap);
}

.adm-titre {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 var(--adm-gap);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--adm-text);
}

.adm-fil {
    font-size: var(--adm-body-sm);
    font-weight: 400;
    color: var(--adm-text-muted);
}

.adm-section-tete {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--adm-border);
}

.adm-section-tete .adm-section-titre {
    margin: 0;
    padding: 0;
    border-bottom: none;
}

.adm-section-aide {
    margin-top: 5px;
    font-size: var(--adm-caption);
    color: var(--adm-text-muted);
}

.adm-section-titre {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--adm-border);
    font-size: var(--adm-caption);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--adm-text-2);
}

.adm-section-titre .admin-warn {
    margin-left: auto;
    text-transform: none;
    letter-spacing: 0;
}

.adm-pastilles {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 6px;
}

.adm-noms {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    align-content: flex-start;
    gap: 1px 18px;
}

.adm-nom {
    padding: 3px 8px;
    border-radius: var(--adm-radius);
    font-size: var(--adm-body-sm);
    color: var(--adm-text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.adm-nom:hover {
    background-color: var(--adm-surface);
    color: var(--adm-text);
}

.adm-grille {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    align-items: start;
    gap: 12px;
}

.adm-ligne {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    border: 1px solid var(--adm-border);
    border-radius: 6px;
    background: var(--adm-card);
}

.adm-liste {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--adm-border);
    border-radius: 6px;
    overflow: hidden;
}

.adm-ligne.est-compacte {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border: none;
    border-bottom: 1px solid var(--adm-border);
    border-radius: 0;
}

.adm-ligne.est-compacte:last-child {
    border-bottom: none;
}

.adm-ligne.est-compacte:hover {
    background: var(--adm-primary-light);
}

.adm-ligne.est-compacte .adm-ligne-titre {
    flex: 0 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adm-ligne.est-compacte .adm-icone {
    opacity: 0;
}

.adm-ligne.est-compacte:hover .adm-icone {
    opacity: 1;
}

.adm-etat {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--adm-border-strong);
    background: transparent;
    cursor: pointer;
}

.adm-etat:hover {
    border-color: var(--adm-primary);
    box-shadow: 0 0 0 3px var(--adm-primary-light);
}

.adm-etat.est-ouvert {
    background: var(--adm-success);
    border-color: var(--adm-success);
}

.adm-ligne.est-ferme {
    background: var(--adm-surface);
    border-style: dashed;
}

.adm-ligne.est-signale {
    border-color: var(--adm-warning);
    background: var(--adm-warning-light);
}

.adm-ligne-tete {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.adm-ligne-titre {
    min-width: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.adm-ligne-sous {
    font-size: var(--adm-tiny);
    color: var(--adm-text-muted);
    white-space: nowrap;
}

.adm-ligne-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.adm-ligne-etat {
    font-size: var(--adm-body-sm);
    line-height: 1.45;
}

.adm-ligne-role {
    font-weight: 600;
}

.adm-ligne-gens {
    max-width: 90ch;
    font-size: var(--adm-caption);
    color: var(--adm-text-muted);
    line-height: 1.7;
}

.adm-pastille {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: var(--adm-tiny);
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid transparent;
    background: none;
    cursor: pointer;
}

.adm-pastille::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.adm-pastille.ouvert {
    color: var(--adm-success);
    background: var(--adm-success-light);
    border-color: rgba(22, 163, 74, .25);
}

.adm-pastille.ferme {
    color: var(--adm-text-muted);
    background: var(--adm-surface);
    border-color: var(--adm-border-strong);
}

.adm-pastille:hover {
    border-color: var(--adm-primary);
}

.adm-icone {
    border: none;
    background: none;
    padding: 2px 5px;
    border-radius: 4px;
    color: var(--adm-text-muted);
    cursor: pointer;
}

.adm-icone:hover {
    color: var(--adm-danger);
    background: var(--adm-danger-light);
}

.adm-icone.est-ajout:hover {
    color: var(--adm-primary);
    background: var(--adm-primary-light);
}

.adm-attenue {
    color: var(--adm-text-muted);
}

.adm-signale {
    color: var(--adm-warning);
    font-weight: 600;
}

.adm-code {
    font-family: var(--adm-mono);
    font-size: var(--adm-body-sm);
    color: var(--adm-text-2);
}

.admin-table {
    margin-bottom: 0;
    font-size: var(--adm-body-sm);
}

.adm-section > .admin-table {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
}

.adm-section > .admin-table th:first-child,
.adm-section > .admin-table td:first-child {
    padding-left: 20px;
}

.adm-section > .admin-table th:last-child,
.adm-section > .admin-table td:last-child {
    padding-right: 20px;
}

.admin-table thead th.est-triable {
    cursor: pointer;
    user-select: none;
}

.admin-table thead th.est-triable:hover {
    color: var(--adm-primary);
}

.adm-caret {
    margin-left: 3px;
    font-size: 10px;
    color: var(--adm-primary);
}

.adm-caret.est-inactif {
    color: var(--adm-border-strong);
}

.adm-pagination {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
}

.adm-par-page {
    flex: 0 0 auto;
    width: auto;
    font-size: var(--adm-caption);
    color: var(--adm-text-2);
}

.adm-pagination .pagination {
    margin-left: auto;
    margin-right: auto;
}

.adm-pagination .pagination {
    margin: 0;
    font-size: var(--adm-body-sm);
}

.admin-table thead th {
    padding: 8px 10px;
    font-size: var(--adm-caption);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--adm-text-muted);
    border-bottom: 1px solid var(--adm-border);
}

.admin-table tbody td {
    padding: 7px 10px;
    vertical-align: middle;
    border-color: var(--adm-border);
}

.admin-table.est-tassee th:last-child,
.admin-table.est-tassee td:last-child {
    width: 100%;
}

.admin-table.est-tassee th:not(:last-child),
.admin-table.est-tassee td:not(:last-child) {
    white-space: nowrap;
}

.admin-table tbody tr.admin-clickable {
    cursor: pointer;
}

.admin-table tbody tr:hover {
    background: var(--adm-primary-light);
}

.admin-muted {
    color: var(--adm-text-muted);
}

.admin-strong {
    font-weight: 600;
}

.admin-nowrap {
    white-space: nowrap;
}

.admin-chevron {
    width: 1px;
    color: var(--adm-text-muted);
}

.admin-empty {
    padding: 16px 4px;
    font-size: var(--adm-body-sm);
    color: var(--adm-text-muted);
}

.admin-back {
    margin-bottom: 12px;
}

.admin-back a {
    color: var(--adm-text-2);
    text-decoration: none;
    font-size: var(--adm-body-sm);
}

.admin-back a:hover {
    color: var(--adm-primary);
}

.admin-path {
    display: inline-block;
    padding: 1px 7px;
    margin-right: 6px;
    border-radius: 4px;
    font-family: var(--adm-mono);
    font-size: var(--adm-tiny);
    white-space: nowrap;
    color: var(--adm-text-2);
    background-color: var(--adm-surface);
}

.admin-path.path-direct,
.admin-path.path-loc {
    color: var(--adm-primary);
    background-color: var(--adm-primary-light);
}

.admin-path.evt-add {
    color: var(--adm-success);
    background-color: var(--adm-success-light);
}

.admin-path.evt-delete {
    color: var(--adm-danger);
    background-color: var(--adm-danger-light);
}

.admin-path.evt-update {
    color: var(--adm-primary);
    background-color: var(--adm-primary-light);
}

.admin-path.path-legacy {
    color: var(--adm-warning);
    background-color: var(--adm-warning-light);
}

.admin-ok {
    color: var(--adm-text);
    font-family: var(--adm-mono);
}

.admin-warn {
    color: var(--adm-warning);
}

.admin-off {
    color: var(--adm-text-muted);
    font-family: var(--adm-mono);
}

.admin-legacy {
    color: var(--adm-warning);
}

.admin-add {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid var(--adm-border);
}

.admin-add:first-child {
    padding-top: 0;
    margin-top: 0;
    border-top: none;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--adm-border);
}

.admin-add > select,
.admin-add > input,
.admin-add > .filterable-select {
    flex: 0 1 240px;
}

.adm-borne {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    margin: 0 -20px;
    padding: 0 20px;
}

.adm-borne > .admin-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--adm-card);
}

.admin-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--adm-gap);
    align-items: start;
}

.admin-message {
    align-self: center;
    font-size: var(--adm-body-sm);
    color: var(--adm-text-muted);
}

.adm-champs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 16px;
}

.adm-champs label {
    display: block;
    margin-bottom: 3px;
    font-size: var(--adm-caption);
    color: var(--adm-text-2);
}

.admin-page .form-control,
.admin-page .form-select {
    font-size: var(--adm-body-sm);
    border-color: var(--adm-border-strong);
    border-radius: 6px;
}

.admin-page .btn {
    font-size: var(--adm-body-sm);
    border-radius: 6px;
    white-space: nowrap;
}

.admin-page .btn-primary {
    background-color: var(--adm-primary);
    border-color: var(--adm-primary);
}

.admin-page .btn-primary:hover {
    background-color: var(--adm-primary-hover);
    border-color: var(--adm-primary-hover);
}

@media (max-width: 640px) {
    .admin-page { padding: 12px 12px 32px; }
    .adm-section { padding: 12px 14px 16px; }
    .adm-grille { grid-template-columns: 1fr; }
    .admin-page { height: auto; display: block; }
    .admin-page > div { display: block; }
    .adm-atelier { grid-template-columns: 1fr; min-height: 0; }
    .adm-atelier > div:first-child { overflow: visible; }
    .adm-volet { height: auto; max-height: 70vh; }
}

.adm-priv-cat {
    margin-bottom: 14px;
}

.adm-priv-cat-titre {
    margin-bottom: 4px;
    font-size: var(--adm-body-sm);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--adm-text-muted);
}

.adm-bascule-vue {
    margin-right: 8px;
}

.adm-arbre-rang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.adm-arbre-plier {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 30px;
    margin: -7px 2px -7px -4px;
    padding: 0;
    border: none;
    border-radius: 5px;
    background: transparent;
    color: var(--adm-text-muted);
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .1s, color .1s;
}

.adm-arbre-plier:hover {
    color: var(--adm-text);
    background-color: rgba(0, 0, 0, .08);
}

.adm-arbre-plier:active {
    background-color: rgba(0, 0, 0, .16);
}

.adm-arbre-plier.est-vide {
    cursor: default;
    pointer-events: none;
}

.adm-arbre-icone {
    font-size: 11px;
}

.adm-portee-role {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--adm-border);
}

.adm-portee-ligne {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
}

.adm-portee-etiq {
    flex: 0 0 auto;
    min-width: 12rem;
    font-size: var(--adm-body-sm);
    font-weight: 600;
    color: var(--adm-text-muted);
}

.adm-portee-liste {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.adm-portee-alerte {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--adm-radius);
    background-color: var(--adm-warning-light);
    color: var(--adm-warning);
    font-size: var(--adm-body-sm);
}


.admin-page .table {
    --bs-table-bg:            transparent;
    --bs-table-color:         var(--adm-text);
    --bs-table-border-color:  var(--adm-border);
    --bs-table-hover-bg:      var(--adm-primary-light);
    --bs-table-hover-color:   var(--adm-text);
    --bs-table-accent-bg:     transparent;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-page .admin-table > :not(:first-child) {
    border-top: 0;
}

.admin-page .admin-table thead th {
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--adm-border-strong);
}

.admin-page .admin-table tbody tr {
    transition: background-color .1s;
}

.admin-page .admin-table tbody td {
    border-top: 0;
    border-bottom: 1px solid var(--adm-border);
}

.admin-page .admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-page .admin-clickable:hover .admin-chevron {
    color: var(--adm-primary);
}

.admin-page .pagination {
    --bs-pagination-padding-x:        10px;
    --bs-pagination-padding-y:        4px;
    --bs-pagination-color:            var(--adm-text-2);
    --bs-pagination-bg:               transparent;
    --bs-pagination-border-width:     0;
    --bs-pagination-border-radius:    6px;
    --bs-pagination-hover-color:      var(--adm-primary-hover);
    --bs-pagination-hover-bg:         var(--adm-primary-light);
    --bs-pagination-focus-color:      var(--adm-primary-hover);
    --bs-pagination-focus-bg:         var(--adm-primary-light);
    --bs-pagination-focus-box-shadow: none;
    --bs-pagination-active-color:     #fff;
    --bs-pagination-active-bg:        var(--adm-primary);
    --bs-pagination-active-border-color: transparent;
    --bs-pagination-disabled-color:   var(--adm-text-muted);
    --bs-pagination-disabled-bg:      transparent;
    gap: 2px;
}

.admin-page .pagination .page-link {
    border-radius: 6px;
    font-size: var(--adm-body-sm);
}

.admin-page .form-control,
.admin-page .form-select {
    border-color: var(--adm-border-strong);
    border-radius: 6px;
    color: var(--adm-text);
    box-shadow: none;
}

.admin-page .form-control:focus,
.admin-page .form-select:focus {
    border-color: var(--adm-primary);
    box-shadow: 0 0 0 3px var(--adm-primary-light);
}

.admin-page .btn-primary {
    --bs-btn-bg:               var(--adm-primary);
    --bs-btn-border-color:     var(--adm-primary);
    --bs-btn-hover-bg:         var(--adm-primary-hover);
    --bs-btn-hover-border-color: var(--adm-primary-hover);
    --bs-btn-active-bg:        var(--adm-primary-hover);
    --bs-btn-active-border-color: var(--adm-primary-hover);
    --bs-btn-focus-shadow-rgb: 0, 85, 155;
    box-shadow: none;
}

.admin-page .btn:focus-visible {
    box-shadow: 0 0 0 3px var(--adm-primary-light);
}

.admin-page .adm-creation {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--dun-espace-m);
}

.admin-page .adm-creation .adm-creation-champ {
    flex: 0 1 auto;
    align-self: flex-end;
}

.admin-page .adm-creation > label.adm-creation-champ,
.admin-page .adm-creation > .adm-creation-champ {
    display: flex;
    flex-direction: column;
    gap: var(--dun-espace-xs);
    min-width: 0;
}

.admin-page .adm-creation .adm-creation-champ:nth-child(1) { flex-basis: 300px; }
.admin-page .adm-creation .adm-creation-champ:nth-child(2) { flex-basis: 180px; }
.admin-page .adm-creation .adm-creation-champ:nth-child(3) { flex-basis: 220px; }

.admin-page .adm-creation-libelle {
    font-size: var(--dun-texte-legende);
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--clair-texte-faible);
}

.admin-page .adm-cases {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--dun-espace-m);
    min-height: 32px;
}

.admin-page .adm-case {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: var(--dun-texte-s);
    cursor: pointer;
}

.admin-page .adm-case input {
    margin: 0;
    accent-color: var(--dun-bleu-vif);
}

.admin-page .adm-creation-vide {
    font-size: var(--dun-texte-s);
    color: var(--clair-texte-faible);
}

.admin-page .adm-creation .adm-creation-action {
    align-self: flex-end;
    margin-bottom: 1px;
}

.admin-page .adm-creation .filterable-select {
    width: 100%;
}

.admin-page .admin-add.est-en-tete {
    padding-top: 0;
    margin-top: 0;
    border-top: none;
    padding-bottom: var(--dun-espace-m);
    margin-bottom: var(--dun-espace-m);
    border-bottom: 1px solid var(--adm-border);
}

.admin-page .adm-volet > .admin-add.est-en-tete {
    margin: 0;
    padding: var(--dun-espace-m) 20px;
    border-top: none;
    border-bottom: 1px solid var(--adm-border);
}

.admin-page .adm-lien {
    color: inherit;
    text-decoration: none;
}

.admin-page .adm-lien:hover {
    color: var(--adm-primary);
    text-decoration: underline;
}

.dt-frame {
    overflow-x: auto;
    border: 1px solid var(--clair-filet);
    border-radius: var(--dun-rayon-grand);
    background: var(--clair-carte);
}

.dt-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    color: var(--dun-encre);
    font-size: var(--dun-texte-s);
}

.dt-table th {
    padding: var(--dun-espace-s) var(--dun-espace-m);
    border-bottom: 2px solid var(--clair-filet);
    background: var(--clair-fond);
    color: var(--clair-texte);
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
    vertical-align: middle;
}

.dt-table td {
    padding: var(--dun-espace-s) var(--dun-espace-m);
    border-bottom: 1px solid var(--clair-filet-doux);
    vertical-align: middle;
    font-variant-numeric: tabular-nums;
}

.dt-table tbody tr:last-child > td {
    border-bottom: 0;
}

.dt-table tbody tr {
    transition: background .1s;
}

.dt-table tbody tr:hover > td {
    background: var(--clair-zebre);
}

.dt-table tbody tr.is-selected > td {
    background: var(--clair-survol);
}

.dt-table tbody tr.is-clickable {
    cursor: pointer;
}

.dt-table tbody tr.is-clickable:focus-visible {
    outline: none;
    box-shadow: inset 3px 0 0 var(--dun-bleu-vif);
}

.dt-table td p {
    margin: 0;
}

.dt-table .is-left { text-align: left; }
.dt-table .is-center { text-align: center; }
.dt-table .is-right { text-align: right; }

.dt-table .dt-mono {
    font-family: var(--dun-mono);
    color: var(--clair-texte);
}

.dt-table .dt-muted {
    color: var(--clair-texte-faible);
    font-style: italic;
}

.dt-table th.is-sortable {
    padding: 0;
}

.dt-sort {
    display: flex;
    align-items: center;
    gap: var(--dun-espace-xs);
    width: 100%;
    padding: var(--dun-espace-s) var(--dun-espace-m);
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: inherit;
    cursor: pointer;
    user-select: none;
}

.is-right > .dt-sort { justify-content: flex-end; }
.is-center > .dt-sort { justify-content: center; }

.dt-sort:hover {
    background: var(--clair-filet-doux);
}

.dt-sort:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--clair-survol);
}

.dt-sort.is-sorted {
    color: var(--dun-encre);
}

.dt-sort-icon {
    font-size: .75em;
    color: var(--clair-filet-fort);
}

.dt-sort.is-sorted .dt-sort-icon {
    color: var(--dun-bleu-vif);
}

.dt-table .dt-check {
    width: 36px;
    text-align: center;
}

.dt-table .dt-expand {
    width: 36px;
    padding-right: 0;
    color: var(--clair-texte);
}

.dt-table tr.dt-detail > td {
    padding: var(--dun-espace-s) var(--dun-espace-m) var(--dun-espace-m);
    background: var(--clair-fond);
}

.dt-table tr.dt-detail .dt-table {
    width: auto;
}

.dt-empty {
    padding: var(--dun-espace-l) var(--dun-espace-m);
    color: var(--clair-texte);
    font-style: italic;
}

.dt-table .dt-actions {
    width: 1%;
    text-align: right;
    white-space: nowrap;
}

.dt-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--dun-rayon);
    background: transparent;
    color: var(--clair-texte);
    font-size: var(--dun-texte-s);
    cursor: pointer;
}

.dt-icon:hover:not(:disabled) {
    background: var(--clair-filet-doux);
    color: var(--dun-encre);
}

.dt-icon.is-danger:hover:not(:disabled) {
    background: var(--etat-danger-fond);
    color: var(--etat-danger);
}

.dt-icon:disabled {
    opacity: .35;
    cursor: default;
}

.dt-icon:focus-visible {
    outline: none;
    box-shadow: var(--dun-focus);
}

.dt-table.is-compact th,
.dt-table.is-compact td {
    padding: var(--dun-espace-xs) var(--dun-espace-s);
}

.dt-table.is-bordered th,
.dt-table.is-bordered td {
    border: 1px solid var(--clair-filet);
}


:root {
    --width-tile: 250px;
    --height-tile: 100px;
    --margin-tile: 5px;
}
#app {
    min-height: 100vh;
    max-height: 100vh;
    overflow-y: hidden;
    display: flex;
    background-color: rgb(245, 245, 245);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
* {
    -webkit-user-drag: none;
}


