*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  background: rgba(120, 140, 170, 0.12);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  font-optical-sizing: auto;
  color: #1d1d1f;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #0a84ff;
  text-decoration: none;
}

::selection {
  background: #c7e7ee;
}

input,
select,
button,
textarea {
  font-family: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
}

.num,
.numeric {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.ux-icon {
  display: inline-block;
  vertical-align: middle;
  flex: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.app {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 620px at 12% -8%, #dfe9f6 0%, rgba(223, 233, 246, 0) 60%), radial-gradient(1000px 680px at 108% 8%, #e7e3f3 0%, rgba(231, 227, 243, 0) 55%), radial-gradient(900px 700px at 60% 116%, #e2f0ee 0%, rgba(226, 240, 238, 0) 55%), #eaeef4;
}

.app__grid {
  height: 100%;
  display: grid;
  grid-template-columns: 190px 1fr;
  min-width: 1120px;
}

.app__grid--pleine-largeur {
  grid-template-columns: 1fr;
}

.app__main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: transparent;
}

.app__content {
  flex: 1;
  min-height: 0;
  display: flex;
  padding: 14px;
  gap: 14px;
}

.nav {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 0.5px solid transparent;
  border: 0;
  border-right: 0.5px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  padding: 14px 10px;
  gap: 3px;
  min-height: 0;
  overflow-y: auto;
}
.nav::-webkit-scrollbar {
  width: 10px;
}
.nav::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 3px solid #fff;
  border-radius: 8px;
}
.nav::-webkit-scrollbar-track {
  background: transparent;
}

.nav__retour {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  margin-bottom: 9px;
  border-radius: 9px;
  color: #64748b;
  text-decoration: none;
  transition: all 0.12s;
}
.nav__retour:hover {
  background: rgba(0, 0, 0, 0.03);
  color: #0a84ff;
}

.nav__retour-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.nav__retour-label {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 6px 16px;
}

.nav__brand-name {
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.nav-chantier {
  margin: 2px 4px 14px;
  padding: 11px 12px;
  border: 0.5px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  background: rgba(120, 140, 170, 0.1);
}

.nav-chantier__kicker {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a8a8e;
  margin-bottom: 5px;
}

.nav-chantier__titre {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #1d1d1f;
}

.nav-chantier__meta {
  font-size: 11.5px;
  color: #6e6e73;
  margin-top: 2px;
}

.nav-chantier__chips {
  display: flex;
  gap: 6px;
  margin-top: 9px;
}

.nav-chantier__chip {
  flex: none;
  white-space: nowrap;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(120, 140, 170, 0.14);
  color: #6e6e73;
  font-size: 10.5px;
  font-weight: 600;
}
.nav-chantier__chip--wo {
  background: rgba(10, 132, 255, 0.12);
  color: #0a84ff;
}

.nav__item {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 38px;
  padding: 0 11px;
  border-radius: 9px;
  cursor: pointer;
  color: #3a3a3c;
  background: transparent;
  transition: all 0.12s;
}
.nav__item:hover {
  background: rgba(0, 0, 0, 0.03);
}
.nav__item--active {
  color: #0a84ff;
  background: rgba(10, 132, 255, 0.16);
}
.nav__item--active:hover {
  background: rgba(10, 132, 255, 0.16);
}

.nav__icon {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex: none;
}

.nav__label {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.nav__item--active .nav__label {
  font-weight: 700;
}

.nav__spacer {
  flex: 1;
}

.nav__logout {
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #64748b;
}
.nav__logout:hover {
  background: rgba(0, 0, 0, 0.04);
}

.header {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 0.5px solid transparent;
  border: 0;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
  height: 62px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
}

.header--tally {
  gap: 20px;
}

.header__mark {
  flex: none;
  display: block;
}

.header__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header__spacer {
  flex: 1;
}

.header .button--icone {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #94a3b8;
}

.breadcrumb__item {
  font-weight: 400;
}
.breadcrumb__item--current {
  color: #0f172a;
  font-weight: 600;
}

.breadcrumb__sep {
  color: #cbd5e1;
}

.identity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.identity__name {
  font-size: 12px;
  color: #64748b;
}

.identity__avatar {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eaf3ff;
  color: #0a84ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.header__logout {
  margin-left: 4px;
  width: 32px;
  height: 32px;
  flex: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #64748b;
  text-decoration: none;
  transition: background 0.12s;
}
.header__logout:hover {
  background: rgba(0, 0, 0, 0.04);
}

.login {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 1120px;
}

.login__brand {
  position: relative;
  overflow: hidden;
  background: #0f172a;
  color: #e6f6fa;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px 56px;
}

.login__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 14, 25, 0.72) 0%, rgba(9, 14, 25, 0.3) 42%, rgba(9, 14, 25, 0.78) 100%);
}

.login__mark,
.login__pitch,
.login__footer {
  position: relative;
  z-index: 2;
}

.login__mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login__mark-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.login__pitch {
  max-width: 440px;
}

.login__pitch-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.login__pitch-sub {
  font-size: 15.5px;
  color: #c7d0dc;
  margin-top: 18px;
  line-height: 1.55;
}

.login__footer {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 11.5px;
  color: #94a3b8;
}

.login__form-pane {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.login__form {
  width: 352px;
}

.login__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.login__subtitle {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
  margin-bottom: 26px;
}

.login__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.login__input {
  width: 100%;
  height: 44px;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  background: #fff;
  outline: none;
  margin: 6px 0 16px;
}
.login__input:focus {
  border-color: #8fc0ff;
}
.login__input--last {
  margin-bottom: 22px;
}

.login__submit {
  border: none;
  background: #0a84ff;
  color: #f0fbfd;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  height: 46px;
  border-radius: 10px;
  font-size: 15px;
  box-shadow: 0 1px 3px rgba(14, 116, 144, 0.35);
}

.login__hint {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 16px;
  text-align: center;
}

.login__error {
  color: #b45309;
  background: #fdf7ee;
  border: 1px solid #f3d9b0;
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 12.5px;
  margin-bottom: 16px;
}

.panel {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.panel--flush {
  flex: none;
}
.panel--list {
  flex: 1;
  min-width: 320px;
  max-width: 440px;
}
.panel--padded {
  padding: 18px 20px;
}
.panel--empty {
  flex: 1;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 13px;
}

.panel__title {
  padding: 13px 18px 9px;
  border-bottom: 1px solid #e6ebf1;
  font-size: 13px;
  font-weight: 700;
}

.filters {
  flex: none;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border-bottom: 1px solid #e6ebf1;
}

.filters__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.filters__row--secondaire {
  margin-top: 10px;
}

.filters__search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #dfe4ea;
  border-radius: 11px;
  padding: 0 13px;
  height: 40px;
  background: #fff;
}
.filters__search:focus-within {
  border-color: #8fc0ff;
}

.filters__search-icon {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 15px;
  color: #94a3b8;
}

.filters__search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  font-size: 14px;
  outline: none;
}

.filters__toggle {
  height: 40px;
  border: 1px solid #dfe4ea;
  background: #fff;
  color: #64748b;
  border-radius: 11px;
  padding: 0 13px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.filters__toggle--ouvert {
  border-color: #a9c9f0;
  background: rgba(10, 132, 255, 0.1);
  color: #0a84ff;
}

.filters__select {
  height: 32px;
  border: 1px solid #dfe4ea;
  border-radius: 9px;
  background: #fff;
  font-size: 12.5px;
  color: #334155;
  padding: 0 8px;
  outline: none;
  cursor: pointer;
}
.filters__select:focus {
  border-color: #8fc0ff;
}

.filters__spacer {
  flex: 1;
}

.filters__row .filters__toggle,
.filters__row .button--primary,
.filters__row .button--secondary,
.filters__row .button--accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 13px;
  font-size: 12.5px;
  border-radius: 10px;
}

.recents__legend {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  flex: none;
  color: #8a8a8e;
}

.recent {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #dfe4ea;
  background: #fff;
  border-radius: 20px;
  padding: 4px 12px 4px 9px;
  font: inherit;
  cursor: pointer;
}
.recent:hover {
  border-color: #8fc0ff;
}

.recent__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}

.recent__name {
  font-size: 12.5px;
  font-weight: 600;
  color: #1d1d1f;
}

.recent__sub {
  font-size: 11px;
  color: #94a3b8;
}

.grid__head {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  height: 32px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
  border-bottom: 1px solid #f1f4f7;
  flex: none;
  display: grid;
  padding: 0 16px;
}
.grid__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.grid__body::-webkit-scrollbar {
  width: 10px;
}
.grid__body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 3px solid #fff;
  border-radius: 8px;
}
.grid__body::-webkit-scrollbar-track {
  background: transparent;
}
.grid__row {
  position: relative;
  display: grid;
  min-height: 40px;
  align-items: center;
  padding: 6px 16px;
  border-bottom: 1px solid #f4f6f8;
  cursor: pointer;
  background: transparent;
  text-align: left;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  width: 100%;
  font: inherit;
  color: inherit;
}
.grid__row:hover {
  background: #f7fbfc;
}
.grid__row--selected {
  background: #eef6f8;
}
.grid__row--selected:hover {
  background: #eef6f8;
}
.grid__group {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 4px;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(6px);
}
.grid__group-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
}
.grid__group-label {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  color: #8a8a8e;
  font-weight: 700;
}
.grid__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
}
.grid__empty {
  padding: 16px;
  color: #94a3b8;
  font-size: 12.5px;
}

.grid__bar--actif {
  background: #34c759;
}

.grid__bar--selected {
  background: #0a84ff;
}

.grid__group-dot--active,
.recent__dot--active,
.puits-row__dot--active {
  background: #0d7a52;
}

.grid__group-dot--done,
.recent__dot--done,
.puits-row__dot--done {
  background: #64748b;
}

.grid__group-dot--none,
.recent__dot--none,
.puits-row__dot--none {
  background: #94a3b8;
}

.grid__group-dot--alert,
.recent__dot--alert,
.puits-row__dot--alert {
  background: #b45309;
}

.row-open {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: #0a84ff;
  background: #eaf3ff;
  border: 1px solid #a9c9f0;
  border-radius: 20px;
  padding: 2px 10px;
  text-decoration: none;
}

.cell--right-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.row-menu-wrap {
  position: relative;
  display: inline-flex;
}

.row-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 14px;
  color: #94a3b8;
  background: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.row-menu:hover, .row-menu--open, .row-menu:focus-visible {
  background: #f1f5f9;
  color: #334155;
}

.row-menu-pop {
  position: absolute;
  right: 0;
  top: 30px;
  z-index: 20;
  display: block;
  width: 196px;
  padding: 5px;
  background: #fff;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 11px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.22);
}
.row-menu-pop__item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 10px;
  font-size: 12.5px;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.row-menu-pop__item--danger {
  color: #c2410c;
}
.row-menu-pop__item--danger:hover, .row-menu-pop__item--danger:focus-visible {
  background: #fdeee7;
}
.row-menu-pop__icon {
  flex: none;
}

.grid--workovers .grid__row:last-child .row-menu-pop {
  top: auto;
  bottom: calc(100% + 4px);
}

.grid--puits .grid__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding-left: 16px;
  padding-right: 14px;
}

.puits-row__dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
}

