/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, ancien, components, utilities;
@layer theme {
  :root, :host {
    --font-weight-semibold: 600;
    --text-2xs: 11px;
    --text-xs: 12px;
    --text-sm: 13px;
    --text-base: 14px;
    --text-lg: 16px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --radius: 6px;
    --radius-lg: 8px;
    --radius-full: 999px;
  }
}
@layer ancien {
  :root {
    color-scheme: dark;
    --fond: #0e141c;
    --surface: #141c27;
    --surface-haute: #1d2735;
    --encre: #fff;
    --texte: #e2e8f0;
    --doux: #a0adc0;
    --ligne: #26303d;
    --ombre: none;
    --survol: rgb(255 255 255 / 0.03);
    --sur-accent: #0b1016;
    --bon: #3bd671;
    --moyen: #f29030;
    --mal: #df484a;
    --mal-texte: #ef6a6c;
    --info: #5b9df5;
    --text-3xs: 10px;
    --text-2xs: 11px;
    --text-xs: 12px;
    --text-sm: 13px;
    --text-base: 14px;
    --text-lg: 16px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --pas: 4px;
    --radius-sm: 4px;
    --radius: 6px;
    --radius-lg: 8px;
    --radius-xl: 14px;
    --radius-full: 999px;
    --trait: 1px;
    --trait-fort: 2px;
    --barre: 5px;
    --icone: 14px;
    --hauteur-barres: 18px;
    --symbole: 30px;
    --symbole-grand: 38px;
    --cible: 44px;
    --espacement-capitales: 0.08em;
    --sans: system-ui, sans-serif;
    --mono: ui-monospace, monospace;
    --largeur-case: 120px;
    --largeur-chiffre: 160px;
    --largeur-courbe: 220px;
    --largeur-qr: 240px;
    --largeur-colonne: 300px;
    --largeur-texte: 360px;
    --largeur-carte: 380px;
    --largeur-formulaire: 420px;
    --largeur-dialogue: 520px;
    --largeur-schema: 720px;
    --largeur-etroite: 914px;
    --largeur-standard: 1200px;
    --largeur-grande: 1620px;
  }
  *, *::before, *::after {
    box-sizing: border-box;
  }
  body {
    margin: 0;
    background: var(--fond);
    color: var(--texte);
    font: var(--text-base) / 1.45 var(--sans);
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  a:hover {
    color: var(--bon);
  }
  .vers {
    text-decoration: underline;
    text-underline-offset: var(--trait-fort);
  }
  h1 {
    margin: 0 0 var(--pas);
    color: var(--encre);
    font-size: var(--text-xl);
    overflow-wrap: anywhere;
  }
  h2 {
    margin: calc(7 * var(--pas)) 0 calc(2 * var(--pas));
    font-size: var(--text-lg);
  }
  h3 {
    margin: calc(3 * var(--pas)) 0 var(--pas);
    font-size: var(--text-sm);
  }
  form {
    margin: 0;
  }
  pre {
    margin: 0;
    padding: calc(3 * var(--pas));
    font: var(--text-xs) / 1.5 var(--mono);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  label {
    font-size: var(--text-sm);
    font-weight: 600;
  }
  input, textarea {
    padding: calc(3 * var(--pas));
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius-lg);
    background: var(--surface-haute);
    color: var(--texte);
    font: inherit;
    font-size: var(--text-lg);
  }
  input:focus-visible, textarea:focus-visible {
    outline: var(--trait-fort) solid var(--bon);
    outline-offset: var(--trait);
  }
  button {
    padding: calc(1.5 * var(--pas)) calc(3 * var(--pas));
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius);
    background: transparent;
    color: var(--texte);
    font: inherit;
    cursor: pointer;
  }
  button:hover {
    border-color: var(--bon);
    color: var(--bon);
  }
  .vue {
    width: 100%;
    margin-inline: auto;
    padding: calc(6 * var(--pas)) calc(4 * var(--pas));
  }
  .vue.etroite {
    max-width: var(--largeur-etroite);
  }
  .vue.standard {
    max-width: var(--largeur-standard);
  }
  .vue.grande {
    max-width: var(--largeur-grande);
  }
  .vue.pleine {
    max-width: none;
  }
  .tete {
    background: var(--surface);
    border-bottom: var(--trait) solid var(--ligne);
  }
  .tete-contenu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(3 * var(--pas)) calc(4 * var(--pas));
    max-width: var(--largeur-standard);
    margin-inline: auto;
    padding: calc(3 * var(--pas)) calc(4 * var(--pas));
  }
  .relu {
    margin-left: auto;
  }
  .marque {
    display: flex;
    align-items: center;
    gap: calc(2.5 * var(--pas));
    color: var(--encre);
    font-size: var(--text-lg);
    font-weight: 700;
  }
  .marque:hover {
    color: var(--encre);
  }
  .symbole {
    display: block;
    width: var(--symbole);
    height: var(--symbole);
  }
  .onglets {
    display: flex;
    flex-wrap: wrap;
    gap: var(--pas);
  }
  .onglets a {
    padding: calc(1.5 * var(--pas)) calc(3 * var(--pas));
    border-radius: var(--radius);
    color: var(--doux);
    font-weight: 600;
  }
  .onglets a.actif {
    background: var(--surface-haute);
    color: var(--encre);
  }
  @media (max-width: 640px) {
    .tete-contenu {
      gap: calc(2 * var(--pas));
      padding: calc(2 * var(--pas)) calc(4 * var(--pas));
    }
    .tete-contenu .compte {
      margin-left: auto;
    }
    .relu {
      display: none;
    }
    .onglets {
      order: 1;
      flex: 0 0 100%;
      flex-wrap: nowrap;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .onglets a {
      flex: none;
    }
  }
  .pastille {
    padding: calc(0.75 * var(--pas)) calc(2.5 * var(--pas));
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
  }
  .pastille.ok {
    background: var(--bon);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--bon) 12%, transparent);
    }
    color: var(--bon);
  }
  .pastille.ko {
    background: var(--mal);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--mal) 14%, transparent);
    }
    color: var(--mal-texte);
  }
  .discret {
    padding: var(--pas) 0;
    border: 0;
    color: var(--doux);
  }
  .bloc {
    overflow-x: auto;
    background: var(--surface);
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius-lg);
  }
  table {
    min-width: 100%;
    border-collapse: collapse;
  }
  th, td {
    padding: calc(2 * var(--pas)) calc(3 * var(--pas));
    border-top: var(--trait) solid var(--ligne);
    text-align: left;
    white-space: nowrap;
  }
  th {
    border-top: 0;
    color: var(--doux);
    font-size: var(--text-xs);
    font-weight: 600;
  }
  .bloc {
    container-type: inline-size;
  }
  @container (max-width: 1040px) {
    .sauf-moyen {
      display: none;
    }
  }
  @container (max-width: 860px) {
    .sauf-petit {
      display: none;
    }
  }
  @container (max-width: 620px) {
    .sauf-mini {
      display: none;
    }
  }
  th.r, td.r {
    text-align: right;
  }
  td.large {
    min-width: var(--largeur-colonne);
    white-space: normal;
  }
  .bulle-titre {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    max-width: var(--largeur-colonne);
    padding: var(--pas) calc(2 * var(--pas));
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius);
    background: var(--surface-haute);
    color: var(--texte);
    font-size: var(--text-xs);
    line-height: 1.35;
    white-space: pre-line;
    pointer-events: none;
  }
  .une-ligne {
    display: block;
    max-width: var(--largeur-colonne);
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .doux {
    color: var(--doux);
    font-size: var(--text-xs);
  }
  .mono {
    font: var(--text-xs) var(--mono);
  }
  .alerte {
    color: var(--mal-texte);
    font-weight: 600;
  }
  .retour {
    display: inline-block;
    margin-bottom: calc(3 * var(--pas));
    color: var(--doux);
  }
  .vbon {
    color: var(--bon);
  }
  .vmoyen {
    color: var(--moyen);
  }
  .vmal {
    color: var(--mal-texte);
  }
  .et {
    display: inline-flex;
    align-items: center;
    gap: calc(1.5 * var(--pas));
    padding: calc(0.5 * var(--pas)) calc(2 * var(--pas));
    border-radius: var(--radius-full);
    background: var(--surface-haute);
    color: var(--doux);
    font-size: var(--text-xs);
    font-weight: 600;
    white-space: nowrap;
  }
  .et.souple {
    white-space: normal;
    text-align: left;
  }
  .et::before {
    flex: none;
    content: "";
    width: calc(1.5 * var(--pas));
    height: calc(1.5 * var(--pas));
    border-radius: 50%;
    background: currentcolor;
  }
  .et.bon {
    background: var(--bon);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--bon) 14%, transparent);
    }
    color: var(--bon);
  }
  .et.panne {
    background: var(--mal);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--mal) 14%, transparent);
    }
    color: var(--mal-texte);
  }
  .et.doute {
    background: var(--moyen);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--moyen) 14%, transparent);
    }
    color: var(--moyen);
  }
  .et.mixte {
    background: var(--bon);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--bon) 14%, transparent);
    }
    color: var(--bon);
  }
  .et.mixte::before {
    background: linear-gradient(90deg, var(--bon) 50%, var(--mal) 50%);
  }
  .et.maintenance {
    background: var(--info);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--info) 14%, transparent);
    }
    color: var(--info);
  }
  .barres {
    display: inline-flex;
    gap: var(--trait);
  }
  .barres i {
    width: var(--barre);
    height: var(--hauteur-barres);
    border-radius: var(--trait);
    background: var(--ligne);
  }
  .barres .bon {
    background: var(--bon);
  }
  .barres .moyen {
    background: var(--moyen);
  }
  .barres .mal {
    background: var(--mal);
  }
  .tendance {
    vertical-align: middle;
    fill: var(--mal);
  }
  .courbe-cadre {
    padding: calc(3 * var(--pas));
  }
  .une {
    display: flex;
    align-items: center;
    gap: calc(4.5 * var(--pas));
    margin-bottom: calc(3 * var(--pas));
    padding: calc(5.5 * var(--pas)) calc(6 * var(--pas));
    background: var(--surface);
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius-xl);
  }
  .une h1 {
    font-size: var(--text-2xl);
  }
  .une.ok {
    border-color: var(--bon);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--bon) 35%, transparent);
    }
  }
  .une.ko {
    border-color: var(--mal);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--mal) 50%, transparent);
    }
  }
  .pouls {
    flex: none;
    width: var(--icone);
    height: var(--icone);
    border-radius: 50%;
    background: var(--bon);
    animation: pouls 2s infinite;
  }
  .une.ko .pouls {
    background: var(--mal);
  }
  @keyframes pouls {
    0% {
      box-shadow: 0 0 0 0 color-mix(in srgb, var(--bon) 50%, transparent);
    }
    70%, 100% {
      box-shadow: 0 0 0 calc(3 * var(--pas)) transparent;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .pouls {
      animation: none;
    }
  }
  .chiffres {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--largeur-chiffre), 1fr));
    gap: calc(3 * var(--pas));
  }
  .chiffre {
    padding: calc(3 * var(--pas));
    background: var(--surface);
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius-lg);
  }
  .chiffre > span {
    color: var(--doux);
    font-size: var(--text-xs);
  }
  .chiffre small {
    display: block;
    margin-top: var(--pas);
    color: var(--doux);
    font-size: var(--text-xs);
  }
  a.chiffre {
    color: inherit;
    text-decoration: none;
  }
  a.chiffre:hover {
    border-color: var(--doux);
  }
  a.chiffre.actif {
    border-color: var(--info);
  }
  .chiffre.vbon b, .chiffre.bon b {
    color: var(--bon);
  }
  .chiffre.vmoyen b {
    color: var(--moyen);
  }
  .chiffre.vmal b, .chiffre.mauvais b {
    color: var(--mal-texte);
  }
  .chiffre.panne b {
    color: var(--mal-texte);
  }
  .chiffre.doute b {
    color: var(--moyen);
  }
  .chiffre b {
    display: block;
    font-size: var(--text-lg);
  }
  .titre-barre {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(3 * var(--pas));
    margin-bottom: calc(4 * var(--pas));
  }
  .titre-barre h1 {
    margin: 0;
  }
  .barre {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(2 * var(--pas));
    margin-left: auto;
  }
  .menu {
    position: relative;
    font-size: var(--text-sm);
  }
  .menu summary, .menu.seul {
    display: block;
    padding: var(--pas) calc(3 * var(--pas));
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--texte);
    white-space: nowrap;
  }
  .menu summary {
    cursor: pointer;
    list-style: none;
  }
  .menu summary::-webkit-details-marker {
    display: none;
  }
  .menu summary::after {
    content: "";
    display: inline-block;
    margin-left: calc(2 * var(--pas));
    border-inline: var(--pas) solid transparent;
    border-top: var(--barre) solid var(--doux);
    vertical-align: middle;
  }
  .menu summary:hover {
    background: var(--surface-haute);
  }
  .menu-liste {
    position: absolute;
    z-index: 10;
    top: calc(100% + var(--pas));
    right: 0;
    display: flex;
    flex-direction: column;
    min-width: 100%;
    max-height: calc(80 * var(--pas));
    overflow-y: auto;
    padding: var(--pas);
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius);
    background: var(--surface-haute);
  }
  .projet-en-cours .menu-liste {
    right: auto;
    left: 0;
  }
  .menu-liste a {
    padding: var(--pas) calc(2 * var(--pas));
    border-radius: var(--radius);
    color: var(--texte);
    white-space: nowrap;
  }
  .menu-liste a:hover {
    background: var(--surface);
  }
  .compte summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--symbole);
    height: var(--symbole);
    padding: 0;
    border-radius: var(--radius-full);
    background: var(--surface-haute);
    color: var(--encre);
    font-weight: 700;
  }
  .compte summary::after {
    content: none;
  }
  .compte .menu-liste {
    min-width: max-content;
  }
  .compte .menu-liste > .doux, .compte .menu-liste button {
    padding: var(--pas) calc(2 * var(--pas));
    text-align: left;
  }
  .menu-liste a.actif {
    color: var(--bon);
  }
  .sous-onglets {
    display: flex;
    flex-wrap: wrap;
    gap: calc(4 * var(--pas));
    margin-bottom: calc(4 * var(--pas));
    border-bottom: var(--trait) solid var(--ligne);
  }
  .sous-onglets a {
    padding-bottom: calc(2 * var(--pas));
    margin-bottom: calc(-1 * var(--trait));
    border-bottom: var(--trait-fort) solid transparent;
    color: var(--doux);
    font-size: var(--text-sm);
  }
  .sous-onglets a.actif {
    border-color: var(--bon);
    color: var(--encre);
  }
  .choix {
    display: flex;
    flex-wrap: wrap;
    gap: calc(1.5 * var(--pas));
    margin-block: calc(3 * var(--pas));
  }
  .choix a {
    padding: var(--pas) calc(3 * var(--pas));
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius-full);
    color: var(--doux);
    font-size: var(--text-sm);
  }
  .choix a.actif {
    border-color: var(--bon);
    color: var(--bon);
  }
  .gestes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(2 * var(--pas));
  }
  td.gestes {
    min-width: calc(60 * var(--pas));
  }
  .gestes.haut {
    margin-top: calc(3 * var(--pas));
  }
  .courbe {
    display: block;
    width: 100%;
    height: auto;
  }
  .courbe text {
    fill: var(--doux);
    font-size: var(--text-2xs);
  }
  .legende {
    display: flex;
    flex-wrap: wrap;
    gap: calc(3 * var(--pas));
    margin-top: var(--pas);
    color: var(--doux);
    font-size: var(--text-sm);
  }
  .legende i, .legende .trait {
    display: inline-block;
    width: calc(3 * var(--pas));
    height: var(--trait-fort);
    margin-right: var(--pas);
    vertical-align: middle;
  }
  .legende i.repere {
    border-top: var(--trait-fort) dashed var(--doux);
    height: 0;
  }
  .zero {
    margin-top: calc(4 * var(--pas));
  }
  .zero summary {
    cursor: pointer;
    color: var(--doux, inherit);
  }
  .a-menu {
    display: grid;
    grid-template-columns: calc(56 * var(--pas)) minmax(0, 1fr);
    gap: calc(8 * var(--pas));
    align-items: start;
  }
  .a-menu-liste {
    position: sticky;
    top: calc(4 * var(--pas));
    display: flex;
    flex-direction: column;
    gap: var(--pas);
  }
  .a-menu-liste a {
    padding: calc(2 * var(--pas)) calc(3 * var(--pas));
    border-radius: var(--radius);
    color: var(--doux);
    font-size: var(--text-sm);
    text-decoration: none;
  }
  .a-menu-liste a:hover {
    background: var(--surface);
    color: var(--texte);
  }
  .a-menu-liste a.actif {
    background: var(--surface-haute);
    color: var(--encre);
    font-weight: 600;
  }
  .a-menu-contenu > h2:first-child {
    margin-top: 0;
  }
  @media (max-width: 640px) {
    .a-menu {
      grid-template-columns: minmax(0, 1fr);
      gap: calc(4 * var(--pas));
    }
    .a-menu-liste {
      position: static;
      flex-direction: row;
      flex-wrap: wrap;
    }
    .a-menu-liste a {
      white-space: nowrap;
    }
    .ce-que-je-recois td:first-child {
      white-space: normal;
    }
    .ce-que-je-recois th, .ce-que-je-recois td {
      padding-inline: calc(2 * var(--pas));
    }
  }
  .nouveau.large {
    max-width: none;
  }
  .nouveau.large label {
    display: flex;
    flex-direction: column;
    gap: calc(2 * var(--pas));
  }
  .nouveau.large textarea {
    width: 100%;
    font-family: var(--mono);
    font-size: var(--text-sm);
  }
  .nouveau {
    margin-bottom: calc(3 * var(--pas));
    display: flex;
    flex-direction: column;
    gap: calc(2 * var(--pas));
    max-width: var(--largeur-formulaire);
    margin-top: calc(3 * var(--pas));
  }
  .cases {
    display: flex;
    flex-wrap: wrap;
    gap: var(--pas) calc(3.5 * var(--pas));
  }
  .case {
    display: flex;
    align-items: center;
    gap: calc(1.5 * var(--pas));
    font-weight: 400;
  }
  .projet {
    margin-bottom: calc(2 * var(--pas));
    padding: calc(3 * var(--pas));
  }
  .projet summary {
    cursor: pointer;
  }
  .reglage {
    display: flex;
    flex-direction: column;
    gap: calc(3 * var(--pas));
    margin-block: calc(3 * var(--pas));
    padding: calc(4 * var(--pas));
  }
  .reglage p {
    margin: 0;
  }
  .qr {
    display: block;
    width: min(var(--largeur-qr), 100%);
    border-radius: var(--radius);
  }
  .avec-oeil {
    position: relative;
    display: block;
  }
  .avec-oeil input {
    width: 100%;
    padding-right: calc(11 * var(--pas));
  }
  .avec-oeil > button.oeil {
    position: absolute;
    inset: 0 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(10 * var(--pas));
    padding: 0;
    color: var(--doux);
    background: none;
    border: 0;
  }
  .avec-oeil > button.oeil:hover {
    color: var(--bon);
  }
  .codes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--largeur-case), 1fr));
    gap: var(--pas);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .a-copier {
    display: flex;
    gap: calc(1.5 * var(--pas));
    min-width: 0;
  }
  .a-copier input {
    flex: 1;
    min-width: 0;
    font: var(--text-xs) var(--mono);
  }
  .a-copier button {
    flex: none;
  }
  .variables {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: calc(1.5 * var(--pas));
  }
  @media (max-width: 640px) {
    .variables {
      grid-template-columns: minmax(0, 1fr);
    }
  }
  .annonce {
    margin-block: calc(3 * var(--pas));
    padding: calc(3 * var(--pas));
    border: var(--trait) solid var(--bon);
    border-radius: var(--radius-lg);
  }
  .connexion {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: calc(4 * var(--pas));
  }
  .carte {
    display: flex;
    flex-direction: column;
    gap: calc(2.5 * var(--pas));
    width: 100%;
    max-width: var(--largeur-carte);
    padding: calc(8 * var(--pas));
    background: var(--surface);
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius-xl);
  }
  .carte p {
    margin: 0 0 calc(2 * var(--pas));
  }
  .marque.grande {
    margin-bottom: var(--trait-fort);
    font-size: var(--text-2xl);
  }
  .marque.grande .symbole {
    width: var(--symbole-grand);
    height: var(--symbole-grand);
  }
  .refus {
    color: var(--mal-texte);
    font-weight: 600;
  }
  .principal {
    margin-top: calc(2 * var(--pas));
    padding: calc(3 * var(--pas));
    border: 0;
    border-radius: var(--radius-full);
    background: var(--bon);
    color: var(--sur-accent);
    font-weight: 700;
  }
  .principal:hover {
    color: var(--sur-accent);
    filter: brightness(1.08);
  }
  .formulaire label {
    display: flex;
    flex-direction: column;
    gap: calc(1.5 * var(--pas));
  }
  .formulaire .gestes label {
    flex-direction: row;
    align-items: center;
  }
  .formulaire .gestes label.case {
    font-weight: 400;
  }
  .formulaire.haut, form.haut {
    margin-top: calc(3 * var(--pas));
  }
  select {
    padding: calc(1.5 * var(--pas)) calc(2 * var(--pas));
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius);
    background: var(--surface-haute);
    color: var(--texte);
    font: inherit;
  }
  .gestes input:not([type="checkbox"]) {
    padding: calc(1.5 * var(--pas)) calc(2 * var(--pas));
    font-size: var(--text-base);
  }
  .bouton {
    display: inline-block;
    padding: calc(1.5 * var(--pas)) calc(3 * var(--pas));
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius);
    color: var(--texte);
  }
  .bouton:hover {
    border-color: var(--bon);
  }
  button.principal {
    margin-top: 0;
    padding: calc(1.5 * var(--pas)) calc(4 * var(--pas));
  }
  .fil {
    display: flex;
    flex-direction: column;
    gap: calc(3 * var(--pas));
    margin-block: calc(4 * var(--pas));
  }
  .message {
    max-width: 90%;
    padding: calc(3 * var(--pas)) calc(4 * var(--pas));
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius-lg);
    background: var(--surface);
  }
  .message.equipe, .message.systeme {
    align-self: flex-end;
    background: var(--surface-haute);
  }
  .message.interne {
    border-style: dashed;
    border-color: var(--moyen);
  }
  .message .texte {
    margin-top: var(--pas);
    white-space: pre-line;
    overflow-wrap: anywhere;
  }
  .message .texte a {
    text-decoration: underline;
  }
  .piece {
    display: block;
    max-width: min(100%, var(--largeur-texte));
    margin-top: calc(2 * var(--pas));
    border-radius: var(--radius);
  }
  .colonnes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: calc(4 * var(--pas));
    align-items: start;
  }
  .colonnes h2 {
    margin-top: 0;
  }
  .carte-idee {
    display: flex;
    flex-direction: column;
    gap: var(--pas);
    margin-bottom: calc(2 * var(--pas));
    padding: calc(3 * var(--pas));
  }
  .carte-idee:hover {
    border-color: var(--bon);
  }
  @media (max-width: 860px) {
    .colonnes {
      grid-template-columns: minmax(0, 1fr);
    }
  }
  @media (max-width: 640px) {
    input, textarea, select {
      font-size: var(--text-lg);
    }
    button, .menu summary, .menu.seul, .onglets a {
      min-height: var(--cible);
    }
    .menu summary, .menu.seul, .onglets a {
      display: flex;
      align-items: center;
    }
    .compte summary {
      width: var(--cible);
    }
  }
  .historique-alertes td:first-child {
    white-space: nowrap;
    vertical-align: top;
  }
  .historique-alertes td {
    vertical-align: top;
  }
  .tiroir {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 40;
    width: min(760px, 100vw);
    overflow: auto;
    padding: calc(5 * var(--pas));
    border-left: var(--trait) solid var(--ligne);
    background: var(--surface);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.35);
  }
  .tiroir[hidden] {
    display: none;
  }
  .tiroir-barre {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(4 * var(--pas));
  }
  th.filtrable {
    position: relative;
  }
  .filtre-bouton {
    margin-left: calc(1.5 * var(--pas));
    padding: 0 calc(1 * var(--pas));
    border: 0;
    background: none;
    color: var(--doux, inherit);
    opacity: 0.6;
    cursor: pointer;
    vertical-align: middle;
  }
  .filtre-bouton:hover, th.filtre-actif .filtre-bouton {
    opacity: 1;
  }
  th.filtre-actif {
    color: var(--info);
  }
  .filtre-fenetre {
    position: fixed;
    z-index: 30;
    display: grid;
    gap: calc(2 * var(--pas));
    min-width: calc(56 * var(--pas));
    max-width: calc(80 * var(--pas));
    padding: calc(3 * var(--pas));
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    color: var(--texte);
    font-weight: 400;
    text-align: left;
  }
  .filtre-liste {
    display: grid;
    max-height: calc(64 * var(--pas));
    overflow: auto;
  }
  .filtre-liste label {
    display: flex;
    align-items: center;
    gap: calc(2 * var(--pas));
    padding: calc(1 * var(--pas)) 0;
    white-space: nowrap;
  }
  .filtre-liste small {
    margin-left: auto;
    padding-left: calc(4 * var(--pas));
  }
  .filtre-gestes {
    display: flex;
    gap: calc(2 * var(--pas));
  }
  tr.ouverte {
    background: var(--surface-haute);
  }
  tr[data-tiroir] {
    cursor: pointer;
  }
  tr[data-tiroir]:hover {
    background: var(--surface-haute);
  }
  td.revient {
    min-width: calc(40 * var(--pas));
    max-width: calc(70 * var(--pas));
    white-space: normal;
  }
  .parcours {
    display: flex;
    flex-wrap: wrap;
    gap: 0 calc(1 * var(--pas));
    white-space: nowrap;
  }
  .confirmation {
    max-width: var(--largeur-dialogue);
    padding: calc(6 * var(--pas));
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius-xl);
    background: var(--surface);
    color: var(--texte);
  }
  .confirmation::backdrop {
    background: rgba(0, 0, 0, 0.6);
  }
  .confirmation h2 {
    margin-top: 0;
  }
  .confirmation .gestes {
    justify-content: flex-end;
  }
  .case-cachee {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .cadre {
    display: grid;
    grid-template-columns: calc(60 * var(--pas)) minmax(0, 1fr);
    min-height: 100vh;
  }
  .lateral {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    overflow-y: auto;
    padding: calc(4 * var(--pas)) calc(3 * var(--pas));
    border-right: var(--trait) solid var(--ligne);
    background: var(--surface);
  }
  .lateral .marque {
    padding: 0 calc(3 * var(--pas)) calc(4 * var(--pas));
  }
  .lateral nav {
    display: flex;
    flex-direction: column;
    gap: calc(0.5 * var(--pas));
  }
  .groupe {
    margin: calc(4 * var(--pas)) 0 var(--pas);
    padding: 0 calc(3 * var(--pas));
    color: var(--doux);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .entree, .sous-menu > summary {
    display: block;
    padding: calc(2 * var(--pas)) calc(3 * var(--pas));
    border-radius: var(--radius);
    color: var(--texte);
    font-weight: 500;
  }
  .entree:hover, .sous-menu > summary:hover {
    background: var(--surface-haute);
    color: var(--encre);
  }
  .entree.actif, .sous-menu a.actif {
    background: var(--surface-haute);
    color: var(--bon);
    font-weight: 600;
  }
  .cote {
    min-width: 0;
  }
  .cote .tete-contenu {
    max-width: none;
  }
  .bouton-lateral {
    display: none;
    padding: var(--pas) calc(3 * var(--pas));
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius);
    cursor: pointer;
  }
  @media (max-width: 900px) {
    .cadre {
      display: block;
    }
    .lateral {
      position: fixed;
      z-index: 20;
      inset: 0 auto 0 0;
      width: min(calc(72 * var(--pas)), 85vw);
      transform: translateX(-100%);
      transition: transform 0.15s;
    }
    #lateral-ouvert:checked ~ .cadre .lateral {
      transform: none;
      box-shadow: 0 0 0 100vmax rgb(0 0 0 / 0.5);
    }
    .bouton-lateral {
      display: block;
    }
  }
  .sous-menu > summary {
    padding: calc(1.5 * var(--pas)) calc(3 * var(--pas));
    border-radius: var(--radius);
    color: var(--texte);
    cursor: pointer;
    list-style: none;
  }
  .sous-menu > summary::-webkit-details-marker {
    display: none;
  }
  .sous-menu > summary::after {
    content: "";
    float: right;
    margin-top: calc(1.5 * var(--pas));
    border-inline: var(--pas) solid transparent;
    border-top: var(--barre) solid var(--doux);
  }
  .sous-menu[open] > summary::after {
    transform: rotate(180deg);
  }
  .sous-menu > div {
    display: flex;
    flex-direction: column;
    padding-left: calc(3 * var(--pas));
  }
  .outils {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(2 * var(--pas));
    margin-bottom: calc(3 * var(--pas));
  }
  .outils.bas {
    margin-top: calc(3 * var(--pas));
    margin-bottom: 0;
  }
  .outils input:not([type="checkbox"]) {
    padding: calc(1.5 * var(--pas)) calc(2 * var(--pas));
    font-size: var(--text-base);
  }
  .outils input[type="search"] {
    flex: 1 1 var(--largeur-colonne);
    max-width: var(--largeur-texte);
  }
  .outils .pousse {
    margin-left: auto;
  }
  .bloc table th {
    position: sticky;
    top: 0;
    padding: var(--pas) calc(2 * var(--pas));
    background: var(--surface-haute);
  }
  .bloc table td {
    padding: var(--pas) calc(2 * var(--pas));
    font-size: var(--text-sm);
    vertical-align: top;
  }
  .bloc table tbody tr:hover {
    background: var(--surface-haute);
  }
  .bloc table .case {
    width: calc(8 * var(--pas));
    padding-right: 0;
  }
  .bloc table .case input {
    padding: 0;
  }
  .bloc table .une-ligne {
    max-width: var(--largeur-carte);
    white-space: nowrap;
  }
  .id {
    color: var(--info);
    font: var(--text-xs) var(--mono);
  }
  .titre-erreur {
    display: block;
    max-width: var(--largeur-carte);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .chiffres.six {
    grid-template-columns: repeat(auto-fit, minmax(calc(32 * var(--pas)), 1fr));
  }
  .puces {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(3 * var(--pas));
    margin-bottom: calc(4 * var(--pas));
  }
  .tri-fiche {
    padding: calc(3 * var(--pas));
  }
  .tri-fiche .tri-motif {
    margin: var(--pas) 0 calc(3 * var(--pas));
  }
  .tri-fiche table {
    margin-top: calc(3 * var(--pas));
  }
  .tri-fiche .outils input:not([type="checkbox"]) {
    flex: 1 1 var(--largeur-colonne);
  }
  table, .chiffre b {
    font-variant-numeric: tabular-nums;
  }
  .aller {
    position: absolute;
    left: calc(2 * var(--pas));
    top: calc(-12 * var(--pas));
    z-index: 30;
    padding: calc(2 * var(--pas)) calc(3 * var(--pas));
    border-radius: var(--radius);
    background: var(--surface-haute);
  }
  .aller:focus {
    top: calc(2 * var(--pas));
  }
  th.triable {
    cursor: pointer;
    user-select: none;
  }
  th.triable:hover {
    color: var(--texte);
  }
  th[aria-sort="ascending"]::after {
    content: " ↑";
  }
  th[aria-sort="descending"]::after {
    content: " ↓";
  }
  tr[hidden] {
    display: none;
  }
  .avis + .avis {
    margin-top: calc(3 * var(--pas));
    padding-top: calc(3 * var(--pas));
    border-top: var(--trait) solid var(--ligne);
  }
  .avis.ancien {
    opacity: 0.7;
  }
  .avis p {
    margin: var(--pas) 0;
  }
  .actualisation {
    margin-left: auto;
    background: none;
    border: 1px solid var(--ligne);
    color: var(--doux);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 6px;
    cursor: pointer;
  }
  .actualisation[aria-pressed="false"] {
    color: var(--mal-texte);
  }
  :root[data-theme="light"] {
    color-scheme: light;
    --fond: #f5f7fb;
    --surface: #fff;
    --surface-haute: #eef2f8;
    --encre: #0f172a;
    --texte: #1e293b;
    --doux: #566275;
    --ligne: #e2e8f0;
    --sur-accent: #fff;
    --ombre: 0 1px 2px rgb(15 23 42 / 0.05), 0 1px 3px rgb(15 23 42 / 0.04);
    --survol: rgb(15 23 42 / 0.03);
    --bon: #15803d;
    --moyen: #b45309;
    --mal: #dc2626;
    --mal-texte: #b91c1c;
    --info: #2563eb;
  }
  :root[data-theme="light"] .lateral {
    background: var(--surface);
  }
  :root[data-theme="light"] .entree.actif, :root[data-theme="light"] .sous-menu a.actif {
    background: var(--bon);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--bon) 10%, transparent);
    }
  }
  .bloc, .chiffre, .projet {
    box-shadow: var(--ombre);
  }
  tbody tr:hover {
    background: var(--survol);
  }
  .tete {
    box-shadow: var(--ombre);
  }
  .theme {
    display: inline-flex;
    gap: calc(0.5 * var(--pas));
    padding: calc(0.5 * var(--pas));
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius-full);
  }
  .theme button {
    display: grid;
    place-items: center;
    width: calc(6.5 * var(--pas));
    height: calc(6.5 * var(--pas));
    padding: 0;
    border: 0;
    border-radius: var(--radius-full);
    color: var(--doux);
  }
  .theme button:hover {
    color: var(--encre);
  }
  .theme button[aria-pressed="true"] {
    background: var(--surface-haute);
    color: var(--bon);
    box-shadow: 0 0 0 var(--trait) var(--ligne);
  }
  .aide {
    margin: 0 0 calc(4 * var(--pas));
    color: var(--doux);
    font-size: var(--text-sm);
    max-width: 72ch;
  }
  .ico {
    flex: none;
    width: calc(4 * var(--pas));
    height: calc(4 * var(--pas));
    fill: none;
    stroke: currentcolor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .entree {
    display: flex;
    align-items: center;
    gap: calc(2.5 * var(--pas));
  }
  .entree .ico {
    opacity: 0.75;
  }
  .entree.actif .ico {
    opacity: 1;
  }
  .ariane {
    display: flex;
    align-items: center;
    gap: calc(2 * var(--pas));
    min-width: 0;
    font-size: var(--text-sm);
  }
  .ariane a {
    color: var(--doux);
  }
  .ariane a:hover {
    color: var(--encre);
  }
  .ariane .ici {
    color: var(--encre);
    font-weight: 600;
  }
  .ariane .sep {
    color: var(--ligne);
  }
  .ariane .menu summary {
    font-weight: 600;
    color: var(--encre);
  }
  .replier {
    display: grid;
    place-items: center;
    width: calc(8 * var(--pas));
    height: calc(8 * var(--pas));
    padding: 0;
    border: 0;
    color: var(--doux);
  }
  .entree .mot {
    min-width: 0;
  }
  @media (max-width: 900px) {
    .replier {
      display: none;
    }
  }
  @media (min-width: 901px) {
    :root[data-menu="replie"] .cadre {
      grid-template-columns: calc(16 * var(--pas)) minmax(0, 1fr);
    }
    :root[data-menu="replie"] .lateral {
      padding-inline: calc(2 * var(--pas));
    }
    :root[data-menu="replie"] .lateral .mot, :root[data-menu="replie"] .lateral .groupe {
      display: none;
    }
    :root[data-menu="replie"] .lateral .marque {
      justify-content: center;
      padding-inline: 0;
    }
    :root[data-menu="replie"] .entree {
      justify-content: center;
      padding-inline: 0;
    }
  }
  .retour-menu {
    display: flex;
    align-items: center;
    gap: calc(2 * var(--pas));
    margin-bottom: calc(2 * var(--pas));
    padding: calc(2 * var(--pas)) calc(3 * var(--pas));
    border-radius: var(--radius);
    color: var(--doux);
    font-weight: 600;
  }
  .retour-menu:hover {
    background: var(--surface-haute);
    color: var(--encre);
  }
  .grille-projets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--largeur-carte), 1fr));
    gap: calc(4 * var(--pas));
  }
  .carte-projet {
    display: flex;
    flex-direction: column;
    gap: calc(3 * var(--pas));
    padding: calc(4 * var(--pas));
    background: var(--surface);
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius-lg);
    box-shadow: var(--ombre);
  }
  .carte-projet header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(2 * var(--pas));
  }
  .carte-projet h2 {
    margin: 0;
    font-size: var(--text-lg);
  }
  .carte-projet .chiffres {
    grid-template-columns: repeat(3, 1fr);
  }
  .carte-projet .chiffre {
    padding: calc(2 * var(--pas));
    background: var(--surface-haute);
    box-shadow: none;
  }
  .carte-projet footer {
    display: flex;
    align-items: center;
    gap: calc(4 * var(--pas));
    margin-top: auto;
  }
  .carte-projet .principal {
    margin: 0;
    padding: calc(1.5 * var(--pas)) calc(4 * var(--pas));
  }
  ul.alertes {
    display: flex;
    flex-direction: column;
    gap: calc(1.5 * var(--pas));
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .alertes {
    margin: 0;
    font-size: var(--text-sm);
  }
  .tuiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--largeur-colonne), 1fr));
    gap: calc(3 * var(--pas));
  }
  .tuile {
    display: flex;
    flex-direction: column;
    gap: var(--pas);
    padding: calc(4 * var(--pas));
    background: var(--surface);
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius-lg);
    box-shadow: var(--ombre);
  }
  .tuile:hover {
    border-color: var(--doux);
    color: inherit;
  }
  .a-traiter {
    margin-bottom: calc(5 * var(--pas));
    padding: calc(4 * var(--pas));
    background: var(--surface);
    border: var(--trait) solid var(--ligne);
    border-radius: var(--radius-lg);
    box-shadow: var(--ombre);
  }
  .a-traiter h2 {
    margin: 0 0 calc(2 * var(--pas));
    font-size: var(--text-lg);
  }
  .a-traiter ul {
    display: flex;
    flex-wrap: wrap;
    gap: calc(2 * var(--pas));
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .a-traiter p {
    margin: 0;
  }
  .compteur {
    margin-left: auto;
    padding: 0 calc(2 * var(--pas));
    border-radius: var(--radius-full);
    background: var(--mal);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--mal) 16%, transparent);
    }
    color: var(--mal-texte);
    font-size: var(--text-xs);
    font-weight: 700;
  }
  :root[data-menu="replie"] .lateral .compteur {
    display: none;
  }
  tr.courante {
    background: var(--info);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--info) 10%, transparent);
    }
    box-shadow: inset 2px 0 0 var(--info);
  }
  .raccourcis {
    margin-top: calc(2 * var(--pas));
    font-size: var(--text-xs);
  }
  .depli > summary {
    cursor: pointer;
    list-style: none;
  }
  .depli > summary::-webkit-details-marker {
    display: none;
  }
  .depli ul {
    margin: 0.4rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.3rem;
  }
  .depli[id] > .bloc {
    margin-top: 0.6rem;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .mb-4 {
    margin-bottom: calc(4px * 4);
  }
  .contents {
    display: contents;
  }
  .hidden {
    display: none;
  }
  .table {
    display: table;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}