.puits-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.puits-row__name {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.puits-row__sub {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 8px;
  font-size: 11.5px;
  color: #94a3b8;
}

.puits-row__wo {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  flex: none;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
}
.puits-row__wo.is-active {
  color: #0a84ff;
}

.grid__empty--actions {
  padding: 26px 20px;
  text-align: center;
}

.grid__empty-title {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.grid__empty-sub {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
  margin-bottom: 14px;
}

.grid__empty-buttons {
  display: flex;
  gap: 9px;
  justify-content: center;
  flex-wrap: wrap;
}

.grid--workovers .grid__head,
.grid--workovers .grid__row {
  grid-template-columns: 100px 100px 100px 1fr 116px;
  padding-left: 18px;
  padding-right: 18px;
}

.cell--text {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 8px;
  font-size: 12.5px;
  color: #334155;
}
.cell--wo-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 13px;
  font-weight: 600;
  color: #0a84ff;
}
.cell--date {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 12.5px;
  color: #334155;
}
.cell--date.is-open {
  color: #94a3b8;
}
.cell--right {
  text-align: right;
}

.pill {
  display: inline-block;
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.pill--active {
  color: #0d7a52;
  background: #eaf7f0;
  border: 1px solid #bfe6d2;
}
.pill--done {
  color: #64748b;
  background: #f1f4f7;
  border: 1px solid #e2e8f0;
}
.pill--none {
  color: #94a3b8;
  background: #f1f4f7;
  border: 1px solid #eef1f5;
}
.pill--alert {
  color: #b45309;
  background: #fdf7ee;
  border: 1px solid #f3d9b0;
}
.pill--lead {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  font-size: 11.5px;
  padding: 0 12px;
}
.pill--table {
  font-size: 11px;
  padding: 2px 9px;
}

.pill__dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: currentcolor;
}

.detail {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.chantier__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.chantier__kicker {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.chantier__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 2px;
}

.chantier__sep {
  color: #cbd5e1;
  font-weight: 400;
}

.chantier__wo {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 18px;
  color: #0a84ff;
}

.chantier__meta {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 3px;
}

.tiles {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.tile {
  flex: none;
  border: 1px solid #e6ebf1;
  border-radius: 11px;
  padding: 9px 14px;
  background: #fbfcfd;
}
.tile--alert {
  color: #b45309;
  background: #fdf7ee;
  border: 1px solid #f3d9b0;
  border-radius: 11px;
}

.tile__label {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.tile--alert .tile__label {
  color: inherit;
}

.tile__value {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.2;
}
.tile__value--accent {
  color: #0a84ff;
}
.tile--alert .tile__value {
  color: inherit;
}

.tile__unit {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 400;
}

.tile__pmd-arrow {
  display: inline-flex;
  vertical-align: -2px;
  margin-right: 1px;
}

.tiles__spacer {
  flex: 1;
}

.shortcuts {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.shortcut {
  flex: 1;
  min-width: 0;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #dfe4ea;
  background: #fff;
  border-radius: 12px;
  padding: 0 14px;
  text-align: left;
}
.shortcut:hover {
  border-color: #8fc0ff;
  background: #f7fbfc;
}
.shortcut > span {
  min-width: 0;
}

.shortcut__icon {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  background: #eaf3ff;
  color: #0a84ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.shortcut__icon--filled {
  background: #0a84ff;
  color: #f0fbfd;
}

.shortcut__label {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
}

.shortcut__sub {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  display: block;
  font-size: 11px;
  color: #94a3b8;
}

.chantier__actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chantier__actions > button,
.chantier__actions > a {
  height: 40px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
}

.button--primary {
  border: none;
  background: #0a84ff;
  color: #f0fbfd;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 10px;
  padding: 9px 15px;
  font-size: 13px;
}
.button--secondary {
  border: 1px solid #dfe4ea;
  background: #fff;
  color: #334155;
  cursor: pointer;
  border-radius: 9px;
  padding: 9px 17px;
  font-size: 13px;
}
.button--modal-primary {
  border: none;
  background: #0a84ff;
  color: #f0fbfd;
  font-weight: 600;
  cursor: pointer;
  border-radius: 9px;
  padding: 9px 20px;
  font-size: 13px;
}
.button--accent {
  border: 1px solid #a9c9f0;
  background: #eaf3ff;
  color: #0a84ff;
  border-radius: 10px;
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.button--danger {
  border: 0;
  background: #dc2626;
  color: #fff;
  border-radius: 9px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.button--danger:disabled {
  background: #f0a99a;
  cursor: not-allowed;
}

.button--icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  flex: none;
  gap: 7px;
  padding: 0 15px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.button__glyphe {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: #0a84ff;
}

.button--icone:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

@keyframes popin {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.modal {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 45;
}

.modal__dialog {
  width: 520px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.32);
  animation: popin 0.13s ease;
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .modal__dialog {
    animation: none;
  }
}

.modal__head {
  padding: 18px 22px;
  border-bottom: 1px solid #eef1f5;
}

.modal__title {
  font-size: 15px;
  font-weight: 700;
}

.modal__sub {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 3px;
}

.modal__body {
  padding: 18px 22px;
}

.modal__foot {
  padding: 15px 22px;
  border-top: 1px solid #eef1f5;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.readonly-pair {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.readonly-field {
  flex: 1;
}

.readonly-field__label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}

.readonly-field__value {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 8px 10px;
}
.readonly-field__value--accent {
  color: #0a84ff;
}

.readonly-field__note {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 400;
}

.readonly-field__input {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  display: block;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  color: #0a84ff;
  background: #f1f5f9;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  padding: 7px 10px;
  outline: none;
}
.readonly-field__input:focus {
  border-color: #8fc0ff;
}

.modal__erreur {
  margin: -8px 0 4px;
  font-size: 12px;
  color: #c2410c;
}

.carry__legend {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.carry__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #eef1f5;
  border-radius: 9px;
  margin-bottom: 6px;
  cursor: pointer;
}

.carry__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.carry__box {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.carry__checkbox:checked + .carry__box {
  border-color: #0a84ff;
  background: #0a84ff;
}
.carry__checkbox:focus-visible + .carry__box {
  outline: 2px solid #8fc0ff;
  outline-offset: 2px;
}

.carry__label {
  flex: 1;
  font-size: 13px;
  color: #334155;
}

.modal__dialog--danger {
  width: 480px;
}

.modal__head--icone {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
}
.modal__icon--danger {
  background: #fdeee7;
  color: #dc2626;
}

.danger-banner {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #b45309;
  background: #fdf3e7;
  border: 1px solid #f3d9b0;
  border-radius: 10px;
}

.suppr-legende {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 7px;
}

.suppr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.suppr-chip {
  font-size: 11.5px;
  color: #334155;
  background: #f1f4f7;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 3px 11px;
}

.ack {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid #eef1f5;
  border-radius: 10px;
  cursor: pointer;
}

.ack__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ack__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 5px;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.ack__input:checked + .ack__box {
  border-color: #c2410c;
  background: #c2410c;
}
.ack__input:focus-visible + .ack__box {
  outline: 2px solid #fca5a5;
  outline-offset: 2px;
}

.ack__label {
  flex: 1;
  font-size: 12.5px;
  color: #334155;
}

.puits-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.puits-form__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.puits-form__label {
  width: 78px;
  flex: none;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.puits-form__control {
  flex: 1;
  min-width: 0;
  height: 38px;
  border: 1px solid #dfe4ea;
  border-radius: 9px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  color: #1d1d1f;
  padding: 0 11px;
  outline: none;
  cursor: pointer;
}
.puits-form__control:focus {
  border-color: #8fc0ff;
}
.puits-form__control:disabled {
  color: #94a3b8;
  cursor: not-allowed;
}

.modal__foot--split {
  align-items: center;
  justify-content: flex-start;
}

.puits-form__path {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 8px;
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: #94a3b8;
}

.tally-tabs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(120, 140, 170, 0.12);
}

.tally-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 15px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.12s;
}
.tally-tab:hover {
  color: #0f172a;
}

.tally-tab--active {
  background: #fff;
  color: #0a84ff;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.tally-tab__count {
  font-size: 11px;
  font-weight: 400;
  color: #94a3b8;
}
.tally-tab--active .tally-tab__count {
  color: #5b8a97;
}

.tally-stats {
  display: flex;
  align-items: stretch;
  gap: 9px;
}

.tally-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid #e6ebf1;
  border-radius: 10px;
  background: #fff;
}

.tally-stat__label {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.tally-stat__value {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
  color: #0f172a;
}

.tally-pmd {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid #cfe6ff;
  border-radius: 10px;
  background: rgba(10, 132, 255, 0.06);
}

.tally-pmd__head {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tally-pmd__label {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  color: #0a84ff;
}

.tally-pmd__pen {
  font-size: 9px;
  color: #0a84ff;
}

.tally-pmd__values {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.1;
  margin-top: 2px;
}

.tally-pmd__field {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.tally-pmd__arrow {
  font-size: 11px;
  color: #94a3b8;
}

.tally-pmd__input {
  width: 62px;
  padding: 1px 4px;
  border: 1px solid #cfe6ff;
  border-radius: 5px;
  background: #fff;
  color: #0a84ff;
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  outline: none;
}
.tally-pmd__input:focus {
  border-color: #0a84ff;
}

.tally-pmd__unit {
  font-size: 10px;
  color: #94a3b8;
}

.tally-saved {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 4px;
  font-size: 10.5px;
  color: #64748b;
  white-space: nowrap;
}

.tally-saved__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  flex: none;
}

.btn {
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 10px;
  font-size: 12.5px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.btn--ghost {
  border: 1px solid #dfe4ea;
  background: #fff;
  color: #334155;
  cursor: pointer;
  padding: 0 13px;
}
.btn--ghost:hover:not(:disabled) {
  border-color: #8fc0ff;
  background: #f7fbfc;
}
.btn--ghost[aria-pressed=true] {
  border-color: #a9c9f0;
  background: #eaf3ff;
  color: #0a84ff;
}

.btn--secondary {
  border: 1px solid #dfe4ea;
  background: #fff;
  color: #334155;
  cursor: pointer;
  padding: 0 13px;
}
.btn--secondary:hover:not(:disabled) {
  border-color: #8fc0ff;
  background: #f7fbfc;
}

.btn--primary {
  border: none;
  background: #0a84ff;
  color: #f0fbfd;
  font-weight: 600;
  cursor: pointer;
  padding: 0 15px;
  font-size: 13px;
  box-shadow: 0 1px 3px rgba(14, 116, 144, 0.35);
}

.tally-glyph {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 13px;
  color: #0a84ff;
}

.link {
  border: none;
  background: none;
  padding: 0;
  color: #0a84ff;
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
}
.link:hover {
  color: #0060df;
}

.tally-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  height: 54px;
  padding: 0 22px;
  border-bottom: 1px solid #e6ebf1;
}
.tally-toolbar .btn {
  height: 36px;
}

.tally-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 11px;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  background: #fff;
  color: #94a3b8;
  font-size: 13px;
}
.tally-search input {
  width: 230px;
  border: none;
  outline: none;
  font-size: 13px;
  color: #0f172a;
  background: transparent;
}
.tally-search:focus-within {
  border-color: #8fc0ff;
}

.tally-search__clear {
  border: none;
  background: none;
  padding: 0;
  color: #94a3b8;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.tally-search__clear:hover {
  color: #334155;
}

.tally-select {
  height: 36px;
  padding: 0 10px;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
}

.tally-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tally-grid {
  display: grid;
  grid-template-columns: 40px minmax(150px, 1fr) 96px 104px 56px 96px 100px 100px;
  align-items: center;
}

.tally-grid--head {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  flex: none;
  height: 38px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  border-bottom: 1px solid #e6ebf1;
  background: #fbfcfd;
}

.tally-grid__right {
  text-align: right;
  padding-right: 16px;
}

.tally-grid__num {
  padding-right: 12px;
}

.tally-grid__accent {
  color: #0a84ff;
}

.tally-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.tally-body::-webkit-scrollbar {
  width: 10px;
}
.tally-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 3px solid #fff;
  border-radius: 8px;
}
.tally-body::-webkit-scrollbar-track {
  background: transparent;
}

.tally-filterbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-bottom: 1px solid #cbe6ec;
  background: #eaf3ff;
  font-size: 12px;
  color: #0060df;
}

.tally-bulk {
  display: none;
}

.tally-bulk--visible {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  background: #0f172a;
  color: #e6f6fa;
  font-size: 12.5px;
}

.tally-bulk__count {
  font-weight: 600;
}

.tally-bulk__hint {
  font-size: 11.5px;
  color: #94a3b8;
}

.tally-bulk__warn {
  font-size: 12px;
  color: #fca5a5;
}

.tally-bulk__sep {
  width: 1px;
  height: 18px;
  background: #334155;
}

.tally-bulk__btn,
.tally-bulk__select,
.tally-bulk__input {
  height: 28px;
  padding: 0 10px;
  border: 1px solid #334155;
  border-radius: 8px;
  background: transparent;
  color: #cbd5e1;
  font-size: 12px;
  outline: none;
  cursor: pointer;
}
.tally-bulk__btn:disabled,
.tally-bulk__select:disabled,
.tally-bulk__input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.tally-bulk__select,
.tally-bulk__input {
  background: #1e293b;
  color: #e6f6fa;
}

.tally-bulk__input {
  width: 120px;
  cursor: text;
}

.tally-bulk__btn:not(:disabled):hover {
  color: #e6f6fa;
}

.tally-bulk__danger {
  height: 28px;
  padding: 0 13px;
  border: none;
  border-radius: 8px;
  background: #c2410c;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.tally-row {
  position: relative;
  height: 32px;
  border-top: 1px solid transparent;
  border-bottom: 1px solid #f1f4f7;
  background: #fff;
  user-select: none;
}
.tally-row:hover {
  background: #f2f8fa;
}

.tally-row--ouvre {
  border-top-color: #e2e8f0;
}

.tally-row--rod + .tally-row--rod {
  border-top-color: #eef2f6;
}

.tally-row--equip {
  background: #f8fafc;
}

.tally-row--cochee,
.tally-row--cochee.tally-row--equip {
  background: #eef6f8;
}

.tally-row--flash,
.tally-row--flash.tally-row--equip,
.tally-row--flash:hover {
  background: #dcefff;
}

.tally-row__rail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #334155;
}

.tally-row__rail--c0 {
  background: #0a84ff;
}

.tally-row__rail--c1 {
  background: #0891b2;
}

.tally-row__rail--c2 {
  background: #2563eb;
}

.tally-row__rail--c3 {
  background: #6366f1;
}

.tally-row__rail--c4 {
  background: #0d9488;
}

.tally-row__rail--c5 {
  background: #0369a1;
}

.tally-insert {
  position: absolute;
  right: 8px;
  bottom: -9px;
  z-index: 4;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #0a84ff;
  box-shadow: 0 2px 5px rgba(10, 132, 255, 0.4);
  color: #f0fbfd;
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.12s;
}
.tally-insert::before {
  content: "+";
}

.tally-row:hover .tally-insert,
.tally-insert:focus-visible {
  opacity: 1;
}

.tally-insert--actif {
  opacity: 1;
  background: #083b49;
}

@media (prefers-reduced-motion: reduce) {
  .tally-insert {
    transition: none;
  }
}
.tally-marker {
  display: flex;
  align-items: center;
  height: 22px;
  padding: 0 16px;
  border-top: 2px solid #0a84ff;
  border-bottom: 1px dashed #0a84ff;
  background: rgba(10, 132, 255, 0.1);
}

.tally-marker__texte {
  color: #0060df;
  font-size: 10.5px;
  font-weight: 700;
}

.tally-check {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 0;
}

.tally-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.tally-box:hover {
  border-color: #8fc0ff;
}

.tally-box--coche {
  border-color: #0a84ff;
  background: #0a84ff;
}
.tally-box--coche::before {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.tally-editable {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
}
.tally-editable:hover {
  color: #0a84ff;
}
.tally-editable:focus-visible {
  outline: 2px solid #8fc0ff;
  outline-offset: 1px;
  border-radius: 5px;
}

.tally-cell {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 8px;
  font-size: 12.5px;
  color: #0f172a;
}

.tally-cell--right {
  text-align: right;
  padding-right: 16px;
}

.tally-cell--type {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
}

.tally-type {
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
}

.tally-type--head {
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
}

.tally-etat {
  display: inline-block;
  width: auto;
  padding: 2px 10px;
  border: 1px solid #cfe6ff;
  border-radius: 20px;
  background: #eaf3ff;
  color: #0060df;
  font-size: 11px;
  font-weight: 500;
}
.tally-etat:hover {
  color: #0060df;
  border-color: #8fc0ff;
}

.tally-cell--num {
  padding-right: 12px;
  font-size: 12px;
  color: #b3bdc9;
}

.tally-cell--qty {
  font-size: 13px;
  font-weight: 700;
  padding-right: 12px;
}

.tally-cell--unit {
  font-weight: 600;
  color: #334155;
}

.tally-cell--len {
  font-size: 13px;
  font-weight: 600;
}

.tally-cell--cumul {
  font-size: 12.5px;
  font-weight: 500;
  color: #94a3b8;
}

.tally-cell--date {
  font-size: 12px;
  color: #cbd5e1;
}

.tally-cell--date-set {
  color: #64858f;
}

.tally-cell--date-head {
  color: #0a84ff;
  text-decoration: underline dotted #94a3b8;
  text-underline-offset: 3px;
}

.tally-cell--soft {
  color: #94a3b8;
  font-size: 12.5px;
}

.tally-cell--strong {
  font-size: 13px;
  font-weight: 700;
}

.tally-empty {
  color: #cbd5e1;
}

.tally-alert {
  color: #b45309;
  background: #fdf7ee;
  border: 1px solid #f3d9b0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  margin-right: 10px;
  padding: 2px 9px;
  border-radius: 7px;
  background: #fdf1e3;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.tally-vide {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

.tally-editable--pointille {
  text-decoration: underline dotted #94a3b8;
  text-underline-offset: 3px;
}

.tally-edit {
  display: block;
  min-width: 0;
}

.tally-edit__select,
.tally-edit__input {
  width: 100%;
  min-width: 0;
  padding: 3px 6px;
  border: 1px solid #8fc0ff;
  border-radius: 7px;
  background: #fff;
  color: #0a84ff;
  font-size: 12px;
  outline: none;
}

.tally-edit__select {
  font-weight: 600;
}

.tally-edit__input {
  text-align: inherit;
}

.tally-status {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
  padding: 8px 16px;
  border-top: 1px solid #eef1f5;
  background: #fbfcfd;
}

.tally-status__progression {
  flex: 1;
  min-width: 0;
}

.tally-status__ligne {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 5px;
}

.tally-status__valeur {
  color: #1d1d1f;
  font-size: 12.5px;
  font-weight: 700;
}

.tally-status__mot {
  color: #94a3b8;
  font-size: 11px;
}

.tally-status__piste {
  height: 6px;
  border-radius: 4px;
  background: rgba(120, 140, 170, 0.18);
  overflow: hidden;
}

.tally-status__jauge {
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: #0a84ff;
}

.tally-status__ecart {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: none;
  padding-left: 14px;
  border-left: 1px solid #eef1f5;
}

.tally-status__legende {
  color: #94a3b8;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tally-status__mesure {
  color: #0d7a52;
  font-size: 14px;
  font-weight: 700;
}

.tally-status__mesure--derive {
  color: #b45309;
}

.tally-entry {
  position: relative;
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 9px;
  padding: 11px 16px 10px 20px;
  border-top: 1px solid #d3e6ec;
  background: #f2fafc;
}

.tally-entry__rail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #0a84ff;
}

.tally-entry__insertion {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 11px;
  border-radius: 8px;
  background: #0a84ff;
  color: #f0fbfd;
}

.tally-entry__insertion-titre {
  font-size: 11.5px;
  font-weight: 700;
}

.tally-entry__insertion-info {
  font-size: 11px;
  opacity: 0.85;
}

.tally-entry__insertion-annuler {
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.tally-entry__row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.tally-entry__row--mesure {
  gap: 11px;
}

.tally-entry__row--apercu {
  min-height: 20px;
  gap: 12px;
}

.tally-entry__label {
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
}

.tally-entry__label--lot {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0a84ff;
}

.tally-entry__select,
.tally-entry__input {
  min-width: 0;
  height: 36px;
  padding: 0 8px;
  border: 1px solid #a9c9f0;
  border-radius: 8px;
  background: #fff;
  color: #0a84ff;
  font-size: 12px;
  outline: none;
}

.tally-entry__select--type {
  flex: 1;
  max-width: 300px;
  padding: 0 7px;
  font-size: 12.5px;
  font-weight: 600;
}

.tally-entry__select--etat {
  flex: none;
  width: 140px;
  padding: 0 6px;
}

.tally-entry__input--date {
  flex: none;
  width: 140px;
}

.tally-entry__input--strong {
  border: 1.5px solid #4a9bff;
  color: #083b49;
  font-size: 15px;
  font-weight: 600;
  caret-color: #0a84ff;
}
.tally-entry__input--strong:focus {
  border-color: #0a84ff;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.14);
}

.tally-entry__input--mesure {
  flex: 1;
  padding: 0 12px;
}

.tally-entry__input--nombre {
  flex: none;
  width: 90px;
  font-weight: 700;
  text-align: center;
}

.tally-entry__input--doux {
  border-color: #a9c9f0;
  color: #334155;
}

.tally-entry__op,
.tally-entry__unite {
  flex: none;
  color: #94a3b8;
}

.tally-entry__op {
  font-size: 15px;
}

.tally-entry__unite {
  font-size: 12px;
}

.tally-entry__numero {
  flex: none;
  font-size: 11px;
  color: #5b8a97;
}

.tally-entry__add {
  border: none;
  background: #0a84ff;
  color: #f0fbfd;
  font-weight: 600;
  cursor: pointer;
  flex: none;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
}
.tally-entry__add:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.tally-entry__plus {
  font-size: 16px;
  line-height: 1;
}

.tally-entry__apercu {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(10, 132, 255, 0.12);
  color: #0a84ff;
  font-size: 11px;
  font-weight: 600;
}
.tally-entry__apercu[hidden] {
  display: none;
}

.tally-entry__aide {
  font-size: 11px;
  color: #4a7883;
}
.tally-entry__aide[hidden] {
  display: none;
}

.tally-schema {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  position: relative;
  flex: none;
  width: 222px;
  padding: 14px 0 10px;
  overflow: hidden;
}

.tally-schema__title {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.tally-schema__hint {
  position: absolute;
  top: 13px;
  right: 14px;
  font-size: 9px;
  color: #0a84ff;
}

.tally-schema__rail {
  position: absolute;
  top: 42px;
  bottom: 22px;
  left: 0;
  right: 0;
}

.tally-schema__tick {
  position: absolute;
  left: 8px;
  font-size: 9px;
  color: #b3bdc9;
  transform: translateY(-50%);
}

.tally-schema__dash {
  position: absolute;
  left: 40px;
  width: 6px;
  height: 1px;
  background: #e2e8f0;
}

.tally-schema__column {
  position: absolute;
  left: 48px;
  top: 0;
  bottom: 0;
  width: 20px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
}

.tally-zone {
  position: absolute;
  left: 0;
  width: 100%;
  border: none;
  padding: 0;
  cursor: pointer;
}

.tally-zone--equip {
  background: #334155;
}

.tally-schema__dot--equip {
  background: #94a3b8;
}

.tally-zone--c0 {
  background: #0a84ff;
}

.tally-schema__dot--c0 {
  background: #0a84ff;
}

.tally-zone--c1 {
  background: #0891b2;
}

.tally-schema__dot--c1 {
  background: #0891b2;
}

.tally-zone--c2 {
  background: #2563eb;
}

.tally-schema__dot--c2 {
  background: #2563eb;
}

.tally-zone--c3 {
  background: #6366f1;
}

.tally-schema__dot--c3 {
  background: #6366f1;
}

.tally-zone--c4 {
  background: #0d9488;
}

.tally-schema__dot--c4 {
  background: #0d9488;
}

.tally-zone--c5 {
  background: #0369a1;
}

.tally-schema__dot--c5 {
  background: #0369a1;
}

.tally-zone--filtre {
  border-top: 2px solid #ea7a1c;
}

.tally-schema__cursor {
  position: absolute;
  left: 44px;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: #ea7a1c;
}

.tally-schema__cursor-label {
  position: absolute;
  left: 74px;
  font-size: 8.5px;
  font-weight: 600;
  color: #ea7a1c;
  white-space: nowrap;
  transform: translateY(-50%);
}

.tally-schema__leader {
  position: absolute;
  left: 68px;
  width: 1px;
  background: #e2e8f0;
}

.tally-schema__dot {
  position: absolute;
  left: 67px;
  width: 7px;
  height: 7px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.tally-annotation {
  position: absolute;
  left: 77px;
  right: 8px;
  display: block;
  border: none;
  padding: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  transform: translateY(-50%);
}

.tally-annotation__name {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  color: #0f172a;
}
.tally-annotation--equip .tally-annotation__name {
  font-size: 9.5px;
  color: #475569;
}

.tally-annotation__range {
  display: block;
  margin-top: 1px;
  font-size: 8.5px;
  line-height: 1.2;
  color: #94a3b8;
}

.tally-footer {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 0.5px solid transparent;
  border: 0;
  border-top: 0.5px solid rgba(0, 0, 0, 0.08);
  flex: none;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  height: 40px;
  font-size: 11px;
  color: #94a3b8;
}

.tally-shortcut {
  display: flex;
  align-items: center;
  gap: 7px;
}

.tally-shortcut__key {
  padding: 2px 7px;
  border: 1px solid #dfe4ea;
  border-radius: 5px;
  background: transparent;
  color: #475569;
  font-size: 10.5px;
}

.tally-shortcut__effect {
  font-size: 11.5px;
  color: #64748b;
}

.tally-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tally-overlay__fond {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  background: rgba(15, 23, 42, 0.32);
  cursor: pointer;
}

.tally-modal {
  position: relative;
  width: 540px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.32);
  overflow: hidden;
}

.tally-modal--large {
  width: 820px;
}

.tally-modal__head {
  padding: 18px 22px;
  border-bottom: 1px solid #eef1f5;
}

.tally-modal__title {
  font-size: 15px;
  font-weight: 700;
}

.tally-modal__sub {
  margin-top: 3px;
  font-size: 12.5px;
  color: #64748b;
}

.tally-modal__body {
  display: flex;
  gap: 18px;
  padding: 18px 22px;
}

.tally-modal__zone {
  flex: 1;
  min-width: 0;
  height: 210px;
  resize: none;
  padding: 11px 13px;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
  outline: none;
}
.tally-modal__zone:focus {
  border-color: #8fc0ff;
}

.tally-modal__apercu {
  width: 150px;
  flex: none;
}

.tally-modal__kicker {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 8px;
  font-weight: 600;
}

.tally-modal__compte {
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  color: #0a84ff;
}

.tally-modal__legende {
  margin-top: 2px;
  font-size: 12px;
  color: #64748b;
}

.tally-modal__somme {
  margin-top: 14px;
  font-size: 12px;
  color: #94a3b8;
}

.tally-modal__pied {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 15px 22px;
  border-top: 1px solid #eef1f5;
}
.tally-modal__pied .btn {
  height: 36px;
}

.tally-ref {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 18px 22px;
}

.tally-ref__col {
  min-width: 0;
}

.tally-ref__titre {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 8px;
  font-weight: 600;
}

.tally-ref__liste {
  max-height: 230px;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  overflow-y: auto;
}
.tally-ref__liste::-webkit-scrollbar {
  width: 10px;
}
.tally-ref__liste::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 3px solid #fff;
  border-radius: 8px;
}
.tally-ref__liste::-webkit-scrollbar-track {
  background: transparent;
}

.tally-ref__item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px 6px 11px;
  font-size: 12.5px;
}
.tally-ref__item + .tally-ref__item {
  border-top: 1px solid #f1f4f7;
}

.tally-ref__nom {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  flex: 1;
  color: #0f172a;
}

.tally-ref__ordre,
.tally-ref__suppr {
  flex: none;
  padding: 0 4px;
  border: none;
  background: none;
  color: #94a3b8;
  font-family: inherit;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.tally-ref__ordre:hover {
  color: #0a84ff;
}

.tally-ref__suppr:hover {
  color: #c2410c;
}

.tally-ref__vide {
  margin: 0;
  padding: 11px;
  color: #94a3b8;
  font-size: 12px;
}

.tally-ref__ajout {
  display: flex;
  gap: 6px;
  margin-top: 9px;
}

.tally-ref__champ {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 11px;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}
.tally-ref__champ:focus {
  border-color: #8fc0ff;
}

.tally-ref__plus {
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  background: #fff;
  color: #0a84ff;
  font-family: inherit;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.tally-ref__plus:hover {
  border-color: #8fc0ff;
}

.tally-toast {
  position: absolute;
  bottom: 56px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 11px;
  background: #0f172a;
  color: #f0fbfd;
  font-size: 13px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.32);
  transform: translateX(-50%);
  z-index: 60;
}

.tally-toast--erreur {
  color: #fca5a5;
}

.tally-toast__close {
  border: none;
  background: none;
  padding: 0;
  color: #94a3b8;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.tally-toast__close:hover {
  color: #f0fbfd;
}

.usure {
  display: contents;
}

.header--usure {
  gap: 20px;
}

.usure-source {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid #cfe6ff;
  border-radius: 9px;
  background: #eaf3ff;
  color: #0060df;
  font-size: 11.5px;
  text-decoration: none;
  white-space: nowrap;
}
.usure-source:hover {
  border-color: #8fc0ff;
}

.usure-source__glyph,
.usure-source__arrow {
  display: inline-flex;
  color: #0a84ff;
}

.usure-glyph {
  display: inline-flex;
  color: #0a84ff;
}

.usure-counts {
  display: flex;
  align-items: stretch;
  gap: 9px;
}

.usure-count {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid #e6ebf1;
  border-radius: 10px;
  background: #fff;
}
.usure-count--fer {
  border-color: #f6dcb0;
}
.usure-count--place {
  border-color: #dbe3ec;
}

.usure-count__label {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.usure-count__value {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
}
.usure-count__value--stoc {
  color: #0060df;
}
.usure-count__value--deg {
  color: #a1560a;
}
.usure-count__value--fer {
  color: #c2410c;
}
.usure-count__value--place {
  color: #475569;
}

.usure-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  height: 54px;
  padding: 0 22px;
  border-bottom: 1px solid #e6ebf1;
}
.usure-toolbar .btn {
  height: 34px;
}

.usure-divider {
  width: 1px;
  height: 24px;
  background: #e2e8f0;
}

.usure-mark-label {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}

.usure-mark-label__sel {
  color: #0a84ff;
  font-weight: 600;
}

.usure-mark {
  min-width: 52px;
  padding: 0 12px;
  justify-content: center;
  font-weight: 600;
}
.usure-mark--stoc {
  border: 1px solid #cfe6ff;
  background: #eaf3ff;
  color: #0060df;
}
.usure-mark--c {
  border: 1px solid #f6dcb0;
  background: #fef3e2;
  color: #b45309;
}
.usure-mark--t {
  border: 1px solid #f0c88a;
  background: #fbe1bd;
  color: #a1560a;
}
.usure-mark--m {
  border: 1px solid #e6ad5e;
  background: #f5c78d;
  color: #8a4708;
}
.usure-mark--fer {
  border: 1px solid #9a340a;
  background: #c2410c;
  color: #fff;
}
.usure-mark--place {
  border: 1px solid #dbe3ec;
  background: #f1f5f9;
  color: #475569;
}

.usure-mark__key {
  font-size: 10px;
  opacity: 0.7;
}

.usure-reset-confirm {
  display: flex;
  align-items: center;
  gap: 8px;
}
.usure-reset-confirm[hidden] {
  display: none;
}
.usure-reset-confirm .btn {
  height: 34px;
}

.usure-reset-confirm__text {
  font-size: 12px;
  color: #b45309;
}

.usure-reset-confirm__go {
  padding: 0 13px;
  border: none;
  background: #c2410c;
  color: #fff;
  font-weight: 600;
}

.usure-masquees {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #f3d9b0;
  border-radius: 9px;
  background: #fdf3e7;
  white-space: nowrap;
}

.usure-masquees__glyph {
  color: #b45309;
  flex: none;
}

.usure-masquees__count {
  font-size: 12px;
  color: #b45309;
}
.usure-masquees__count b {
  font-weight: 700;
}

.usure-masquees__revoir {
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: #0a84ff;
  cursor: pointer;
}

.usure-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.usure-card:focus {
  outline: none;
}

.usure-card__foot {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 7px 16px;
  border-top: 1px solid #e6ebf1;
  background: #fbfcfd;
  font-size: 10.5px;
  line-height: 1.45;
  color: #94a3b8;
}

.usure-grid {
  display: grid;
  grid-template-columns: 40px 76px 120px repeat(6, minmax(70px, 1fr)) 30px;
  align-items: center;
}

.usure-grid--head {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  flex: none;
  height: 38px;
  border-bottom: 1px solid #e6ebf1;
  background: #fbfcfd;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.usure-head__box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.usure-head__num {
  padding-left: 10px;
}

.usure-head__depth {
  text-align: right;
  padding-right: 16px;
}

.usure-head__stat {
  text-align: center;
}
.usure-head__stat--c {
  color: #b45309;
}
.usure-head__stat--t {
  color: #a1560a;
}
.usure-head__stat--m {
  color: #8a4708;
}
.usure-head__stat--place {
  color: #475569;
}
.usure-head__stat--fer {
  color: #c2410c;
}

.usure-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.usure-body::-webkit-scrollbar {
  width: 10px;
}
.usure-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 3px solid #fff;
  border-radius: 8px;
}
.usure-body::-webkit-scrollbar-track {
  background: transparent;
}

.usure-group {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 18px;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.usure-group--hidden {
  display: none;
}

.usure-group__dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  flex: none;
}

.usure-group__title {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
}

.usure-group__meta {
  font-size: 11px;
  color: #64748b;
}

.usure-group__summary {
  font-size: 11px;
  color: #94a3b8;
}

.usure-row {
  position: relative;
  display: grid;
  grid-template-columns: 40px 76px 120px repeat(6, minmax(70px, 1fr)) 30px;
  align-items: center;
  height: 30px;
  border-bottom: 1px solid #f1f4f7;
  background: #fff;
  user-select: none;
}
.usure-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}
.usure-row--selected {
  background: #eef6f8;
}
.usure-row--selected .usure-row__num {
  font-weight: 700;
}
.usure-row--hidden {
  display: none;
}
.usure-row:hover .usure-cell:not(.usure-cell--on), .usure-row:hover .usure-row__num {
  background: #f2f8fa;
}

.usure-row__box {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.usure-row__num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 10px;
  font-size: 12px;
  color: #334155;
  cursor: pointer;
}

.usure-row__depth {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  text-align: right;
  padding-right: 16px;
  font-size: 12px;
  color: #94a3b8;
}

.usure-row__del {
  display: flex;
  align-items: center;
  justify-content: center;
}

.usure-row__suppr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 1px solid #f0a99a;
  border-radius: 6px;
  background: #fff;
  color: #c2410c;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.12s;
}
.usure-row__suppr:hover {
  background: #fdeee7;
  border-color: #fca5a5;
}
.usure-row:hover .usure-row__suppr, .usure-row:focus-within .usure-row__suppr {
  opacity: 1;
}

.usure-dia--c0 {
  background: #0a84ff;
}

.usure-row[data-couleur="0"]::before {
  background: #0a84ff;
}

.usure-dia--c1 {
  background: #0891b2;
}

.usure-row[data-couleur="1"]::before {
  background: #0891b2;
}

.usure-dia--c2 {
  background: #2563eb;
}

.usure-row[data-couleur="2"]::before {
  background: #2563eb;
}

.usure-dia--c3 {
  background: #6366f1;
}

.usure-row[data-couleur="3"]::before {
  background: #6366f1;
}

.usure-dia--c4 {
  background: #0d9488;
}

.usure-row[data-couleur="4"]::before {
  background: #0d9488;
}

.usure-dia--c5 {
  background: #0369a1;
}

.usure-row[data-couleur="5"]::before {
  background: #0369a1;
}

.usure-check {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}
.usure-check--on {
  border-color: #0a84ff;
  background: #0a84ff;
}
.usure-check--on::before {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.usure-cell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #f1f4f7;
  cursor: pointer;
}
.usure-cell--stoc.usure-cell--on {
  background: #eaf3ff;
  color: #0060df;
}
.usure-cell--c.usure-cell--on {
  background: #fef3e2;
  color: #b45309;
}
.usure-cell--t.usure-cell--on {
  background: #fbe1bd;
  color: #a1560a;
}
.usure-cell--m.usure-cell--on {
  background: #f5c78d;
  color: #8a4708;
}
.usure-cell--fer.usure-cell--on {
  background: #c2410c;
  color: #fff;
}
.usure-cell--place.usure-cell--on {
  background: #f1f5f9;
  color: #475569;
}
.usure-cell--on .usure-cell__mark::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.usure-cell__mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.usure-rail {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  width: 290px;
  flex: none;
  position: relative;
  padding: 14px 0 12px;
}

.usure-rail__title {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  position: absolute;
  top: 12px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 600;
}

.usure-rail__total {
  font-size: 9px;
  letter-spacing: 0;
  text-transform: none;
  color: #94a3b8;
}

.usure-rail__frame {
  position: absolute;
  top: 40px;
  bottom: 96px;
  left: 16px;
  right: 118px;
  display: flex;
  border: 1px solid #eef2f6;
  border-radius: 8px;
  overflow: hidden;
}

.usure-rail__ticks {
  width: 34px;
  flex: none;
  position: relative;
  border-right: 1px solid #eef2f6;
}

.usure-rail__ticks-layer {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  right: 0;
}

.usure-rail__tick {
  position: absolute;
  right: 4px;
  font-size: 8.5px;
  color: #b3bdc9;
  transform: translateY(-50%);
}
.usure-rail__tick--0 {
  top: 0;
}
.usure-rail__tick--20 {
  top: 20%;
}
.usure-rail__tick--40 {
  top: 40%;
}
.usure-rail__tick--60 {
  top: 60%;
}
.usure-rail__tick--80 {
  top: 80%;
}
.usure-rail__tick--100 {
  top: 100%;
}

.usure-rail__segments {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}

.usure-seg {
  flex: 1 1 0;
}
.usure-seg--stoc {
  background: #d3e8ec;
}
.usure-seg--c {
  background: #fbe0b5;
}
.usure-seg--t {
  background: #f6cd93;
}
.usure-seg--m {
  background: #efb45e;
}
.usure-seg--fer {
  background: #c2410c;
}
.usure-seg--place {
  background: #cbd5e1;
}
.usure-seg--break {
  border-bottom: 2px solid #fff;
}

.usure-rail__cotes {
  position: absolute;
  top: 40px;
  bottom: 96px;
  left: 172px;
  right: 12px;
}

.usure-rail__cotes-layer {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  right: 0;
}

.usure-cote {
  position: absolute;
  left: 10px;
  right: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  transform: translateY(-50%);
}
.usure-cote--fusion .usure-cote__cote,
.usure-cote--fusion .usure-cote__cause {
  color: #334155;
}

.usure-cote__trait {
  position: absolute;
  left: -12px;
  top: 50%;
  width: 12px;
  height: 1px;
  background: #eef2f6;
}

.usure-cote__cote {
  font-size: 9px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.usure-cote__cause {
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.usure-cote__cause--c {
  color: #b45309;
}
.usure-cote__cause--t {
  color: #a1560a;
}
.usure-cote__cause--m {
  color: #8a4708;
}
.usure-cote__cause--fer {
  color: #c2410c;
}
.usure-cote__cause--place {
  color: #475569;
}

.usure-cote-plus {
  position: absolute;
  left: 10px;
  right: 0;
  transform: translateY(-50%);
}

.usure-cote-plus__label {
  font-size: 9.5px;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
  cursor: default;
}

.usure-cote-plus__popover {
  position: absolute;
  right: 0;
  bottom: 100%;
  z-index: 5;
  display: none;
  min-width: 128px;
  margin-bottom: 4px;
  padding: 6px 8px;
  border: 1px solid #e6ebf1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.22);
}

.usure-cote-plus:hover .usure-cote-plus__popover {
  display: block;
}

.usure-cote-plus__item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 9.5px;
  line-height: 1.5;
  white-space: nowrap;
}

.usure-rail__legend {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
}

.usure-rail__legend-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  padding-left: 15px;
  font-size: 8.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.usure-rail__legend-keys {
  display: flex;
  gap: 8px;
}

.usure-rail__legend-key--stoc {
  color: #0060df;
}

.usure-rail__legend-key--deg {
  color: #a1560a;
}

.usure-rail__legend-key--fer {
  color: #c2410c;
}

.usure-rail__legend-key--place {
  color: #475569;
}

.usure-rail__legend-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.usure-rail__legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  flex: none;
}

.usure-rail__legend-dia {
  flex: 1;
  font-size: 11px;
  font-weight: 600;
  color: #334155;
}

.usure-rail__legend-n {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  width: 26px;
  text-align: right;
  font-size: 10.5px;
}
.usure-rail__legend-n--stoc {
  color: #0060df;
}
.usure-rail__legend-n--deg {
  color: #a1560a;
}
.usure-rail__legend-n--fer {
  color: #c2410c;
}
.usure-rail__legend-n--place {
  color: #475569;
}

.vp-lenses {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(120, 140, 170, 0.12);
}

.vp-lens {
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #64748b;
  background: transparent;
}
.vp-lens--active {
  font-weight: 700;
  color: #0a84ff;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.vp-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vp-meta__item {
  display: flex;
  flex-direction: column;
}

.vp-meta__k {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.vp-meta__v {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}

.vp-modifier {
  height: 32px;
}

.vp-coupe {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  width: 196px;
  flex: none;
  position: relative;
  padding: 16px 0 12px;
}

.vp-coupe__title {
  padding: 0 16px 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #94a3b8;
}

.vp-coupe__area {
  position: absolute;
  top: 44px;
  bottom: 14px;
  left: 0;
  right: 0;
}

.vp-tick {
  position: absolute;
  left: 10px;
  font-size: 9px;
  color: #cbd5e1;
  transform: translateY(-50%);
}

.vp-track {
  position: absolute;
  left: 48px;
  width: 24px;
  top: 0;
  bottom: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #eef2f6;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.vp-zone {
  position: absolute;
  left: 0;
  right: 0;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.92;
}
.vp-zone--equip {
  border-top: 1.5px solid #fff;
}
.vp-zone.vp--dim {
  opacity: 0.25;
}
.vp-zone.vp--sel {
  opacity: 1;
  filter: saturate(1.4) brightness(1.05);
}

.vp-pump {
  position: absolute;
  left: 44px;
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: #ff9f0a;
}

.vp-callout {
  position: absolute;
  left: 80px;
  right: 6px;
  border: none;
  background: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transform: translateY(-50%);
}
.vp-callout.vp--dim {
  opacity: 0.25;
}
.vp-callout.vp--sel .vp-callout__name {
  color: #0a84ff;
}

.vp-callout__name {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: #334155;
}

.vp-callout__dot {
  position: absolute;
  left: 73px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.vp-nom {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.vp-nom__head {
  display: grid;
  grid-template-columns: 26px minmax(70px, 1fr) 62px 40px 56px 62px;
  align-items: center;
  flex: none;
  height: 34px;
  padding: 0 16px;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
}

.vp-nom__num {
  text-align: right;
}

.vp-nom__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.vp-nom__body::-webkit-scrollbar {
  width: 10px;
}
.vp-nom__body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 3px solid #fff;
  border-radius: 8px;
}
.vp-nom__body::-webkit-scrollbar-track {
  background: transparent;
}

.vp-section {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(120, 140, 170, 0.08);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
}

.vp-section__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #334155;
}

.vp-section__sub {
  font-size: 11px;
  color: #94a3b8;
}

.vp-section__pmd {
  padding: 2px 9px;
  border-radius: 20px;
  background: rgba(10, 132, 255, 0.1);
  color: #0b5563;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.vp-row {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(70px, 1fr) 62px 40px 56px 62px;
  align-items: center;
  min-height: 40px;
  padding: 5px 16px;
  border-bottom: 0.5px solid #f1f4f7;
  background: #fff;
  cursor: pointer;
}
.vp-row:hover {
  background: #f2f8fa;
}
.vp-row.vp--dim {
  opacity: 0.4;
}
.vp-row.vp--sel {
  background: rgba(10, 132, 255, 0.08);
}

.vp-row__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  opacity: 0.85;
}

.vp-row__item {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}

.vp-row__desig {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #1d1d1f;
}

.vp-row__num {
  text-align: right;
  font-size: 12.5px;
  color: #0f172a;
}
.vp-row__num--fort {
  color: #0a84ff;
  font-weight: 600;
}

.vp-row__len {
  font-size: 12px;
  color: #334155;
}

.vp-row__prof {
  font-size: 12px;
  font-weight: 600;
  color: #1d1d1f;
}

.vp-row__none {
  color: #cbd5e1;
}

.vp-etat {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(10, 132, 255, 0.1);
  color: #0b5563;
  font-size: 10.5px;
  font-weight: 500;
}

.vp-side {
  width: 284px;
  flex: none;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vp-side::-webkit-scrollbar {
  width: 10px;
}
.vp-side::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 3px solid #fff;
  border-radius: 8px;
}
.vp-side::-webkit-scrollbar-track {
  background: transparent;
}

.vp-detail,
.vp-wear {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  border-radius: 18px;
  padding: 15px 17px;
  flex: none;
}

.vp-detail__label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 10px;
}

.vp-detail__empty {
  padding: 6px 0 10px;
  font-size: 12.5px;
  color: #94a3b8;
}

.vp-detail__desig {
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 2px;
}

.vp-detail__context {
  font-size: 11.5px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.vp-detail__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 0.5px solid #f1f4f7;
}

.vp-detail__k {
  font-size: 12px;
  color: #64748b;
}

.vp-detail__v {
  font-size: 12.5px;
  font-weight: 600;
  color: #1d1d1f;
}

.vp-wear__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.vp-wear__label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
}

.vp-wear__total {
  font-size: 11px;
  color: #94a3b8;
}

.vp-wear__body {
  display: flex;
  gap: 10px;
  height: 96px;
}

.vp-wear__strip {
  width: 24px;
  flex: none;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.vp-wear__legend {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.vp-wear__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vp-wear__dot {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  flex: none;
}
.vp-wear__dot--stoc {
  background: #d3e8ec;
}
.vp-wear__dot--c {
  background: #fbe0b5;
}
.vp-wear__dot--t {
  background: #f6cd93;
}
.vp-wear__dot--m {
  background: #efb45e;
}
.vp-wear__dot--fer {
  background: #c2410c;
}

.vp-wear__name {
  flex: 1;
  font-size: 12px;
  color: #334155;
}

.vp-wear__n {
  font-size: 12.5px;
  font-weight: 600;
  color: #1d1d1f;
}

.vp-wear__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  width: 100%;
  height: 32px;
  border: none;
  border-radius: 10px;
  background: rgba(10, 132, 255, 0.12);
  color: #0a84ff;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.vp-foot-accent {
  color: #0a84ff;
}

.vp-c0 {
  background: #0a84ff;
}

.vp-c1 {
  background: #0891b2;
}

.vp-c2 {
  background: #2563eb;
}

.vp-c3 {
  background: #6366f1;
}

.vp-c4 {
  background: #0d9488;
}

.vp-c5 {
  background: #0369a1;
}

.vp-c-equip {
  background: #334155;
}

@media print {
  .noprint {
    display: none !important;
  }
}
.programme {
  display: contents;
}

.programme-objet {
  flex: none;
  font-size: 11.5px;
  font-weight: 600;
  color: #0060df;
  background: #eaf3ff;
  border: 1px solid #cfe6ff;
  border-radius: 20px;
  padding: 2px 11px;
  white-space: nowrap;
}

.programme-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.programme-progress__track {
  width: 170px;
  height: 7px;
  border-radius: 5px;
  background: #e6ebf1;
  overflow: hidden;
}

.programme-progress__fill {
  height: 100%;
  width: 0;
  background: #0a84ff;
  border-radius: 5px;
  transition: width 0.25s;
}

.programme-progress__count {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
}

.programme-print {
  flex: none;
}

.programme-print__glyph {
  color: #0a84ff;
  display: inline-flex;
}

.programme-content {
  display: block;
  overflow-y: auto;
  padding: 20px;
}
.programme-content::-webkit-scrollbar {
  width: 10px;
}
.programme-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 3px solid #fff;
  border-radius: 8px;
}
.programme-content::-webkit-scrollbar-track {
  background: transparent;
}

.programme-sheet {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  max-width: 820px;
  margin: 0 auto;
  padding: 26px 30px 30px;
}

.programme-sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 13px;
  margin-bottom: 14px;
}

.programme-sheet__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.programme-sheet__meta {
  font-size: 12.5px;
  color: #334155;
  margin-top: 3px;
}

.programme-sheet__side {
  text-align: right;
  flex: none;
}

.programme-sheet__wo {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.programme-sheet__objet {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 3px;
}

.programme-step {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 7px 4px;
  border-bottom: 1px solid #eef1f5;
}

.programme-check {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.programme-check--on {
  border-color: #16a34a;
  background: #16a34a;
}
.programme-check--on::before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.programme-step__num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  flex: none;
  width: 18px;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #b3bdc9;
}

.programme-step__body {
  flex: 1;
  min-width: 0;
}

.programme-step__titre {
  width: 100%;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
  padding: 1px 0;
}

.programme-step__desc {
  width: 100%;
  min-width: 0;
  margin-top: 2px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fbfcfd;
  outline: none;
  font-family: inherit;
  font-size: 12.5px;
  line-height: 1.4;
  color: #334155;
  padding: 5px 9px;
  resize: vertical;
}
.programme-step__desc:focus {
  border-color: #8fc0ff;
  background: #fff;
}

.programme-step--alert .programme-step__titre {
  color: #dc2626;
}
.programme-step--alert .programme-step__desc {
  color: #dc2626;
  background: #fdeee7;
}

.programme-step--done .programme-step__titre {
  color: #94a3b8;
  text-decoration: line-through;
}

.programme-step__actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: none;
}

.programme-step__act {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6ebf1;
  background: #fff;
  color: #94a3b8;
  cursor: pointer;
}

.programme-step__act--alert.programme-step__act--on {
  color: #dc2626;
  background: #fdeee7;
  border-color: #f0a99a;
}

.programme-step__act--del:hover {
  color: #dc2626;
  background: #fdeee7;
  border-color: #fca5a5;
}

.programme-add {
  margin-top: 16px;
  width: 100%;
  border: 1.5px dashed #cbd5e1;
  background: rgba(10, 132, 255, 0.1);
  color: #0a84ff;
  border-radius: 12px;
  padding: 12px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.programme-add:hover {
  border-color: #8fc0ff;
}

.programme-add__glyph {
  display: inline-flex;
}

.consignes {
  display: contents;
}

.header--consignes {
  position: relative;
  z-index: 20;
}

.consignes-ver {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  gap: 3px;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  padding: 3px;
  background: #fff;
}

.consignes-ver__step {
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  cursor: pointer;
}
.consignes-ver__step:hover:not(:disabled) {
  background: #f1f5f9;
}
.consignes-ver__step:disabled {
  color: #cbd5e1;
  cursor: not-allowed;
}

.consignes-ver__label {
  min-width: 236px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 2px 10px;
  border: none;
  background: none;
  border-radius: 8px;
  cursor: pointer;
}
.consignes-ver__label:hover {
  background: #f7fbfc;
}

.consignes-ver__texts {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.consignes-ver__range {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.consignes-ver__count {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  display: block;
  font-size: 10px;
  color: #94a3b8;
}

.consignes-ver__chevron {
  display: inline-flex;
  color: #94a3b8;
}

.consignes-badge {
  flex: none;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 20px;
  padding: 2px 8px;
  white-space: nowrap;
}

.consignes-badge--active {
  color: #0d7a52;
  background: #eaf7f0;
  border: 1px solid #bfe6d2;
}

.consignes-badge--a-venir {
  color: #0060df;
  background: #eaf3ff;
  border: 1px solid #cfe6ff;
}

.consignes-badge--passee,
.consignes-badge--remplacee {
  color: #94a3b8;
  background: #f1f4f7;
  border: 1px solid #eef1f5;
}

.consignes-badge--maj {
  color: #b45309;
  background: #fdf3e7;
  border: 1px solid #f3d9b0;
}

.consignes-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 30px;
  width: 344px;
  z-index: 50;
  display: none;
  background: #fff;
  border: 1px solid #e6ebf1;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.22);
  padding: 7px;
  max-height: 400px;
  overflow-y: auto;
}
.consignes-menu::-webkit-scrollbar {
  width: 10px;
}
.consignes-menu::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 3px solid #fff;
  border-radius: 8px;
}
.consignes-menu::-webkit-scrollbar-track {
  background: transparent;
}

.consignes-menu--ouvert {
  display: block;
}

.consignes-menu__row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: none;
  background: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
}
.consignes-menu__row:hover {
  background: #f7fbfc;
}

.consignes-menu__row--active {
  background: rgba(10, 132, 255, 0.08);
}

.consignes-menu__texts {
  flex: 1;
  min-width: 0;
}

.consignes-menu__range {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.consignes-menu__meta {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  display: block;
  font-size: 10.5px;
  color: #94a3b8;
}

.consignes-menu__add {
  width: 100%;
  margin-top: 5px;
  border: 1.5px dashed #cbd5e1;
  background: rgba(10, 132, 255, 0.1);
  color: #0a84ff;
  border-radius: 10px;
  padding: 9px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.consignes-menu__add span {
  display: inline-flex;
}
.consignes-menu__add:hover {
  border-color: #8fc0ff;
}

.consignes-print {
  flex: none;
  height: 34px;
}

.consignes-print__glyph {
  color: #0a84ff;
  display: inline-flex;
}

.consignes-print--cta .consignes-print__glyph {
  color: #f0fbfd;
}

.consignes-content {
  min-width: 0;
}

.consignes-col {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.consignes-prog {
  width: 44%;
  flex: none;
}

.consignes-cons {
  flex: 1;
  min-width: 0;
}

.consignes-col__head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px 11px;
  border-bottom: 1px solid #e6ebf1;
}

.consignes-col__titre {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.consignes-col__hint {
  font-size: 11px;
  font-weight: 400;
  color: #94a3b8;
}

.consignes-chip {
  font-size: 10.5px;
  font-weight: 600;
  color: #0060df;
  background: #eaf3ff;
  border: 1px solid #cfe6ff;
  border-radius: 20px;
  padding: 1px 9px;
}

.consignes-col__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.consignes-col__titre + .consignes-col__act {
  margin-left: auto;
}

.consignes-col__act {
  border: 1px solid #dfe4ea;
  background: #fff;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 11.5px;
  white-space: nowrap;
  color: #334155;
}
.consignes-col__act span {
  display: inline-flex;
  color: #0a84ff;
}
.consignes-col__act:hover:not(:disabled) {
  border-color: #8fc0ff;
  background: #f7fbfc;
}
.consignes-col__act:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.consignes-col__act--cta {
  border: none;
  background: #0a84ff;
  color: #f0fbfd;
  font-weight: 600;
  cursor: pointer;
  color: #f0fbfd;
}
.consignes-col__act--cta span {
  color: #f0fbfd;
}
.consignes-col__act--cta:hover:not(:disabled) {
  background: #0a84ff;
}

.consignes-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.consignes-scroll::-webkit-scrollbar {
  width: 10px;
}
.consignes-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 3px solid #fff;
  border-radius: 8px;
}
.consignes-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.consignes-scroll--sheet {
  padding: 20px 24px;
}

.consignes-vide {
  padding: 22px 18px;
  color: #94a3b8;
  font-size: 13px;
}

.consignes-vide--sheet {
  padding: 16px 0;
}

.consignes-pgline {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 16px;
  border-bottom: 1px solid #f4f6f8;
}
.consignes-pgline:hover .consignes-push {
  opacity: 1;
}

.consignes-pgline__num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  flex: none;
  width: 18px;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #b3bdc9;
}

.consignes-pgline__body {
  flex: 1;
  min-width: 0;
}

.consignes-pgline__titre {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.consignes-pgline__desc {
  font-size: 12.5px;
  color: #334155;
  line-height: 1.45;
  margin-top: 2px;
}

.consignes-push {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border: 1px solid #cfe6ff;
  background: #eaf3ff;
  color: #0a84ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.12s;
}
.consignes-push:focus-visible {
  opacity: 1;
}
.consignes-push:hover {
  border-color: #8fc0ff;
}

.consignes-sheet {
  max-width: 760px;
  margin: 0 auto;
}

.consignes-sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.consignes-sheet__titre {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.consignes-sheet__meta {
  font-size: 12.5px;
  color: #334155;
  margin-top: 2px;
}

.consignes-sheet__side {
  text-align: right;
  flex: none;
}

.consignes-sheet__periode {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.consignes-sheet__sup {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 6px;
  font-size: 11.5px;
  color: #64748b;
}

.consignes-sheet__sup-input {
  width: 160px;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 11.5px;
  color: #0f172a;
  padding: 3px 8px;
  outline: none;
}
.consignes-sheet__sup-input:focus {
  border-color: #8fc0ff;
}

.consignes-ligne {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 11px;
}

.consignes-ligne__num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  flex: none;
  width: 20px;
  margin-top: 8px;
  text-align: right;
  font-size: 13px;
  font-weight: 700;
  color: #0a84ff;
}

.consignes-ligne__texte {
  flex: 1;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fbfcfd;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.5;
  color: #0f172a;
  padding: 8px 10px;
  outline: none;
  resize: vertical;
}
.consignes-ligne__texte:focus {
  border-color: #8fc0ff;
  background: #fff;
}

.consignes-ligne__ctl {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
}

.consignes-ligne__btn {
  width: 24px;
  height: 20px;
  border: none;
  background: none;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  cursor: pointer;
}
.consignes-ligne__btn:hover:not(:disabled) {
  color: #334155;
  background: #f1f5f9;
}
.consignes-ligne__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.consignes-ligne__btn--del:hover:not(:disabled) {
  color: #dc2626;
  background: #fdeee7;
}

.consignes-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
}

.consignes-modal--ouvert {
  display: flex;
}

.consignes-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.32);
}

.consignes-modal__dialog {
  position: relative;
  width: 470px;
}

.consignes-modal__dates {
  display: flex;
  gap: 12px;
}

.consignes-modal__field {
  flex: 1;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.consignes-modal__date {
  display: block;
  width: 100%;
  margin-top: 5px;
  height: 38px;
  border: 1px solid #dfe4ea;
  border-radius: 9px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  color: #0f172a;
  padding: 0 10px;
  outline: none;
}
.consignes-modal__date:focus {
  border-color: #8fc0ff;
}

.consignes-modal__reprise {
  margin: 14px 0 0;
  cursor: pointer;
}

.consignes-modal__hint {
  color: #94a3b8;
}

.consignes-modal__avert {
  margin-top: 14px;
  font-size: 11.5px;
  color: #b45309;
  background: #fdf3e7;
  border: 1px solid #f3d9b0;
  border-radius: 9px;
  padding: 9px 11px;
  line-height: 1.4;
}

.consignes-modal__btn {
  height: 38px;
}

.rapport {
  display: contents;
}

.rapport-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: none;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  padding: 3px;
  background: #fff;
}

.rapport-nav__step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  border-radius: 8px;
  color: #334155;
  cursor: pointer;
}
.rapport-nav__step:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.03);
}
.rapport-nav__step:disabled {
  color: #cbd5e1;
  cursor: default;
}

.rapport-nav__label {
  min-width: 150px;
  text-align: center;
  padding: 0 6px;
}

.rapport-nav__day {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.05;
}

.rapport-nav__last {
  color: #cbd5e1;
}

.rapport-nav__date {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 10.5px;
  color: #64748b;
}

input.rapport-nav__date {
  border: none;
  background: none;
  padding: 1px 2px;
  border-radius: 5px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}
input.rapport-nav__date:hover, input.rapport-nav__date:focus {
  background: rgba(0, 0, 0, 0.03);
}
input.rapport-nav__date:focus {
  color: #0f172a;
}

.rapport-newday {
  border: 1px solid #dfe4ea;
  background: #fff;
  color: #334155;
  cursor: pointer;
  flex: none;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  border-style: dashed;
  border-radius: 9px;
  padding: 0 11px;
  font-size: 12px;
  color: #0a84ff;
  white-space: nowrap;
}

.rapport-print {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 13px;
  font-size: 12px;
}

.rapport-print__glyph {
  display: inline-flex;
}

.rapport-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.rapport-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rapport-legend__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
}
.rapport-legend__dot--live {
  background: #16a34a;
}

.rapport-legend__name {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

.rapport-weights {
  flex: none;
  display: flex;
  align-items: stretch;
  gap: 14px;
  padding: 14px 22px 4px;
}

.rapport-weight {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #e6ebf1;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
}

.rapport-weight__label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 3px;
}

.rapport-weight__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.rapport-weight__input {
  width: 70px;
  border: none;
  border-bottom: 1px dotted #cbd5e1;
  background: none;
  outline: none;
  padding: 0;
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
}
.rapport-weight__input:focus {
  border-bottom-color: #0a84ff;
}

.rapport-weight__unit {
  font-size: 13px;
  color: #94a3b8;
}

.rapport-weight--ecart {
  flex: none;
  width: 220px;
}

.rapport-weight__ecart {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.rapport-weight__unit-lg {
  font-size: 15px;
}

.rapport-weight--pos {
  border-color: #bfe6d2;
  background: #eaf7f0;
}
.rapport-weight--pos .rapport-weight__label,
.rapport-weight--pos .rapport-weight__ecart {
  color: #0d7a52;
}

.rapport-weight--neg {
  border-color: #f3d9b0;
  background: #fdf7ee;
}
.rapport-weight--neg .rapport-weight__label,
.rapport-weight--neg .rapport-weight__ecart {
  color: #b45309;
}

.rapport-toolbar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
}

.rapport-toolbar__label {
  font-size: 11px;
  color: #94a3b8;
  margin-right: 2px;
}

.rapport-model {
  border: 1px solid #dfe4ea;
  background: #fff;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  border-radius: 9px;
  padding: 0 11px;
  font-size: 12px;
  white-space: nowrap;
}
.rapport-model:hover {
  border-color: #8fc0ff;
}

.rapport-model__dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

.rapport-reprise {
  border: 1px solid #dfe4ea;
  background: #fff;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  border-radius: 9px;
  padding: 0 12px;
  font-size: 12px;
  white-space: nowrap;
}
.rapport-reprise:disabled {
  color: #cbd5e1;
  cursor: default;
}
.rapport-reprise:disabled .rapport-reprise__glyph {
  color: #cbd5e1;
}

.rapport-reprise__glyph {
  display: inline-flex;
  color: #0a84ff;
}

.rapport-add {
  border: none;
  background: #0a84ff;
  color: #f0fbfd;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  border-radius: 9px;
  padding: 0 13px;
  font-size: 12px;
  white-space: nowrap;
}

.rapport-add--ghost {
  border: 1px solid #dfe4ea;
  background: #fff;
  color: #334155;
  cursor: pointer;
  height: auto;
  border-style: dashed;
  border-radius: 8px;
  padding: 5px 12px;
  color: #0a84ff;
}

.rapport-content {
  display: flex;
  padding: 0 14px 14px;
}

.rapport-grid {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.rapport-grid__head {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  flex: none;
  display: grid;
  grid-template-columns: 96px 80px 80px 86px 132px minmax(0, 1fr) 40px;
  height: 36px;
  align-items: center;
  border-bottom: 1px solid #e6ebf1;
  background: #fbfcfd;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.rapport-grid__hcell {
  padding-left: 4px;
}
.rapport-grid__hcell--team {
  padding-left: 16px;
}
.rapport-grid__hcell--dur {
  text-align: right;
  padding-right: 14px;
}

.rapport-grid__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.rapport-grid__body::-webkit-scrollbar {
  width: 10px;
}
.rapport-grid__body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 3px solid #fff;
  border-radius: 8px;
}
.rapport-grid__body::-webkit-scrollbar-track {
  background: transparent;
}

.rapport-row {
  position: relative;
  display: grid;
  grid-template-columns: 96px 80px 80px 86px 132px minmax(0, 1fr) 40px;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid #f1f4f7;
  background: #fff;
}

.rapport-row__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #cbd5e1;
}

.rapport-row__cell {
  padding: 6px 4px;
}
.rapport-row__cell--team {
  padding-left: 14px;
  padding-right: 6px;
}
.rapport-row__cell--dur {
  text-align: right;
  padding-right: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}
.rapport-row__cell--del {
  text-align: center;
}

.rapport-row__dur--nuit {
  color: #b45309;
}

.rapport-row__derived {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  padding-left: 6px;
}

.rapport-select {
  width: 100%;
  height: 32px;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  padding: 0 4px;
  background: #fff;
  outline: none;
  font-size: 12px;
}
.rapport-select:focus {
  border-color: #bcd6f5;
}

.rapport-input {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 6px 8px;
  background: #f1f5f9;
  outline: none;
  font-size: 13px;
  color: #0f172a;
}
.rapport-input:focus {
  border-color: #bcd6f5;
  background: #fff;
}

.rapport-input--time {
  width: 58px;
  border-color: #bcd6f5;
  background: #fff;
  font-weight: 600;
}

.rapport-del {
  border: none;
  background: none;
  cursor: pointer;
  color: #b45309;
  font-size: 16px;
  line-height: 1;
  opacity: 0.5;
}
.rapport-del:hover {
  opacity: 1;
}

.rapport-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 50px 0;
  color: #94a3b8;
}

.rapport-empty__text {
  font-size: 13px;
}

.rapport-empty__actions {
  display: flex;
  gap: 8px;
}

.rapport-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  color: #94a3b8;
  font-size: 12px;
}

.rapport-summary__total {
  color: #0f172a;
  font-weight: 600;
}

.rapport-summary__team {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #334155;
}

.rapport-summary__swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.rapport-poste--matin {
  background: #0060df;
}

.rapport-row[data-poste=matin] .rapport-row__bar {
  background: #0060df;
}

.rapport-poste-chip__toggle.rapport-poste--matin {
  background: #eef7fd;
}
.rapport-poste-chip__toggle.rapport-poste--matin .rapport-poste-chip__name {
  color: #0060df;
}

.rapport-poste--apresmidi {
  background: #b45309;
}

.rapport-row[data-poste=apresmidi] .rapport-row__bar {
  background: #b45309;
}

.rapport-poste-chip__toggle.rapport-poste--apresmidi {
  background: #fdf4ec;
}
.rapport-poste-chip__toggle.rapport-poste--apresmidi .rapport-poste-chip__name {
  color: #b45309;
}

.rapport-cat--securite {
  background: #0d9488;
}

.rapport-row[data-cat=securite] .rapport-select--cat {
  color: #0d9488;
}

.rapport-cat--manoeuvre {
  background: #0a84ff;
}

.rapport-row[data-cat=manoeuvre] .rapport-select--cat {
  color: #0a84ff;
}

.rapport-cat--mesure {
  background: #2563eb;
}

.rapport-row[data-cat=mesure] .rapport-select--cat {
  color: #2563eb;
}

.rapport-cat--attente {
  background: #94a3b8;
}

.rapport-row[data-cat=attente] .rapport-select--cat {
  color: #94a3b8;
}

.rapport-cat--maintenance {
  background: #6366f1;
}

.rapport-row[data-cat=maintenance] .rapport-select--cat {
  color: #6366f1;
}

.rapport-cat--repas {
  background: #64748b;
}

.rapport-row[data-cat=repas] .rapport-select--cat {
  color: #64748b;
}

.rapport-cat--divers {
  background: #94a3b8;
}

.rapport-row[data-cat=divers] .rapport-select--cat {
  color: #94a3b8;
}

.rapport-toast {
  position: absolute;
  bottom: 56px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 11px;
  background: #0f172a;
  color: #f0fbfd;
  font-size: 13px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.32);
  transform: translateX(-50%);
  z-index: 60;
}

.rapport-toast--erreur {
  color: #fca5a5;
}

.rapport-toast__close {
  border: none;
  background: none;
  padding: 0;
  color: #94a3b8;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.rapport-toast__close:hover {
  color: #f0fbfd;
}

.rapport-poste-chip {
  position: relative;
  width: 100%;
  min-width: 0;
}

.rapport-poste-chip__toggle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 8px;
  padding: 4px 8px;
  background: #f1f5f9;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.rapport-poste-chip__toggle:hover {
  filter: brightness(0.98);
}

.rapport-poste-chip__name {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  max-width: 100%;
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
}

.rapport-poste-chip__crew {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  max-width: 100%;
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
}
.rapport-poste-chip__crew--gap {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #b45309;
}

.rapport-poste-chip__gap-glyph {
  display: inline-flex;
  flex: none;
}

.rapport-poste-chip__pop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  width: 280px;
  background: #fff;
  border: 1px solid #e6ebf1;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.rapport-poste-chip__pop-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-bottom: 1px solid #f1f4f7;
}

.rapport-poste-chip__pop-swatch {
  width: 13px;
  height: 13px;
  flex: none;
  border-radius: 5px;
}

.rapport-poste-chip__pop-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.rapport-poste-chip__pop-sub {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 1px;
}

.rapport-poste-chip__pop-body {
  padding: 10px 14px;
}

.rapport-poste-chip__pop-frozen {
  font-size: 10.5px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 6px;
}

.rapport-poste-chip__pop-empty {
  text-align: center;
  padding: 8px 4px 10px;
}

.rapport-poste-chip__pop-empty-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #b45309;
}

.rapport-poste-chip__pop-empty-sub {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.4;
  margin-top: 4px;
}

.rapport-poste-chip__pop-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 0.5px solid #f1f4f7;
}
.rapport-poste-chip__pop-row:last-of-type {
  border-bottom: 0;
}

.rapport-poste-chip__pop-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}

.rapport-poste-chip__pop-ini {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: #eaf3ff;
  color: #0060df;
  font-size: 9.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rapport-poste-chip__pop-info {
  flex: 1;
  min-width: 0;
}

.rapport-poste-chip__pop-name {
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
}

.rapport-poste-chip__pop-role {
  font-size: 10px;
  font-weight: 500;
  color: #94a3b8;
}

.rapport-poste-chip__pop-certs {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  font-size: 9.5px;
  color: #94a3b8;
}

.rapport-poste-chip__pop-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid #f1f4f7;
}

.rapport-poste-chip__pop-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #0a84ff;
}

.rapport-poste-chip__pop-close {
  font-size: 12px;
  padding: 6px 16px;
}

.tableau-de-bord {
  display: contents;
}

.header--tdb {
  gap: 12px;
}

.tdb-header__meta {
  font-size: 11.5px;
  color: #94a3b8;
  white-space: nowrap;
}

.tdb-btn {
  height: 34px;
}

.tdb-content {
  flex-direction: column;
  overflow-y: auto;
  gap: 10px;
}

.tdb-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  padding: 13px 18px;
}

.tdb-identity {
  flex: none;
}

.tdb-identity__objet-value {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0f172a;
}

.tdb-identity__lieu {
  font-size: 12px;
  color: #6e6e73;
  margin-top: 5px;
}
.tdb-identity__lieu b {
  color: #334155;
}

.tdb-identity__sep {
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 12px 0;
}

.tdb-identity__fields {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px 16px;
}

.tdb-field__label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 4px;
}

.tdb-field__value {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  min-height: 20px;
}

.tdb-input {
  width: 100%;
  height: 34px;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  padding: 0 10px;
  font: inherit;
  font-size: 13.5px;
  color: #1d1d1f;
  background: #fff;
  outline: none;
}
.tdb-input:focus {
  border-color: #8fc0ff;
}

.tdb-input--objet {
  height: 40px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tdb-select {
  cursor: pointer;
}

.tdb-kpis {
  flex: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tdb-kpi__label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.tdb-kpi__value {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.15;
  margin-top: 3px;
}
.tdb-kpi__value--accent {
  color: #0a84ff;
}

.tdb-kpi__of {
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
}

.tdb-kpi__sub {
  font-size: 11px;
  color: #8a8a8e;
  margin-top: 3px;
}
.tdb-kpi__sub--ok {
  color: #0d7a52;
  font-weight: 600;
}
.tdb-kpi__sub--alerte {
  color: #b45309;
  font-weight: 600;
}

.tdb-alerts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}

.tdb-kpi__ok {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #0d7a52;
  margin-top: 6px;
}

.tdb-alert {
  display: flex;
  align-items: center;
  gap: 7px;
}

.tdb-alert__dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: #c2410c;
}

.tdb-alert__label {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tdb-alert__count {
  font-size: 12px;
  font-weight: 700;
  color: #c2410c;
}

.tdb-charts {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, minmax(160px, 1fr));
  gap: 10px;
}

.tdb-chart {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.tdb-chart__title {
  font-size: 11px;
  font-weight: 600;
  color: #8a8a8e;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.tdb-chart__note {
  font-size: 10.5px;
  color: #94a3b8;
  margin-top: -4px;
  margin-bottom: 6px;
}

.tdb-chart__empty {
  font-size: 12.5px;
  color: #64748b;
  margin: auto 0;
}

.tdb-chart__body {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 0;
}

.tdb-ring {
  position: relative;
  width: 104px;
  height: 104px;
  flex: none;
}

.tdb-ring__gauge {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#0a84ff 0 calc(var(--pct, 0) * 1%), #e6ebf1 calc(var(--pct, 0) * 1%) 100%);
}

.tdb-ring__center {
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tdb-ring__pct {
  font-size: 21px;
  font-weight: 700;
  color: #0a84ff;
  line-height: 1;
}

.tdb-ring__cap {
  font-size: 10px;
  color: #8a8a8e;
  margin-top: 2px;
}

.tdb-ring__list {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.tdb-ring__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  color: #6e6e73;
}
.tdb-ring__row span:last-child {
  font-weight: 600;
  color: #1d1d1f;
}
.tdb-ring__row:last-child {
  border-bottom: 0;
}

.tdb-rings {
  display: flex;
  gap: 14px;
  flex: none;
}

.tdb-ring-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.tdb-ring-cell__label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
}

.tdb-rings .tdb-ring {
  width: 92px;
  height: 92px;
}

.tdb-rings .tdb-ring__center {
  inset: 14px;
}

.tdb-rings .tdb-ring__pct {
  font-size: 16px;
}

.tdb-ring--programme .tdb-ring__gauge {
  background: conic-gradient(#0d9488 0 calc(var(--pct, 0) * 1%), #e6ebf1 calc(var(--pct, 0) * 1%) 100%);
}

.tdb-ring--programme .tdb-ring__pct {
  color: #0d9488;
}

.tdb-ring--indetermine .tdb-ring__gauge {
  background: rgba(10, 132, 255, 0.16);
}

.tdb-ring--indetermine .tdb-ring__pct {
  font-size: 15px;
}

.tdb-value--ok {
  color: #0d7a52;
}

.tdb-value--alerte {
  color: #b45309;
}

.tdb-ring__etape {
  max-width: 55%;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tdb-garde {
  margin: auto 0;
  padding: 12px 14px;
  border-radius: 9px;
  background: #fdf3e7;
  border: 1px solid #f3d9b0;
  color: #b45309;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
}

.tdb-postes {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tdb-poste {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.tdb-poste__tete {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.tdb-poste__nom {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
}

.tdb-poste__horaires {
  flex: 1;
  min-width: 0;
  font-size: 10.5px;
  color: #94a3b8;
}

.tdb-poste__compte {
  font-size: 13px;
  font-weight: 700;
  color: #0a84ff;
}

.tdb-poste__vide {
  font-size: 11.5px;
  color: #64748b;
  font-style: italic;
}

.tdb-poste__membres {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tdb-poste__membre {
  font-size: 12px;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tdb-couverture {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 0.5px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  color: #0d7a52;
}
.tdb-couverture b {
  font-weight: 700;
}
.tdb-couverture--alerte {
  color: #b45309;
}

.tdb-couverture__texte {
  flex: 1;
  min-width: 0;
}

.tdb-couverture__lien {
  font-weight: 600;
  color: #0a84ff;
  text-decoration: none;
}
.tdb-couverture__lien:hover {
  text-decoration: underline;
}

.tdb-legend {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tdb-legend--usure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 16px;
}

.tdb-legend__row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.tdb-legend__label {
  flex: 1;
  font-size: 12.5px;
  color: #334155;
}

.tdb-legend__n {
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
}

.tdb-chart__badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 600;
  vertical-align: middle;
}
.tdb-chart__badge--alerte {
  background: #fdf3e7;
  color: #b45309;
}

.tdb-temps {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding-top: 6px;
}

.tdb-temps__col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 0;
}

.tdb-temps__value {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

.tdb-temps__track {
  width: 100%;
  max-width: 50px;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.tdb-temps__bar {
  width: 100%;
  height: 0;
  flex: none;
  display: flex;
  flex-direction: column-reverse;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  transition: height 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.tdb-temps__seg {
  flex-grow: 0;
  flex-basis: 0;
  min-height: 0;
  width: 100%;
}
.tdb-temps__seg--operation {
  background: #0a84ff;
}
.tdb-temps__seg--attente {
  background: #f0a94a;
}
.tdb-temps__seg--npt {
  background: #c2410c;
}
.tdb-temps__seg--nonclassee {
  background: #94a3b8;
}

.tdb-temps__label {
  font-size: 11px;
  color: #8a8a8e;
}

.tdb-legend--temps {
  flex: none;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 8px;
}

.tdb-temps-sw--operation {
  background: #0a84ff;
}

.tdb-temps-sw--attente {
  background: #f0a94a;
}

.tdb-temps-sw--npt {
  background: #c2410c;
}

.tdb-temps-sw--nonclassee {
  background: #94a3b8;
}

.tdb-usure-place {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 0.5px solid rgba(0, 0, 0, 0.06);
}

.tdb-usure-place__label {
  flex: 1;
  font-size: 12.5px;
  color: #334155;
}

.tdb-usure-place__n {
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
}

.tdb-usure-place__note {
  font-size: 10.5px;
  color: #94a3b8;
  font-style: italic;
}

.tdb-usure-bar {
  display: flex;
  height: 24px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  margin-bottom: 12px;
}

.tdb-usure-seg {
  flex-grow: 0;
  flex-basis: 0;
}
.tdb-usure-seg--stoc {
  background: #cfe6ff;
}
.tdb-usure-seg--deg {
  background: #f0a94a;
}
.tdb-usure-seg--fer {
  background: #c2410c;
}

.tdb-toast {
  position: absolute;
  bottom: 20px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 11px;
  background: #fdf3e7;
  border: 1px solid #f3d9b0;
  color: #b45309;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.22);
  transform: translateX(-50%);
  z-index: 60;
}

.tdb-toast__close {
  border: none;
  background: none;
  padding: 0;
  color: #b45309;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
}

.tdb-usure-sw {
  width: 11px;
  height: 11px;
  flex: none;
  border-radius: 3px;
}
.tdb-usure-sw--stoc {
  background: #cfe6ff;
}
.tdb-usure-sw--c {
  background: #f6dcb0;
}
.tdb-usure-sw--t {
  background: #f0c88a;
}
.tdb-usure-sw--m {
  background: #e6ad5e;
}
.tdb-usure-sw--fer {
  background: #c2410c;
}
.tdb-usure-sw--place {
  background: #dbe3ec;
}

.import-depot {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.import-depot__card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  width: 560px;
  max-width: 100%;
  padding: 26px;
}

.import-depot__card--garde {
  text-align: center;
}

.import-depot__garde-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #b45309;
  background: #fdf3e7;
}

.import-depot__card--garde .import-depot__actions {
  justify-content: center;
}

.import-depot__titre {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.import-depot__sous-titre {
  margin-top: 4px;
  font-size: 12.5px;
  color: #64748b;
}

.import-depot__zone {
  margin-top: 18px;
  height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px dashed #dfe4ea;
  border-radius: 18px;
  background: #fbfcfd;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.12s, background 0.12s;
}
.import-depot__zone:hover, .import-depot__zone:focus-within {
  border-color: #8fc0ff;
  background: #f7fbfc;
}

.import-depot__icone {
  font-size: 30px;
}

.import-depot__consigne {
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
}

.import-depot__aide {
  font-size: 12px;
  color: #94a3b8;
}

.import-depot__nom {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  max-width: 90%;
  font-size: 12.5px;
  font-weight: 600;
  color: #0a84ff;
}

.import-depot__actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.import-depot__actions > a,
.import-depot__actions > button {
  height: 40px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.import-depot__erreur {
  margin-top: 14px;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 12.5px;
  color: #b45309;
  background: #fdf7ee;
  border: 1px solid #f3d9b0;
}

.import-depot__zone--survol {
  border-color: #0a84ff;
  background: #f7fbfc;
}

.import-identite {
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
}

.import-identite__icone {
  font-size: 22px;
}

.import-identite__fichier {
  min-width: 0;
}

.import-identite__nom {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.import-identite__meta {
  font-size: 12px;
  color: #64748b;
}

.import-identite__sep {
  width: 1px;
  height: 32px;
  background: #e6ebf1;
  margin: 0 6px;
}

.import-identite__blocs {
  display: flex;
  gap: 22px;
}

.import-identite__cle {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.import-identite__valeur {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.import-etat {
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  padding: 5px 13px;
  white-space: nowrap;
  color: #94a3b8;
  background: #f1f4f7;
  border: 1px solid #eef1f5;
}

.import-etat--reconnu {
  color: #0d7a52;
  background: #eaf7f0;
  border: 1px solid #bfe6d2;
}

.import-identite__badge {
  color: #0d7a52;
  background: #eaf7f0;
  border: 1px solid #bfe6d2;
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 8px;
  margin-left: 7px;
  white-space: nowrap;
}

.import-creation {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: 12px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 11px;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.import-creation--active {
  border-color: #0a84ff;
  background: rgba(10, 132, 255, 0.1);
}

.import-creation__libelles {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.import-creation__titre {
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
}

.import-creation__chemin {
  font-size: 10.5px;
  color: #64748b;
}

.import-appareil-carte {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 11px;
  background: #fff;
}

.import-appareil-carte__kicker {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.import-appareil-carte__etat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.import-appareil-carte__etat--detecte {
  color: #0d7a52;
}
.import-appareil-carte__etat--requis {
  color: #b45309;
}

.import-appareil-carte__select {
  min-width: 180px;
}

.import-appareil-carte--detecte {
  color: #0d7a52;
  background: #eaf7f0;
  border: 1px solid #bfe6d2;
}

.import-appareil-carte--requis {
  color: #b45309;
  background: #fdf7ee;
  border: 1px solid #f3d9b0;
}

.import-colonne {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.import-colonne--onglets {
  flex: 1.15;
}

.import-colonne--apercu {
  flex: 1;
}

.import-colonne__head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 10px;
}

.import-colonne__head--filet {
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
}

.import-colonne__titre {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.import-colonne__sous-titre {
  font-size: 11.5px;
  color: #64748b;
}

.import-colonne__spacer {
  flex: 1;
}

.import-colonne__compteur {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 11.5px;
  font-weight: 600;
  color: #0a84ff;
}

.import-colonne__corps {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.import-colonne__corps::-webkit-scrollbar {
  width: 10px;
}
.import-colonne__corps::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 3px solid #fff;
  border-radius: 8px;
}
.import-colonne__corps::-webkit-scrollbar-track {
  background: transparent;
}

.import-colonne__pied {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-top: 0.5px solid rgba(0, 0, 0, 0.06);
  font-size: 11.5px;
  color: #64748b;
}

.import-colonne__losange {
  color: #ea7a1c;
}

.import-onglets {
  padding: 0 8px 8px;
}

.import-onglet {
  display: grid;
  grid-template-columns: 34px 1fr 150px 96px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s;
}
.import-onglet:hover {
  background: #f2f8fa;
}

.import-onglet__case {
  width: 18px;
  height: 18px;
  justify-self: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.import-onglet__case::before {
  content: "";
  font-size: 12px;
  font-weight: 700;
  color: #f0fbfd;
}
.import-onglet__case:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.import-onglet__libelles {
  min-width: 0;
}

.import-onglet__nom {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.import-onglet__indice {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 11px;
  color: #64748b;
}

.import-onglet__type {
  width: 100%;
  height: 32px;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  padding: 0 7px;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  outline: none;
}

.import-onglet__confiance {
  text-align: right;
}

.import-onglet--active {
  background: rgba(10, 132, 255, 0.1);
}
.import-onglet--active:hover {
  background: rgba(10, 132, 255, 0.1);
}

.import-onglet__case--cochee {
  border-color: #0a84ff;
  background: #0a84ff;
}
.import-onglet__case--cochee::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.import-onglet__type--importable {
  color: #0a84ff;
}

.import-onglet__type--a-confirmer {
  border-color: #ea7a1c;
}

.import-confiance {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  border-radius: 20px;
  padding: 3px 9px;
  white-space: nowrap;
  color: #94a3b8;
  background: #f1f4f7;
  border: 1px solid #eef1f5;
}

.import-confiance--fiable {
  color: #0d7a52;
  background: #eaf7f0;
  border: 1px solid #bfe6d2;
}

.import-confiance--probable {
  border-color: #cfe6ff;
  background: #eaf3ff;
  color: #0060df;
}

.import-confiance--a-confirmer {
  color: #b45309;
  background: #fdf7ee;
  border: 1px solid #f3d9b0;
}

.import-apercu__head {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  display: grid;
  grid-template-columns: 34px 1fr 84px 84px;
  column-gap: 12px;
  padding: 8px 18px;
}

.import-apercu__ligne {
  display: grid;
  grid-template-columns: 34px 1fr 84px 84px;
  column-gap: 12px;
  padding: 7px 18px;
  border-top: 0.5px solid #f1f4f7;
}

.import-apercu__numero {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 12px;
  color: #94a3b8;
}

.import-apercu__designation {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: #0f172a;
}

.import-apercu__longueur {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  text-align: right;
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
}

.import-apercu__cumul {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  text-align: right;
  font-size: 12px;
  color: #64748b;
}

.import-apercu__vide {
  padding: 22px 18px;
  font-size: 12.5px;
  color: #64748b;
}

.import-diff__compteurs {
  display: flex;
  gap: 8px;
  padding: 10px 18px;
}

.import-compteur {
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 20px;
  padding: 3px 11px;
  color: #94a3b8;
  background: #f1f4f7;
  border: 1px solid #eef1f5;
}

.import-compteur--ajout {
  color: #0d7a52;
  background: #eaf7f0;
  border: 1px solid #bfe6d2;
}

.import-compteur--modif {
  color: #b45309;
  background: #fdf7ee;
  border: 1px solid #f3d9b0;
}

.import-compteur--retrait {
  border: 1px solid #fca5a5;
  background: #fdf0ea;
  color: #c2410c;
}

.import-diff__ligne {
  display: grid;
  grid-template-columns: 26px 34px 1fr 90px;
  gap: 6px;
  padding: 7px 18px;
  border-top: 0.5px solid #f1f4f7;
}

.import-diff__signe {
  text-align: center;
  font-weight: 700;
  color: #cbd5e1;
}

.import-diff__numero {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 12px;
  color: #94a3b8;
}

.import-diff__designation {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  font-size: 12.5px;
  color: #0f172a;
}

.import-diff__detail {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  text-align: right;
  font-size: 12px;
  color: #334155;
}

.import-diff__recap {
  padding: 10px 18px;
  border-top: 0.5px solid #f1f4f7;
  font-size: 12.5px;
  color: #64748b;
}

.import-diff__ligne--ajout {
  background: #edf9f2;
}

.import-diff__ligne--modification {
  background: #fdf1e3;
}

.import-diff__ligne--retrait {
  background: #fdf0ea;
}

.import-diff__signe--ajout {
  color: #34c759;
}

.import-diff__signe--modification {
  color: #ea7a1c;
}

.import-diff__signe--retrait {
  color: #c2410c;
}

.import-pied {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 0.5px solid transparent;
  border: 0;
  border-top: 0.5px solid rgba(0, 0, 0, 0.08);
  height: 60px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
}

.import-pied__aide {
  font-size: 12px;
  color: #64748b;
}

.import-pied__spacer {
  flex: 1;
}

.import-pied__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.import-pied__actions > button {
  height: 40px;
  display: inline-flex;
  align-items: center;
}

@keyframes import-spin {
  to {
    transform: rotate(1turn);
  }
}
.import-spinner {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  border: 3px solid #eaf3ff;
  border-top-color: #0a84ff;
  animation: import-spin 0.7s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .import-spinner {
    animation: none;
  }
}

.import-spinner--sm {
  width: 24px;
  height: 24px;
  border-width: 2px;
}

.import-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s;
}

.import-overlay__label {
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
}

.import-overlay__sub {
  font-size: 12px;
  color: #64748b;
}

.import-overlay--panneau {
  background: rgba(248, 250, 252, 0.82);
}

.import-overlay--actif {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.import-alertes {
  padding: 10px 22px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  color: #334155;
}

.import-alertes__item {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.import-alertes__item--doublon {
  color: #b45309;
  font-weight: 600;
}

.import-entete {
  margin: 0;
  padding: 4px 18px 8px;
}

.import-entete__ligne {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  border-top: 0.5px solid #f1f4f7;
}

.import-entete__cle {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0;
}

.import-entete__valeur {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.meteo-slot {
  display: contents;
}

.meteocon {
  display: block;
  flex: none;
}

.meteo {
  margin: 10px 4px 14px;
  padding: 11px 12px;
  border: 0.5px solid rgba(10, 132, 255, 0.14);
  border-radius: 12px;
  background: linear-gradient(155deg, #eaf3ff, #f3f7fc);
}

.meteo__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.meteo__ville {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7089a8;
}

.meteo__heure {
  font-size: 8.5px;
  color: #94a3b8;
}

.meteo__courant {
  display: flex;
  align-items: center;
  gap: 9px;
}

.meteo__resume {
  min-width: 0;
  line-height: 1;
}

.meteo__rafales {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.meteo__rafales-valeur {
  font-size: 24px;
  font-weight: 700;
  color: #0f2a4a;
}

.meteo__rafales-unite {
  font-size: 10.5px;
  font-weight: 600;
  color: #516079;
}

.meteo__secondaire {
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.35;
  color: #516079;
}

.meteo__levage {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 6px 9px;
  border: 0.5px solid transparent;
  border-radius: 9px;
}
.meteo__levage--ok {
  background: rgba(22, 163, 74, 0.1);
  border-color: rgba(22, 163, 74, 0.25);
}
.meteo__levage--interdit {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.28);
}

.meteo__levage-pastille {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.meteo__levage--ok .meteo__levage-pastille {
  background: #16a34a;
}
.meteo__levage--interdit .meteo__levage-pastille {
  background: #dc2626;
}

.meteo__levage-texte {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}
.meteo__levage--ok .meteo__levage-texte {
  color: #137a3c;
}
.meteo__levage--interdit .meteo__levage-texte {
  color: #b91c1c;
}

.meteo__jauge {
  margin-top: 6px;
  height: 5px;
  border-radius: 3px;
  background: #e2e8f0;
  overflow: hidden;
}

.meteo__jauge-barre {
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #16a34a, #f0a94a);
}
.meteo__jauge--interdit .meteo__jauge-barre {
  background: #dc2626;
}

.meteo__jauge-limite {
  margin-top: 3px;
  font-size: 8.5px;
  text-align: right;
  color: #8a97a8;
}

.meteo__details {
  margin-top: 2px;
}

.meteo__summary {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 0 2px;
  list-style: none;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7089a8;
}
.meteo__summary::-webkit-details-marker {
  display: none;
}

.meteo__caret {
  display: inline-flex;
  transition: transform 0.12s;
}
.meteo__details[open] .meteo__caret {
  transform: rotate(180deg);
}

.meteo__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 7px;
}

.meteo__tile {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.66);
}

.meteo__tile-body {
  line-height: 1.05;
}

.meteo__tile-value {
  font-size: 11.5px;
  font-weight: 700;
  color: #0f2a4a;
}

.meteo__tile-unit {
  font-size: 8.5px;
  font-weight: 500;
  color: #8a97a8;
}

.meteo__tile-label {
  font-size: 8px;
  color: #94a3b8;
}

.meteo__section {
  margin-top: 10px;
}

.meteo__section-titre {
  margin-bottom: 5px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7089a8;
}

.meteo__heures {
  display: flex;
  gap: 2px;
  padding: 7px 4px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.5);
}

.meteo__heure-case {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.meteo__heure-label {
  font-size: 8.5px;
  color: #8a97a8;
}

.meteo__heure-temp {
  font-size: 10.5px;
  font-weight: 700;
  color: #0f2a4a;
}

.meteo__heure-prob {
  font-size: 8px;
  font-weight: 500;
  color: #94a3b8;
}
.meteo__heure-prob--fort {
  font-weight: 700;
  color: #0060df;
}

.meteo__demain {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  padding: 6px 9px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.5);
}

.meteo__demain-tete {
  display: flex;
  align-items: center;
  gap: 7px;
}

.meteo__demain-label {
  flex: none;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7089a8;
}

.meteo__demain-temp {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: #0f2a4a;
}

.meteo__demain-min {
  font-weight: 400;
  color: #94a3b8;
}

.meteo__demain-detail {
  font-size: 9px;
  text-align: right;
  line-height: 1.05;
  color: #94a3b8;
}

.meteo__demain-pluie {
  font-weight: 700;
  color: #0060df;
}

.meteo__alerte {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 8px;
  border: 0.5px solid rgba(180, 83, 9, 0.2);
  border-radius: 8px;
  background: rgba(180, 83, 9, 0.1);
}

.meteo__alerte-icone {
  display: inline-flex;
  flex: none;
  margin-top: 1px;
  color: #b45309;
}

.meteo__alerte-texte {
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.25;
  color: #b45309;
}

@media (prefers-reduced-motion: reduce) {
  .meteo__caret {
    transition: none;
  }
}
.nav-admin__card {
  margin: 2px 4px 12px;
  padding: 11px 12px;
  border: 0.5px solid #8fc0ff;
  border-radius: 12px;
  background: rgba(10, 132, 255, 0.1);
}

.nav-admin__kicker {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0060df;
  margin-bottom: 4px;
}

.nav-admin__titre {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #1d1d1f;
}

.nav-admin__intro {
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.35;
  color: #64748b;
}

.nav-admin__note {
  margin: 0 4px 8px;
  padding: 10px 12px;
  border: 0.5px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  background: rgba(120, 140, 170, 0.1);
  font-size: 10.5px;
  line-height: 1.45;
  color: #64748b;
}

.header--appareils {
  height: 58px;
  gap: 13px;
}

.appareils-soustitre {
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
}

.appareils-compte {
  font-size: 11.5px;
  color: #64748b;
  white-space: nowrap;
}

.appareils-glyph {
  display: inline-flex;
}

.appareils-content {
  justify-content: center;
  overflow-y: auto;
}

.appareils-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  width: 100%;
  max-width: 820px;
  align-self: flex-start;
  overflow: hidden;
}

.appareils-grid {
  display: grid;
  grid-template-columns: 1fr 130px 120px 96px;
  align-items: center;
  padding: 0 16px;
}

.appareils-grid--head {
  height: 38px;
  border-bottom: 1px solid #e6ebf1;
  background: #fbfcfd;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.appareils-col--wo {
  padding-right: 16px;
  font-size: 12.5px;
  color: #64748b;
  text-align: right;
}

.appareils-col--statut {
  text-align: center;
}

.appareils-row {
  min-height: 52px;
  border-bottom: 1px solid #f1f4f7;
  background: #fff;
}
.appareils-row--inactif {
  background: #fbfcfd;
}

.appareils-nom {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.appareils-avatar {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf3ff;
  color: #0060df;
  font-size: 10.5px;
  font-weight: 700;
}
.appareils-avatar--inactif {
  background: #eef1f5;
  color: #94a3b8;
}

.appareils-nom__label {
  font-size: 13.5px;
  font-weight: 600;
  color: #1d1d1f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.appareils-row--inactif .appareils-nom__label {
  color: #94a3b8;
}

.appareils-input {
  flex: 1;
  min-width: 0;
  height: 32px;
  border: 1px solid #8fc0ff;
  border-radius: 8px;
  padding: 0 10px;
  font: inherit;
  font-size: 13.5px;
  color: #1d1d1f;
  outline: none;
}

.appareils-statut {
  border: 1px solid;
  border-radius: 20px;
  padding: 3px 11px;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.appareils-statut--actif {
  color: #0d7a52;
  background: #eaf7f0;
  border-color: #bfe6d2;
}
.appareils-statut--inactif {
  color: #64748b;
  background: #f1f4f7;
  border-color: #e2e8f0;
}

.appareils-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.appareils-icone {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6ebf1;
  border-radius: 7px;
  background: #fff;
  color: #64748b;
  cursor: pointer;
}
.appareils-icone:hover:not(:disabled) {
  color: #0a84ff;
  border-color: #8fc0ff;
}
.appareils-icone--suppr {
  color: #c2410c;
  border-color: #fca5a5;
}
.appareils-icone:disabled {
  color: #cbd5e1;
  border-color: #eef1f5;
  cursor: not-allowed;
}

.appareils-ok {
  height: 28px;
  padding: 0 11px;
  border: none;
  border-radius: 8px;
  background: #0a84ff;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.appareils-annuler {
  border: none;
  background: none;
  font-size: 12px;
  color: #64748b;
  cursor: pointer;
}

.appareils-note {
  padding: 11px 16px;
  font-size: 11.5px;
  color: #94a3b8;
}

.button--modal-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.header--planning {
  height: 58px;
  gap: 12px;
}

.planning-rig {
  height: 32px;
  border: 1px solid #dfe4ea;
  border-radius: 9px;
  background: #fff;
  color: #0a84ff;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 0 9px;
  cursor: pointer;
  outline: none;
}
.planning-rig:focus-visible {
  border-color: #8fc0ff;
}

.planning-weeknav {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  padding: 3px;
  background: #fff;
}

.planning-weeknav__btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  border-radius: 7px;
  color: #334155;
  cursor: pointer;
}
.planning-weeknav__btn:hover {
  background: rgba(0, 0, 0, 0.03);
}

.planning-weeknav__label {
  min-width: 160px;
  text-align: center;
  padding: 0 8px;
}

.planning-weeknav__num {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.05;
}

.planning-weeknav__year {
  color: #64748b;
}

.planning-weeknav__range {
  font-size: 10.5px;
  color: #64748b;
}

.planning-btn {
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dfe4ea;
  background: #fff;
  color: #334155;
  border-radius: 9px;
  padding: 0 12px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}
.planning-btn:hover {
  border-color: #8fc0ff;
}

.planning-btn--import {
  border-color: #a9c9f0;
  background: #eaf3ff;
  color: #0060df;
  font-weight: 600;
}

.planning-import-form {
  display: inline-flex;
  margin: 0;
}

.planning-gap {
  color: #b45309;
  background: #fdf7ee;
  border: 1px solid #f3d9b0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.planning-content {
  overflow: hidden;
}

.planning-grid {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.planning-grid__head {
  flex: none;
  display: grid;
  grid-template-columns: 96px repeat(7, minmax(0, 1fr));
  border-bottom: 1px solid #e6ebf1;
  background: #fbfcfd;
}

.planning-grid__day {
  padding: 9px 6px;
  text-align: center;
  border-left: 1px solid #eef1f5;
}
.planning-grid__day--weekend {
  background: #f8fafc;
}

.planning-grid__dow {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.planning-grid__day--weekend .planning-grid__dow {
  color: #94a3b8;
}

.planning-grid__date {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 10.5px;
  color: #94a3b8;
  margin-top: 1px;
}

.planning-grid__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.planning-grid__body::-webkit-scrollbar {
  width: 10px;
}
.planning-grid__body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 3px solid #fff;
  border-radius: 8px;
}
.planning-grid__body::-webkit-scrollbar-track {
  background: transparent;
}

.planning-grid__row {
  display: grid;
  grid-template-columns: 96px repeat(7, minmax(0, 1fr));
  border-bottom: 1px solid #eef1f5;
  min-height: 132px;
}

.planning-grid__poste {
  padding: 11px 10px;
  border-right: 1px solid #eef1f5;
}
.planning-grid__poste--matin {
  background: #eef7fd;
}
.planning-grid__poste--apresmidi {
  background: #fdf4ec;
}

.planning-grid__poste-label {
  font-size: 12px;
  font-weight: 700;
}
.planning-grid__poste--matin .planning-grid__poste-label {
  color: #0060df;
}
.planning-grid__poste--apresmidi .planning-grid__poste-label {
  color: #b45309;
}

.planning-grid__poste-hours {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 10.5px;
  color: #94a3b8;
  margin-top: 2px;
}

.planning-cell {
  border-left: 1px solid #eef1f5;
  padding: 7px 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.planning-cell--weekend {
  background: #fbfcfd;
}
.planning-cell:hover {
  background: #f7fbfc;
}
.planning-cell:focus-visible {
  outline: 2px solid #8fc0ff;
  outline-offset: -2px;
}

.planning-cell__empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #cbd5e1;
}

.planning-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid #e6ebf1;
  border-radius: 7px;
  padding: 3px 6px;
}

.planning-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}

.planning-chip__name {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  font-size: 10.5px;
  font-weight: 600;
  color: #0f172a;
}

.planning-dot--chef {
  background: #0a84ff;
}

.planning-dot--equipier {
  background: #94a3b8;
}

.planning-side {
  width: 250px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}
.planning-side::-webkit-scrollbar {
  width: 10px;
}
.planning-side::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 3px solid #fff;
  border-radius: 8px;
}
.planning-side::-webkit-scrollbar-track {
  background: transparent;
}

.planning-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
  padding: 13px 15px;
}

.planning-card__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a8a8e;
  margin-bottom: 9px;
}

.planning-legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.planning-legend__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.planning-legend__label {
  font-size: 12px;
  color: #334155;
}

.planning-team__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 0.5px solid #f1f4f7;
}
.planning-team__row:last-child {
  border-bottom: 0;
}
.planning-team__row--edit {
  align-items: flex-start;
}

.planning-team__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}
.planning-team__row--edit .planning-team__dot {
  margin-top: 4px;
}

.planning-team__info {
  flex: 1;
  min-width: 0;
}

.planning-team__name {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
}

.planning-team__certs {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  font-size: 9.5px;
  color: #94a3b8;
}

.planning-team__load {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
}
.planning-team__load--alert {
  color: #b45309;
}
.planning-team__load--zero {
  color: #cbd5e1;
}

.planning-team__edit {
  width: 22px;
  height: 22px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6ebf1;
  border-radius: 6px;
  background: #fff;
  color: #64748b;
  cursor: pointer;
}
.planning-team__edit:hover {
  color: #0a84ff;
  border-color: #8fc0ff;
}

.planning-team__roles {
  display: flex;
  gap: 5px;
  margin: 4px 0;
}

.planning-role-btn {
  border: 1px solid #dfe4ea;
  background: #fff;
  border-radius: 8px;
  padding: 3px 8px;
  font: inherit;
  font-size: 10.5px;
  color: #64748b;
  cursor: pointer;
}
.planning-role-btn--on {
  border-color: #0a84ff;
  background: #eaf3ff;
  color: #0060df;
  font-weight: 600;
}

.planning-team__hab-input {
  width: 100%;
  height: 30px;
  margin-top: 4px;
  border: 1px solid #8fc0ff;
  border-radius: 8px;
  padding: 0 9px;
  font: inherit;
  font-size: 11.5px;
  color: #1d1d1f;
  outline: none;
}

.planning-team__editbar {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.planning-team__ok {
  border: none;
  border-radius: 8px;
  background: #0a84ff;
  color: #f0fbfd;
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.planning-team__cancel {
  border: none;
  background: none;
  color: #64748b;
  font-size: 11px;
  cursor: pointer;
}

.planning-team__vide {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.4;
  padding: 4px 0;
}

.planning-note {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.5;
}
.planning-note b {
  color: #334155;
}

.modal__dialog--pick {
  width: 430px;
}

.planning-pick {
  max-height: 320px;
  overflow-y: auto;
  padding: 10px 12px;
}
.planning-pick::-webkit-scrollbar {
  width: 10px;
}
.planning-pick::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 3px solid #fff;
  border-radius: 8px;
}
.planning-pick::-webkit-scrollbar-track {
  background: transparent;
}

.planning-pick__row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.planning-pick__row:hover {
  background: #f7fbfc;
}
.planning-pick__row--on {
  background: rgba(10, 132, 255, 0.08);
}

.planning-pick__box {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 5px;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.planning-pick__box--on {
  border-color: #0a84ff;
  background: #0a84ff;
  color: #fff;
}
.planning-pick__box--on::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.planning-pick__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.planning-pick__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.planning-pick__name {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
}

.planning-pick__certs {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  font-size: 10px;
  color: #94a3b8;
}

.planning-pick__clash {
  color: #b45309;
  background: #fdf7ee;
  border: 1px solid #f3d9b0;
  font-size: 9.5px;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 7px;
  white-space: nowrap;
}

.planning-pick__clear {
  border: none;
  background: none;
  color: #c2410c;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.planning-pick__vide {
  font-size: 11.5px;
  color: #94a3b8;
  padding: 8px 0;
}

.modal__dialog--import {
  width: 640px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
}

.planning-import__head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.planning-import__title {
  flex: 1;
  min-width: 0;
}

.planning-import__scope {
  font-size: 11.5px;
  font-weight: 600;
  color: #0060df;
  background: #eaf3ff;
  border: 1px solid #cfe6ff;
  border-radius: 20px;
  padding: 4px 11px;
  white-space: nowrap;
}

.planning-import__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 12px;
}
.planning-import__body::-webkit-scrollbar {
  width: 10px;
}
.planning-import__body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 3px solid #fff;
  border-radius: 8px;
}
.planning-import__body::-webkit-scrollbar-track {
  background: transparent;
}

.planning-import__doublon-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 4px 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fdeee7;
  border: 1px solid #fca5a5;
  color: #c2410c;
  font-size: 11.5px;
  line-height: 1.4;
}

.planning-import__week {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: 10px;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.planning-import__week:hover {
  background: #f7fbfc;
}
.planning-import__week--on {
  background: rgba(10, 132, 255, 0.08);
}
.planning-import__week--doublon {
  opacity: 0.72;
}

.planning-import__week-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.planning-import__week-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.planning-import__week-meta {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 10.5px;
  color: #94a3b8;
}

.planning-import__badge {
  font-size: 9.5px;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 8px;
  white-space: nowrap;
}
.planning-import__badge--new {
  color: #0d7a52;
  background: #eaf7f0;
}
.planning-import__badge--maj {
  color: #b45309;
  background: #fdf3e7;
}
.planning-import__badge--doublon {
  color: #c2410c;
  background: #fdeee7;
}

.planning-import__unknown {
  margin: 10px 4px 2px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fdf3e7;
  border: 1px solid #f3d9b0;
}

.planning-import__unknown-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 5px;
}

.planning-import__unknown-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.planning-import__chip {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 11px;
  color: #b45309;
  background: #fff;
  border: 1px solid #f3d9b0;
  border-radius: 7px;
  padding: 3px 8px;
}

.planning-import__unknown-note {
  font-size: 11px;
  color: #c99a5b;
  margin-top: 6px;
}

.planning-import__hint {
  font-size: 11.5px;
  color: #94a3b8;
}

.planning-import__vide {
  font-size: 12px;
  color: #94a3b8;
  padding: 10px;
}

.modal__dialog--export {
  width: min(960px, 94vw);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
}

.modal__dialog--export > form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.export-head {
  flex: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 24px;
  border-bottom: 1px solid #eef1f5;
}
.export-head__sub {
  margin-top: 4px;
  font-size: 12.5px;
  color: #64748b;
}

.export-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 0;
  overflow-y: auto;
}

.export-col {
  padding: 14px 24px;
  min-width: 0;
}
.export-col--droite {
  border-left: 1px solid #eef1f5;
  background: #fbfcfd;
}
.export-col__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.export-col__kicker {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.export-lien {
  border: 0;
  background: none;
  padding: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #0a84ff;
  cursor: pointer;
}
.export-lien:hover {
  color: #0060df;
}

.export-liste {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.export-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.export-item:has(.export-item__case:checked) {
  background: #eaf3ff;
}
.export-item__case {
  width: 18px;
  height: 18px;
  accent-color: #0a84ff;
  flex: none;
}
.export-item__texte {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}
.export-item__nom {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}
.export-item__sous {
  font-size: 12px;
  color: #64748b;
}

.export-badge {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.export-badge--format {
  padding: 4px 12px;
  background: #eaf3ff;
  color: #0060df;
}
.export-badge--genere {
  background: #eaf3ff;
  color: #0060df;
}
.export-badge--recopie {
  background: #f1f5f9;
  color: #64748b;
}

.skel {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, #dfe4ea 25%, #fbfcfd 37%, #dfe4ea 63%);
  background-size: 400% 100%;
  animation: export-shimmer 1.1s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .skel {
    animation: none;
  }
}

@keyframes export-shimmer {
  from {
    background-position: 100% 50%;
  }
  to {
    background-position: 0 50%;
  }
}
.export-skel-line {
  height: 11px;
}
.export-skel-line--nom {
  width: 42%;
}
.export-skel-line--sous {
  width: 66%;
}
.export-skel-line--short {
  width: 45%;
}

.export-skel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
}
.export-skel-item__case {
  width: 18px;
  height: 18px;
  flex: none;
}
.export-skel-item__texte {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
.export-skel-item__badge {
  width: 54px;
  height: 16px;
  border-radius: 20px;
  flex: none;
}
.export-skel-item:nth-child(2n) .export-skel-line--nom {
  width: 34%;
}
.export-skel-item:nth-child(3n) .export-skel-line--sous {
  width: 54%;
}
.export-skel-item:nth-child(4n) .export-skel-line--nom {
  width: 48%;
}

.export-skel-controle {
  display: flex;
  gap: 9px;
  margin-top: 12px;
}
.export-skel-controle:first-child {
  margin-top: 10px;
}
.export-skel-controle__dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  flex: none;
}
.export-skel-controle__lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1 1 auto;
  min-width: 0;
}

.export-note {
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
}
.export-note--gabarit {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #f3d9b0;
  border-radius: 8px;
  background: #fdf3e7;
  color: #b45309;
}
.export-note--info {
  display: flex;
  gap: 9px;
  margin: 10px 0 0;
  padding: 9px 12px;
  border-radius: 9px;
  background: #f1f5f9;
}
.export-note__icone {
  flex: none;
  margin-top: 1px;
  color: #94a3b8;
}
.export-note strong {
  color: #334155;
  font-weight: 600;
}

.export-matrice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
  padding: 9px 12px;
  border: 1px solid #eef1f5;
  border-radius: 9px;
  background: #fbfcfd;
  cursor: pointer;
}
.export-matrice:has(input:checked) {
  border-color: #0a84ff;
  background: #eaf3ff;
}
.export-matrice input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #0a84ff;
  flex: none;
}
.export-matrice__texte {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.export-matrice__nom {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}
.export-matrice__sous {
  font-size: 12px;
  color: #64748b;
}

.export-controles {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.export-controle {
  display: flex;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.4;
}
.export-controle__icone {
  flex: none;
  margin-top: 1px;
}
.export-controle--ok {
  color: #334155;
}
.export-controle--ok .export-controle__icone {
  color: #0d7a52;
}
.export-controle--alerte {
  color: #b45309;
}

.export-historique {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #eef1f5;
}
.export-historique__ligne {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: 12.5px;
}
.export-historique__date {
  color: #64748b;
}
.export-historique__auteur {
  color: #0f172a;
  font-weight: 500;
}

.export-foot {
  flex: none;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 13px 24px;
  border-top: 1px solid #eef1f5;
}

.export-nom {
  flex: 1 1 auto;
  min-width: 0;
}
.export-nom__label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  display: block;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  color: #94a3b8;
}
.export-nom__champ {
  display: flex;
  align-items: center;
  gap: 8px;
}
.export-nom__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid #dfe4ea;
  border-radius: 9px;
  font-size: 13px;
}
.export-nom__input:focus {
  outline: none;
  border-color: #0a84ff;
}
.export-nom__ext {
  font-size: 13px;
  color: #94a3b8;
}

.export-foot__actions {
  display: flex;
  gap: 10px;
  flex: none;
}

@keyframes export-spin {
  to {
    transform: rotate(1turn);
  }
}
.export-bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.export-bouton__label, .export-bouton__loader {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.export-bouton__loader {
  display: none;
}
.export-bouton.is-exporting:disabled {
  opacity: 1;
}
.export-bouton.is-exporting:disabled .export-bouton__label {
  display: none;
}
.export-bouton.is-exporting:disabled .export-bouton__loader {
  display: inline-flex;
}
.export-bouton.is-loading {
  opacity: 0.55;
  cursor: not-allowed;
}

.export-spinner {
  width: 15px;
  height: 15px;
  flex: none;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #f0fbfd;
  animation: export-spin 0.7s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .export-spinner {
    animation: none;
  }
}

/*# sourceMappingURL=app-7d1043473d.output.css.map */
