html:not(.interventions-theme-dark) .interventions-mcv-app {

  background: #f1f5f9;

}



.interventions-main {

  min-height: calc(100vh - 4rem);

}



.interventions-toolbar {

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  justify-content: space-between;

  gap: 0.5rem 1rem;

  margin-bottom: 0.75rem;

}



.interventions-toolbar__filters {

  display: flex;

  flex: 1 1 auto;

  align-items: stretch;

  min-width: 0;

}



.interventions-view-tabs {

  display: flex;

  flex-wrap: nowrap;

  align-items: stretch;

  gap: 0.15rem;

  width: 100%;

  min-width: 0;

  padding: 0.2rem;

  border: 1px solid #e2e8f0;

  border-radius: 0.75rem;

  background: #f8fafc;

}



.interventions-view-tabs .interventions-filter-btn {

  flex: 1 1 0;

  min-width: 0;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.35rem;

  border: none;

  background: transparent;

  border-radius: 0.5rem;

  box-shadow: none;

  white-space: nowrap;

  color: #3730a3;

}



.interventions-tab-badge {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-width: 1.2rem;

  height: 1.2rem;

  padding: 0 0.32rem;

  border-radius: 9999px;

  background: #7c3aed;

  color: #fff;

  font-family: "Poppins", system-ui, sans-serif;

  font-size: 0.62rem;

  font-weight: 700;

  line-height: 1;

  font-variant-numeric: tabular-nums;

}



.interventions-tab-badge[hidden] {

  display: none !important;

}



.interventions-view-tabs .interventions-filter-btn.is-active .interventions-tab-badge {

  background: #fff;

  color: #4f46e5;

}



.interventions-view-tabs .interventions-filter-btn:hover {

  background: rgb(255 255 255 / 0.55);

}



.interventions-view-tabs .interventions-filter-btn.is-active {

  border: none;

  background: #4f46e5;

  color: #fff;

  box-shadow: 0 1px 3px rgb(79 70 229 / 0.35);

}



.interventions-view-tabs .interventions-filter-btn.is-active:hover {

  background: #4338ca;

}



.interventions-filter-btn {

  border: 1px solid #c7d2fe;

  border-radius: 0.625rem;

  background: #eef2ff;

  padding: 0.5rem 0.9rem;

  font-family: "Poppins", system-ui, sans-serif;

  font-size: 0.8125rem;

  font-weight: 700;

  color: #3730a3;

  cursor: pointer;

}



.interventions-filter-btn:hover {

  background: #e0e7ff;

}



.interventions-filter-btn.is-active {

  border-color: #6366f1;

  background: #4f46e5;

  color: #fff;

}



.interventions-view-tabs .interventions-filter-btn--back {

  flex: 0 0 auto;

  border: none;

  border-right: 1px solid #e2e8f0;

  border-radius: 0.5rem;

  margin-right: 0.1rem;

  padding-right: 0.7rem;

  background: #fff;

  color: #334155;

}



.interventions-view-tabs #btnBackEnseignes[hidden] {

  display: none !important;

}



.interventions-view-tabs .interventions-filter-btn--back:hover {

  background: #f8fafc;

}



.interventions-filter-btn--back {

  flex: 0 0 auto;

  border: none;

  border-right: 1px solid #e2e8f0;

  border-radius: 0.5rem;

  margin-right: 0.1rem;

  padding-right: 0.7rem;

  background: #fff;

  color: #334155;

}



.interventions-filter-btn--back:hover {

  background: #f8fafc;

}



@media (max-width: 420px) {

  .interventions-view-tabs .interventions-filter-btn {

    padding-left: 0.45rem;

    padding-right: 0.45rem;

    font-size: 0.72rem;

  }

  .interventions-filter-btn--back {

    padding-left: 0.5rem;

    padding-right: 0.55rem;

  }

}



.interventions-enseigne-hub {

  display: flex;

  flex-direction: column;

  gap: 0.65rem;

  width: 100%;

  margin-top: 0.25rem;

}



.interventions-enseigne-card {

  display: flex;

  align-items: stretch;

  width: 100%;

  min-height: 5.25rem;

  padding: 0;

  border: 1px solid #e2e8f0;

  border-radius: 0.85rem;

  background: #fff;

  font-family: "Poppins", system-ui, sans-serif;

  text-align: left;

  cursor: pointer;

  overflow: hidden;

  transition:

    border-color 0.2s,

    background 0.2s,

    box-shadow 0.2s,

    transform 0.15s;

}



.interventions-enseigne-card:hover {

  border-color: #c7d2fe;

  background: #fafbff;

  box-shadow: 0 6px 18px rgb(99 102 241 / 0.1);

  transform: translateY(-1px);

}



.interventions-enseigne-card:active {

  transform: translateY(0);

}



.interventions-enseigne-card__brand {

  display: flex;

  flex: 1 1 auto;

  align-items: center;

  gap: 0.75rem;

  min-width: 0;

  padding: 0.65rem 0.85rem;

}



.interventions-enseigne-card__logo-wrap {

  display: flex;

  flex-shrink: 0;

  align-items: center;

  justify-content: center;

  width: 4.75rem;

  height: 4rem;

}



.interventions-enseigne-card__logo {

  display: block;

  width: 100%;

  height: 100%;

  object-fit: contain;

  object-position: left center;

}



.interventions-enseigne-card__name {

  flex: 1 1 auto;

  min-width: 0;

  font-size: 0.92rem;

  font-weight: 700;

  line-height: 1.3;

  color: #334155;

  text-align: left;

}



.interventions-enseigne-card__sep {

  flex-shrink: 0;

  align-self: stretch;

  width: 1px;

  background: #e2e8f0;

}



.interventions-enseigne-card__count {

  display: flex;

  flex-shrink: 0;

  align-items: center;

  justify-content: center;

  min-width: 4.25rem;

  padding: 0 1rem;

  font-size: 1.85rem;

  font-weight: 700;

  line-height: 1;

  color: #4f46e5;

  font-variant-numeric: tabular-nums;

}



.interventions-enseigne-card[data-count-zero="1"] {

  opacity: 0.78;

}



.interventions-enseigne-card[data-count-zero="1"] .interventions-enseigne-card__count {

  color: #94a3b8;

}



.interventions-header__actions {

  display: flex;

  flex-shrink: 0;

  flex-wrap: nowrap;

  align-items: center;

  gap: 0.35rem;

}



.interventions-mcv-app .mcv-app-header__inner {

  flex-wrap: nowrap;

  align-items: center;

  gap: 0.5rem;

}



.interventions-mcv-app .mcv-app-header__brand {

  flex: 1 1 auto;

  flex-wrap: nowrap;

  min-width: 0;

}



.interventions-mcv-app .mcv-app-header__actions {

  flex-wrap: nowrap;

}



@media (max-width: 420px) {

  .interventions-mcv-app .mcv-app-header__inner {

    gap: 0.35rem;

    padding-left: 0.75rem;

    padding-right: 0.75rem;

  }



  .interventions-mcv-app .mcv-app-header__title {

    font-size: 1.125rem;

  }



  .interventions-header-icon-btn {

    width: 2rem;

    height: 2rem;

  }



  .interventions-header-icon-btn svg {

    width: 1.05rem;

    height: 1.05rem;

  }



  .interventions-header__actions {

    gap: 0.25rem;

  }

}



.interventions-header-icon-btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 2.25rem;

  height: 2.25rem;

  border: 1px solid #e2e8f0;

  border-radius: 0.625rem;

  background: #fff;

  color: #475569;

  cursor: pointer;

}



.interventions-header-icon-btn:hover {

  background: #f8fafc;

  color: #1e293b;

}



.interventions-header-icon-btn:disabled {

  opacity: 0.55;

  cursor: not-allowed;

}



.interventions-header-icon-btn svg {

  width: 1.2rem;

  height: 1.2rem;

  flex-shrink: 0;

}



.interventions-theme-icon.hidden {

  display: none;

}



.interventions-toolbar__count {

  margin: 0;

  font-size: 0.75rem;

  font-weight: 600;

  color: #64748b;

}



.interventions-list {

  display: flex;

  flex-direction: column;

  gap: 0.9rem;

  width: 100%;

  max-width: none;

  margin: 0;

}



.interventions-list__empty {

  margin: 1.5rem 0;

  text-align: center;

  font-size: 0.875rem;

  color: #94a3b8;

}



.interventions-card {

  border: 2px solid #e2e8f0;

  border-radius: 0.75rem;

  background: #fff;

  overflow: hidden;

}



.interventions-card--active {

  border-color: #16a34a;

  box-shadow: 0 0 0 1px rgb(22 163 74 / 0.12);

}



.interventions-card__head {

  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 0.5rem;

  padding: 0.55rem 0.6rem 0;

}



.interventions-card__labels {

  display: flex;

  flex-wrap: wrap;

  gap: 0.3rem;

  min-width: 0;

}



.interventions-chip {

  display: inline-flex;

  align-items: center;

  border-radius: 9999px;

  padding: 0.15rem 0.5rem;

  font-size: 0.65rem;

  font-weight: 700;

  letter-spacing: 0.02em;

  text-transform: uppercase;

  line-height: 1.3;

}



.interventions-chip--pending {

  background: #f1f5f9;

  color: #475569;

}



.interventions-chip--progress {

  background: #dbeafe;

  color: #1d4ed8;

}



.interventions-chip--planned {

  background: #ede9fe;

  color: #6d28d9;

}



.interventions-chip--done {

  background: #dcfce7;

  color: #15803d;

}



.interventions-chip--cancel {

  background: #f1f5f9;

  color: #64748b;

}



.interventions-chip--urgent {

  background: #fee2e2;

  color: #b91c1c;

}



.interventions-chip--prioritaire {

  background: #fef3c7;

  color: #b45309;

}



.interventions-card__call {

  flex-shrink: 0;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 2.25rem;

  height: 2.25rem;

  border-radius: 9999px;

  border: 1px solid #c7d2fe;

  background: #eef2ff;

  color: #4338ca;

  text-decoration: none;

}



.interventions-card__call svg {

  width: 1rem;

  height: 1rem;

}



.interventions-card__call--disabled {

  border-color: #e2e8f0;

  background: #f8fafc;

  color: #cbd5e1;

  cursor: not-allowed;

}



.interventions-card__head-actions {

  display: inline-flex;

  align-items: center;

  gap: 0.35rem;

  flex-shrink: 0;

}



.interventions-card__delete {

  flex-shrink: 0;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 2.25rem;

  height: 2.25rem;

  border-radius: 9999px;

  border: 1px solid #fecaca;

  background: #fef2f2;

  color: #dc2626;

  cursor: pointer;

  padding: 0;

}



.interventions-card__delete svg {

  width: 1rem;

  height: 1rem;

}



.interventions-card__delete:hover {

  background: #fee2e2;

  border-color: #fca5a5;

  color: #b91c1c;

}



.interventions-card__body {

  display: block;

  width: 100%;

  padding: 0.35rem 0.65rem 0.7rem;

  border: none;

  background: transparent;

  text-align: left;

  cursor: pointer;

}



.interventions-card__salon {

  margin: 0;

  font-family: "Poppins", system-ui, sans-serif;

  font-size: 1.02rem;

  font-weight: 700;

  line-height: 1.25;

  color: #0f172a;

}



.interventions-card__submitter {

  margin: 0.2rem 0 0;

  font-size: 0.76rem;

  font-weight: 500;

  line-height: 1.35;

  color: #64748b;

}



.interventions-card__sep {

  margin: 0.55rem 0;

  border: none;

  border-top: 1px solid #e2e8f0;

}



.interventions-card__reason {

  margin: 0;

}



.interventions-card__comment {

  margin: 0.3rem 0 0;

  font-size: 0.82rem;

  font-weight: 500;

  line-height: 1.45;

  color: #334155;

}



.interventions-card__comment--muted {

  margin: 0;

  font-size: 0.8rem;

  font-weight: 500;

  color: #94a3b8;

}



.interventions-card__datetime {

  margin: 0;

  font-family: "Poppins", system-ui, sans-serif;

  font-size: 0.92rem;

  font-weight: 700;

  line-height: 1.3;

  color: #1e293b;

}



.interventions-card__datetime-label {

  font-size: 0.68rem;

  font-weight: 600;

  text-transform: uppercase;

  letter-spacing: 0.03em;

  color: #64748b;

}



.interventions-card__actions {

  border-top: 1px solid #e2e8f0;

  padding: 0.55rem 0.6rem 0.65rem;

  background: #f8fafc;

}



.interventions-card__plan-wrap {

  margin-bottom: 0.5rem;

}



.interventions-card__plan-wrap.hidden {

  display: none;

}



.interventions-card__plan-label {

  display: flex;

  flex-direction: column;

  gap: 0.25rem;

  font-size: 0.72rem;

  font-weight: 700;

  color: #64748b;

}



.interventions-card__plan-date {

  width: 100%;

  border: 1px solid #cbd5e1;

  border-radius: 0.5rem;

  padding: 0.45rem 0.55rem;

  font-size: 0.875rem;

  color: #0f172a;

  background: #fff;

}



.interventions-card__action-row {

  display: flex;

  align-items: stretch;

  gap: 0.45rem;

}



.interventions-card__action:not(.interventions-card__action--icon) {

  flex: 1 1 0;

  min-width: 0;

}



.interventions-card__action--icon {

  flex: 0 0 2.65rem;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 2.65rem;

  padding: 0;

  border-color: #e2e8f0;

  background: #f8fafc;

  color: #64748b;

}



.interventions-card__action--icon svg {

  width: 1.15rem;

  height: 1.15rem;

}



.interventions-card__action--icon:hover {

  border-color: #cbd5e1;

  background: #f1f5f9;

  color: #475569;

}



.interventions-card__action {

  border: 1px solid transparent;

  border-radius: 0.55rem;

  padding: 0.55rem 0.5rem;

  font-family: "Poppins", system-ui, sans-serif;

  font-size: 0.78rem;

  font-weight: 700;

  line-height: 1.2;

  cursor: pointer;

}



.interventions-card__action--primary {

  border-color: #4f46e5;

  background: #4f46e5;

  color: #fff;

}



.interventions-card__action--primary:hover {

  background: #4338ca;

}



.interventions-card__action--secondary {

  border-color: #c7d2fe;

  background: #eef2ff;

  color: #3730a3;

}



.interventions-card__action--secondary:hover {

  background: #e0e7ff;

}



.interventions-confirm {

  position: fixed;

  inset: 0;

  z-index: 120;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 1rem;

}



.interventions-confirm[hidden] {

  display: none !important;

}



.interventions-confirm__backdrop {

  position: absolute;

  inset: 0;

  background: rgb(15 23 42 / 0.45);

  backdrop-filter: blur(4px);

}



.interventions-confirm__panel {

  position: relative;

  z-index: 1;

  width: 100%;

  max-width: 22rem;

  padding: 1.75rem 1.5rem 1.5rem;

  border: 1px solid #fecaca;

  border-radius: 1rem;

  background: #fff;

  box-shadow: 0 25px 50px -12px rgb(15 23 42 / 0.28);

}



.interventions-confirm__icon {

  display: flex;

  align-items: center;

  justify-content: center;

  width: 3.5rem;

  height: 3.5rem;

  margin: 0 auto 1rem;

  border-radius: 9999px;

  background: #fef2f2;

  color: #dc2626;

  box-shadow: 0 0 0 2px rgb(254 202 202 / 0.7);

}



.interventions-confirm__icon svg {

  width: 1.75rem;

  height: 1.75rem;

}



.interventions-confirm__title {

  margin: 0;

  font-family: "Poppins", system-ui, sans-serif;

  font-size: 1.05rem;

  font-weight: 700;

  line-height: 1.35;

  text-align: center;

  color: #0f172a;

}



.interventions-confirm__text {

  margin: 0.75rem 0 0;

  font-size: 0.875rem;

  line-height: 1.55;

  text-align: center;

  color: #64748b;

}



.interventions-confirm__text strong {

  font-weight: 700;

  color: #b91c1c;

}



.interventions-confirm__err {

  margin: 0.75rem 0 0;

  font-size: 0.75rem;

  font-weight: 600;

  text-align: center;

  color: #dc2626;

}



.interventions-confirm__err[hidden] {

  display: none !important;

}



.interventions-confirm__actions {

  display: flex;

  flex-direction: column;

  gap: 0.5rem;

  margin-top: 1.25rem;

}



@media (min-width: 480px) {

  .interventions-confirm__actions {

    flex-direction: row;

    justify-content: center;

  }

}



.interventions-confirm__btn {

  border-radius: 0.75rem;

  padding: 0.65rem 1rem;

  font-family: "Poppins", system-ui, sans-serif;

  font-size: 0.8125rem;

  font-weight: 700;

  cursor: pointer;

}



.interventions-confirm__btn--cancel {

  border: 1px solid #e2e8f0;

  background: #fff;

  color: #334155;

}



.interventions-confirm__btn--cancel:hover {

  background: #f8fafc;

}



.interventions-confirm__btn--danger {

  border: 1px solid #dc2626;

  background: #dc2626;

  color: #fff;

  box-shadow: 0 1px 2px rgb(220 38 38 / 0.25);

}



.interventions-confirm__btn--danger:hover {

  background: #b91c1c;

}



.interventions-confirm__btn--danger:disabled {

  opacity: 0.55;

  cursor: not-allowed;

}



.interventions-sheet {

  position: fixed;

  inset: 0;

  z-index: 80;

  display: flex;

  align-items: stretch;

  justify-content: stretch;

}



.interventions-sheet[hidden] {

  display: none !important;

}



.interventions-sheet__backdrop {

  position: absolute;

  inset: 0;

  background: rgb(15 23 42 / 0.45);

  opacity: 0;

  transition: opacity 0.32s ease;

}



.interventions-sheet--open .interventions-sheet__backdrop {

  opacity: 1;

}



.interventions-sheet__panel {

  position: relative;

  z-index: 1;

  display: flex;

  flex-direction: column;

  width: 100%;

  max-width: none;

  height: 100%;

  max-height: none;

  overflow: hidden;

  border-radius: 0;

  background: #fff;

  box-shadow: none;

  transform: translate3d(0, 100%, 0);

  transition: transform 0.36s cubic-bezier(0.32, 0.72, 0, 1);

  will-change: transform;

}



.interventions-sheet--open .interventions-sheet__panel {

  transform: translate3d(0, 0, 0);

}



@media (min-width: 640px) {

  .interventions-sheet {

    padding: 0;

  }



  .interventions-sheet__panel {

    border-radius: 0;

    max-height: none;

  }

}



.interventions-sheet__close {

  position: absolute;

  top: 0.45rem;

  right: 0.45rem;

  z-index: 2;

  display: flex;

  height: 2rem;

  width: 2rem;

  align-items: center;

  justify-content: center;

  border: none;

  border-radius: 0.5rem;

  background: #f1f5f9;

  font-size: 1.25rem;

  line-height: 1;

  color: #475569;

  cursor: pointer;

}



.interventions-sheet__content {

  flex: 1;

  overflow-y: auto;

  padding: 1.1rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));

  max-height: none;

  -webkit-overflow-scrolling: touch;

  opacity: 0;

  transition: opacity 0.28s ease 0.1s;

}



.interventions-sheet--open .interventions-sheet__content {

  opacity: 1;

}



body.interventions-sheet-lock {

  overflow: hidden;

  touch-action: none;

}



@media (prefers-reduced-motion: reduce) {

  .interventions-sheet__backdrop,

  .interventions-sheet__panel,

  .interventions-sheet__content {

    transition: none !important;

  }

}



.interventions-detail__chips {

  display: flex;

  flex-wrap: wrap;

  gap: 0.35rem;

  margin-bottom: 0.5rem;

}



.interventions-detail__title {

  margin: 0 2rem 0.35rem 0;

  font-family: "Poppins", system-ui, sans-serif;

  font-size: 1.05rem;

  font-weight: 700;

  color: #0f172a;

}



.interventions-detail__reason {
  margin: 0.25rem 0 0.85rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
}

.interventions-detail__reason .interventions-detail__block,
.interventions-detail__reason .interventions-detail__block--emphasis {
  margin-top: 0;
}

.interventions-detail__block--emphasis .interventions-detail__value {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  color: #0f172a;
}

.interventions-detail__reason .interventions-detail__block--emphasis + .interventions-detail__block--emphasis {
  margin-top: 0;
}

.interventions-detail__block {

  margin-top: 0.65rem;

  font-size: 0.8125rem;

  line-height: 1.45;

  color: #334155;

}



.interventions-detail__label {

  display: block;

  margin-bottom: 0.15rem;

  font-size: 0.68rem;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.04em;

  color: #64748b;

}



.interventions-detail__call {

  display: inline-flex;

  font-weight: 600;

  color: #4338ca;

  text-decoration: none;

}



.interventions-detail__call--disabled {

  color: #94a3b8;

  font-weight: 500;

}



.interventions-detail__actions {

  display: flex;

  flex-direction: column;

  gap: 0.45rem;

  margin-top: 1rem;

}



.interventions-detail__actions .sondages-btn-primary,

.interventions-detail__actions .sondages-btn-secondary {

  width: 100%;

  padding: 0.6rem 1rem;

  font-size: 0.8125rem;

  border-radius: 0.625rem;

  font-family: "Poppins", system-ui, sans-serif;

  font-weight: 700;

  cursor: pointer;

}



.interventions-detail__actions .sondages-btn-primary {

  border: none;

}



.interventions-detail__field {

  margin-top: 0.75rem;

}



.interventions-detail__field input,

.interventions-detail__field textarea {

  width: 100%;

  margin-top: 0.25rem;

  border: 1px solid #e2e8f0;

  border-radius: 0.5rem;

  padding: 0.45rem 0.55rem;

  font-size: 0.8125rem;

}



.interventions-detail__field textarea {

  min-height: 3.5rem;

  resize: vertical;

}



.interventions-detail__memo-hint {

  margin: 0.2rem 0 0;

  font-size: 0.68rem;

  line-height: 1.35;

  color: #64748b;

}



.interventions-detail__field--memo textarea {

  min-height: 4.25rem;

  background: #f8fafc;

}



.interventions-mcv-app .gestion-status {

  padding: 0.65rem 0.85rem;

  border-radius: 0.75rem;

  font-size: 0.82rem;

  text-align: center;

}



.interventions-mcv-app .gestion-status--info {

  border: 1px solid rgb(199 210 254);

  background: #eef2ff;

  color: #312e81;

}



.interventions-mcv-app .gestion-status--error {

  border: 1px solid rgb(254 202 202);

  background: #fef2f2;

  color: #b91c1c;

}



.sondages-btn-secondary {

  border: 1px solid rgb(199 210 254);

  border-radius: 0.625rem;

  background: #eef2ff;

  padding: 0.55rem 0.9rem;

  font-family: "Poppins", system-ui, sans-serif;

  font-size: 0.8125rem;

  font-weight: 700;

  color: #3730a3;

  cursor: pointer;

}



.sondages-btn-secondary:hover {

  background: #e0e7ff;

}



/* ——— Thème sombre (préférence locale) ——— */

html.interventions-theme-dark {

  color-scheme: dark;

}



html.interventions-theme-dark .interventions-mcv-app.interventions-body--dark,
html.interventions-theme-dark .interventions-mcv-app {

  background: #0f172a;

  color: #e2e8f0;

}



html.interventions-theme-dark .mcv-app-header {

  border-bottom-color: rgb(51 65 85 / 0.9);

  background: rgb(15 23 42 / 0.95);

}



html.interventions-theme-dark .mcv-app-header__icon-ring::after {

  background: #1e293b;

}



html.interventions-theme-dark .interventions-header-icon-btn {

  border-color: #334155;

  background: #1e293b;

  color: #cbd5e1;

}



html.interventions-theme-dark .interventions-header-icon-btn:hover {

  background: #334155;

  color: #f8fafc;

}



html.interventions-theme-dark .interventions-toolbar__count {

  color: #94a3b8;

}



html.interventions-theme-dark .interventions-filter-btn {

  border-color: #4338ca;

  background: rgb(49 46 129 / 0.45);

  color: #c7d2fe;

}



html.interventions-theme-dark .interventions-filter-btn:hover {

  background: rgb(67 56 202 / 0.55);

}



html.interventions-theme-dark .interventions-filter-btn.is-active {

  border-color: #818cf8;

  background: #4f46e5;

  color: #fff;

}



html.interventions-theme-dark .interventions-view-tabs .interventions-filter-btn--back {

  border: none;

  border-right: 1px solid #334155;

  background: #1e293b;

  color: #e2e8f0;

}



html.interventions-theme-dark .interventions-view-tabs .interventions-filter-btn--back:hover {

  background: #334155;

}



html.interventions-theme-dark .interventions-filter-btn--back {

  border: none;

  border-right: 1px solid #334155;

  background: #1e293b;

  color: #e2e8f0;

}



html.interventions-theme-dark .interventions-filter-btn--back:hover {

  background: #334155;

}



html.interventions-theme-dark .interventions-view-tabs {

  border-color: #334155;

  background: #0f172a;

}



html.interventions-theme-dark .interventions-view-tabs .interventions-filter-btn {

  color: #c7d2fe;

}



html.interventions-theme-dark .interventions-view-tabs .interventions-filter-btn:hover {

  background: rgb(67 56 202 / 0.35);

}



html.interventions-theme-dark .interventions-view-tabs .interventions-filter-btn.is-active {

  background: #4f46e5;

  color: #fff;

}



html.interventions-theme-dark .interventions-tab-badge {

  background: #a78bfa;

  color: #1e1b4b;

}



html.interventions-theme-dark .interventions-view-tabs .interventions-filter-btn.is-active .interventions-tab-badge {

  background: #fff;

  color: #4f46e5;

}



html.interventions-theme-dark .interventions-enseigne-card {

  border-color: #334155;

  background: #1e293b;

}



html.interventions-theme-dark .interventions-enseigne-card:hover {

  border-color: #475569;

  background: #243044;

  box-shadow: 0 6px 18px rgb(0 0 0 / 0.28);

}



html.interventions-theme-dark .interventions-enseigne-card__name {

  color: #e2e8f0;

}



html.interventions-theme-dark .interventions-enseigne-card__sep {

  background: #334155;

}



html.interventions-theme-dark .interventions-enseigne-card__count {

  color: #a5b4fc;

}



html.interventions-theme-dark .interventions-enseigne-card[data-count-zero="1"] .interventions-enseigne-card__count {

  color: #64748b;

}



html.interventions-theme-dark .interventions-list__empty {

  color: #64748b;

}



html.interventions-theme-dark .interventions-card {

  border-color: #334155;

  background: #1e293b;

}



html.interventions-theme-dark .interventions-card__body:active {

  background: #334155;

}



html.interventions-theme-dark .interventions-card__salon {

  color: #f1f5f9;

}



html.interventions-theme-dark .interventions-card__submitter,
html.interventions-theme-dark .interventions-card__comment {

  color: #94a3b8;

}



html.interventions-theme-dark .interventions-card__datetime {

  color: #e2e8f0;

}



html.interventions-theme-dark .interventions-card__datetime-label {

  color: #64748b;

}



html.interventions-theme-dark .interventions-card__sep {

  border-top-color: #334155;

}



html.interventions-theme-dark .interventions-chip--pending {

  background: #334155;

  color: #cbd5e1;

}



html.interventions-theme-dark .interventions-chip--progress {

  background: rgb(30 58 138 / 0.55);

  color: #93c5fd;

}



html.interventions-theme-dark .interventions-chip--planned {

  background: rgb(76 29 149 / 0.45);

  color: #c4b5fd;

}



html.interventions-theme-dark .interventions-chip--done {

  background: rgb(20 83 45 / 0.45);

  color: #86efac;

}



html.interventions-theme-dark .interventions-chip--cancel {

  background: #334155;

  color: #94a3b8;

}



html.interventions-theme-dark .interventions-chip--urgent {

  background: rgb(127 29 29 / 0.55);

  color: #fca5a5;

}



html.interventions-theme-dark .interventions-chip--prioritaire {

  background: rgb(120 53 15 / 0.55);

  color: #fcd34d;

}



html.interventions-theme-dark .interventions-card__call {

  border-color: #4338ca;

  background: rgb(49 46 129 / 0.45);

  color: #a5b4fc;

}



html.interventions-theme-dark .interventions-card__call--disabled {

  border-color: #334155;

  background: #0f172a;

  color: #475569;

}



html.interventions-theme-dark .interventions-card__actions {

  border-top-color: #334155;

  background: #0f172a;

}



html.interventions-theme-dark .interventions-card__plan-label {

  color: #94a3b8;

}



html.interventions-theme-dark .interventions-card__plan-date {

  border-color: #334155;

  background: #1e293b;

  color: #e2e8f0;

}



html.interventions-theme-dark .interventions-card--active {

  border-color: #22c55e;

  box-shadow: 0 0 0 1px rgb(34 197 94 / 0.2);

}



html.interventions-theme-dark .interventions-card__action--icon {

  border-color: #475569;

  background: #1e293b;

  color: #94a3b8;

}



html.interventions-theme-dark .interventions-card__action--icon:hover {

  border-color: #64748b;

  background: #334155;

  color: #e2e8f0;

}



html.interventions-theme-dark .interventions-card__action--primary {

  border-color: #6366f1;

  background: #4f46e5;

  color: #fff;

}



html.interventions-theme-dark .interventions-card__action--secondary {

  border-color: #4338ca;

  background: rgb(49 46 129 / 0.45);

  color: #c7d2fe;

}



html.interventions-theme-dark .interventions-sheet__panel {

  background: #1e293b;

}



html.interventions-theme-dark .interventions-sheet__close {

  background: #334155;

  color: #cbd5e1;

}



html.interventions-theme-dark .interventions-detail__title,
html.interventions-theme-dark .interventions-detail__block--emphasis .interventions-detail__value {

  color: #f1f5f9;

}



html.interventions-theme-dark .interventions-detail__reason {

  border-color: #334155;

  background: #0f172a;

}



html.interventions-theme-dark .interventions-detail__block {

  color: #cbd5e1;

}



html.interventions-theme-dark .interventions-detail__label,
html.interventions-theme-dark .interventions-detail__memo-hint {

  color: #94a3b8;

}



html.interventions-theme-dark .interventions-detail__call {

  color: #a5b4fc;

}



html.interventions-theme-dark .interventions-detail__call--disabled {

  color: #64748b;

}



html.interventions-theme-dark .interventions-detail__field input,
html.interventions-theme-dark .interventions-detail__field textarea {

  border-color: #334155;

  background: #0f172a;

  color: #e2e8f0;

}



html.interventions-theme-dark .interventions-detail__field--memo textarea {

  background: #0f172a;

}



html.interventions-theme-dark .interventions-mcv-app .gestion-status--info {

  border-color: rgb(67 56 202 / 0.55);

  background: rgb(30 27 75 / 0.65);

  color: #c7d2fe;

}



html.interventions-theme-dark .interventions-mcv-app .gestion-status--error {

  border-color: rgb(127 29 29 / 0.55);

  background: rgb(69 10 10 / 0.55);

  color: #fca5a5;

}



html.interventions-theme-dark .sondages-btn-secondary {

  border-color: #4338ca;

  background: rgb(49 46 129 / 0.45);

  color: #c7d2fe;

}



html.interventions-theme-dark .sondages-btn-secondary:hover {

  background: rgb(67 56 202 / 0.55);

}



html.interventions-theme-dark .interventions-card__delete {

  border-color: rgb(127 29 29 / 0.55);

  background: rgb(69 10 10 / 0.45);

  color: #fca5a5;

}



html.interventions-theme-dark .interventions-card__delete:hover {

  background: rgb(127 29 29 / 0.55);

  border-color: rgb(248 113 113 / 0.45);

  color: #fecaca;

}



html.interventions-theme-dark .interventions-confirm__panel {

  border-color: rgb(127 29 29 / 0.45);

  background: #1e293b;

}



html.interventions-theme-dark .interventions-confirm__icon {

  background: rgb(69 10 10 / 0.55);

  color: #fca5a5;

  box-shadow: 0 0 0 2px rgb(127 29 29 / 0.45);

}



html.interventions-theme-dark .interventions-confirm__title {

  color: #f1f5f9;

}



html.interventions-theme-dark .interventions-confirm__text {

  color: #94a3b8;

}



html.interventions-theme-dark .interventions-confirm__text strong {

  color: #fca5a5;

}



html.interventions-theme-dark .interventions-confirm__btn--cancel {

  border-color: #334155;

  background: #0f172a;

  color: #e2e8f0;

}



html.interventions-theme-dark .interventions-confirm__btn--cancel:hover {

  background: #334155;

}



.interventions-fab {

  position: fixed;

  right: 1rem;

  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));

  z-index: 70;

  display: flex;

  align-items: center;

  justify-content: center;

  width: 3.5rem;

  height: 3.5rem;

  border: none;

  border-radius: 9999px;

  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);

  color: #fff;

  box-shadow: 0 10px 24px rgb(79 70 229 / 0.35);

  cursor: pointer;

}



.interventions-fab svg {

  width: 1.5rem;

  height: 1.5rem;

}



.interventions-fab:hover {

  filter: brightness(1.05);

}



.interventions-fab:active {

  transform: scale(0.97);

}



.interventions-field-sheet__title {

  margin: 0 2rem 0.35rem 0;

  font-family: Poppins, system-ui, sans-serif;

  font-size: 1.15rem;

  font-weight: 700;

  color: #0f172a;

}



.interventions-field-sheet__lead {

  margin: 0 0 1rem;

  font-size: 0.875rem;

  color: #64748b;

}



.interventions-field-menu {

  display: flex;

  flex-direction: column;

  gap: 0.65rem;

}



.interventions-field-menu__item {

  display: flex;

  align-items: center;

  gap: 0.85rem;

  width: 100%;

  padding: 0.85rem 1rem;

  border: 1px solid #e2e8f0;

  border-radius: 0.85rem;

  background: #fff;

  text-align: left;

  cursor: pointer;

}



.interventions-field-menu__item:not(.interventions-field-menu__item--disabled):hover {

  border-color: #c7d2fe;

  background: #eef2ff;

}



.interventions-field-menu__item--disabled {

  opacity: 0.72;

  cursor: not-allowed;

}



.interventions-field-menu__icon {

  display: flex;

  flex-shrink: 0;

  align-items: center;

  justify-content: center;

  width: 2.5rem;

  height: 2.5rem;

  border-radius: 0.65rem;

  background: #f1f5f9;

  color: #475569;

}



.interventions-field-menu__icon svg {

  width: 1.25rem;

  height: 1.25rem;

}



.interventions-field-menu__text {

  flex: 1;

  min-width: 0;

  display: flex;

  flex-direction: column;

  gap: 0.15rem;

}



.interventions-field-menu__label {

  font-size: 0.95rem;

  font-weight: 600;

  color: #0f172a;

}



.interventions-field-menu__sub {

  font-size: 0.78rem;

  color: #64748b;

}



.interventions-field-menu__badge {

  flex-shrink: 0;

  padding: 0.2rem 0.5rem;

  border-radius: 9999px;

  background: #f1f5f9;

  font-size: 0.68rem;

  font-weight: 700;

  letter-spacing: 0.02em;

  text-transform: uppercase;

  color: #64748b;

}



.interventions-field-wizard__progress {

  margin: 0 0 1rem;

  font-size: 0.78rem;

  font-weight: 600;

  letter-spacing: 0.02em;

  text-transform: uppercase;

  color: #6366f1;

}



.interventions-field-choice-grid {

  display: grid;

  gap: 0.55rem;

}



.interventions-field-choice-grid--2 {

  grid-template-columns: 1fr 1fr;

}



.interventions-field-choice {

  width: 100%;

  padding: 0.85rem 1rem;

  border: 1px solid #e2e8f0;

  border-radius: 0.75rem;

  background: #fff;

  font-size: 0.95rem;

  font-weight: 600;

  color: #0f172a;

  text-align: left;

  cursor: pointer;

}



.interventions-field-choice:hover {

  border-color: #6366f1;

  background: #eef2ff;

}



.interventions-field-store-list {

  display: flex;

  flex-direction: column;

  gap: 0.45rem;

  max-height: min(52vh, 24rem);

  overflow-y: auto;

}



.interventions-field-store-item {

  width: 100%;

  padding: 0.75rem 0.9rem;

  border: 1px solid #e2e8f0;

  border-radius: 0.65rem;

  background: #fff;

  font-size: 0.9rem;

  font-weight: 500;

  color: #0f172a;

  text-align: left;

  cursor: pointer;

}



.interventions-field-store-item:hover {

  border-color: #6366f1;

  background: #eef2ff;

}



.interventions-field-store-list__loading,

.interventions-field-store-list__empty {

  margin: 0;

  font-size: 0.875rem;

  color: #64748b;

}



.interventions-field-form-label {

  display: block;

  margin-bottom: 0.85rem;

  font-size: 0.82rem;

  font-weight: 600;

  color: #475569;

}



.interventions-field-form-label span {

  display: block;

  margin-bottom: 0.35rem;

}



.interventions-field-form-optional {

  font-weight: 500;

  color: #94a3b8;

}



.interventions-field-form-input,

.interventions-field-form-textarea {

  width: 100%;

  padding: 0.65rem 0.75rem;

  border: 1px solid #e2e8f0;

  border-radius: 0.65rem;

  font-size: 0.95rem;

  color: #0f172a;

  background: #fff;

}



.interventions-field-recap {

  margin: 0.5rem 0 1rem;

  padding: 0.75rem 0.85rem;

  border-radius: 0.65rem;

  background: #f8fafc;

  font-size: 0.85rem;

  color: #475569;

}



.interventions-field-recap p {

  margin: 0.15rem 0;

}



.interventions-field-wizard__footer {

  display: flex;

  flex-direction: column;

  gap: 0.55rem;

  margin-top: 1.25rem;

  padding-top: 0.25rem;

}



.interventions-field-sheet .interventions-btn-primary {

  display: block;

  width: 100%;

  padding: 0.75rem 1rem;

  border: none;

  border-radius: 0.75rem;

  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);

  color: #fff;

  font-family: "Poppins", system-ui, sans-serif;

  font-size: 0.9375rem;

  font-weight: 700;

  line-height: 1.25;

  letter-spacing: 0.01em;

  box-shadow: 0 4px 14px rgb(99 102 241 / 0.32);

  cursor: pointer;

  transition: filter 0.15s ease, transform 0.15s ease;

}



.interventions-field-sheet .interventions-btn-primary:hover:not(:disabled) {

  filter: brightness(1.05);

}



.interventions-field-sheet .interventions-btn-primary:active:not(:disabled) {

  transform: scale(0.99);

}



.interventions-field-sheet .interventions-btn-primary:disabled {

  opacity: 0.65;

  cursor: not-allowed;

}



.interventions-field-sheet .sondages-btn-secondary {

  width: 100%;

  padding: 0.6rem 1rem;

  font-size: 0.8125rem;

  border-radius: 0.625rem;

  font-family: "Poppins", system-ui, sans-serif;

  font-weight: 600;

  cursor: pointer;

}



.interventions-field-wizard__nav {

  margin-top: 1rem;

}



.interventions-field-wizard__err {

  margin: 0.75rem 0 0;

  font-size: 0.85rem;

  color: #dc2626;

}



.interventions-field-wizard__err[hidden] {

  display: none;

}



.interventions-field-photo-grid {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 0.65rem;

  margin: 0.75rem 0 1rem;

}



.interventions-field-photo-card {

  position: relative;

  margin: 0;

  border-radius: 0.65rem;

  overflow: hidden;

  aspect-ratio: 3 / 4;

  background: #f1f5f9;

}



.interventions-field-photo-card__img {

  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;

}



.interventions-field-photo-card__remove {

  position: absolute;

  top: 0.35rem;

  right: 0.35rem;

  width: 1.75rem;

  height: 1.75rem;

  border: none;

  border-radius: 999px;

  background: rgb(15 23 42 / 0.72);

  color: #fff;

  font-size: 1.1rem;

  line-height: 1;

  cursor: pointer;

}



.interventions-field-scan-input {

  position: absolute;

  width: 1px;

  height: 1px;

  opacity: 0;

  pointer-events: none;

}



.interventions-field-photo-limit {

  margin: 0.5rem 0 0;

  font-size: 0.85rem;

  color: #64748b;

  text-align: center;

}



.interventions-field-history__action--facture {

  background: #ede9fe;

  color: #6d28d9;

}



.interventions-field-history__equipment--facture {

  color: #6d28d9;

}

  margin: 0 0 0.75rem;

  font-size: 0.875rem;

  color: #64748b;

}



.interventions-field-history.interventions-sheet__content {

  display: flex;

  flex-direction: column;

  min-height: 0;

}



.interventions-field-history__filters-acc {

  flex-shrink: 0;

  margin-bottom: 0.65rem;

  border: 1px solid #e2e8f0;

  border-radius: 0.65rem;

  background: #f8fafc;

  overflow: hidden;

}



.interventions-field-history__filters-acc[hidden],
.interventions-field-history__filters-acc.hidden {

  display: none !important;

}



.interventions-field-history__filters-toggle {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 0.5rem;

  padding: 0.55rem 0.75rem;

  font-family: "Poppins", system-ui, sans-serif;

  font-size: 0.8125rem;

  font-weight: 600;

  color: #475569;

  cursor: pointer;

  list-style: none;

  user-select: none;

}



.interventions-field-history__filters-toggle::-webkit-details-marker {

  display: none;

}



.interventions-field-history__filters-toggle::after {

  content: "";

  flex-shrink: 0;

  width: 0.45rem;

  height: 0.45rem;

  border-right: 2px solid #94a3b8;

  border-bottom: 2px solid #94a3b8;

  transform: rotate(45deg);

  transition: transform 0.2s ease;

}



.interventions-field-history__filters-acc[open] .interventions-field-history__filters-toggle::after {

  transform: rotate(-135deg);

  margin-top: 0.2rem;

}



.interventions-field-history__filters-acc[open] .interventions-field-history__filters-toggle {

  border-bottom: 1px solid #e2e8f0;

}



.interventions-field-history__filters {

  display: grid;

  grid-template-columns: 1fr;

  gap: 0.55rem;

  padding: 0.65rem 0.75rem 0.75rem;

}



@media (min-width: 480px) {

  .interventions-field-history__filters {

    grid-template-columns: repeat(3, minmax(0, 1fr));

  }

}



.interventions-field-history__filter {

  display: flex;

  flex-direction: column;

  gap: 0.25rem;

  min-width: 0;

}



.interventions-field-history__filter-label {

  font-size: 0.68rem;

  font-weight: 600;

  letter-spacing: 0.04em;

  text-transform: uppercase;

  color: #64748b;

}



.interventions-field-history__filter-select {

  width: 100%;

  padding: 0.5rem 0.6rem;

  border: 1px solid #e2e8f0;

  border-radius: 0.55rem;

  background: #fff;

  font-size: 0.8125rem;

  color: #0f172a;

}



.interventions-field-history__list {

  flex: 1;

  min-height: 0;

  overflow-y: auto;

  display: flex;

  flex-direction: column;

  gap: 0.55rem;

  padding-bottom: 0.5rem;

  -webkit-overflow-scrolling: touch;

}



.interventions-field-history__empty {

  margin: 0;

  font-size: 0.875rem;

  color: #64748b;

  font-style: italic;

}



.interventions-field-history__item {

  padding: 0.7rem 0.8rem;

  border: 1px solid #e2e8f0;

  border-radius: 0.65rem;

  background: #f8fafc;

}



.interventions-field-history__item-head {

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  justify-content: space-between;

  gap: 0.35rem 0.75rem;

  margin-bottom: 0.35rem;

}



.interventions-field-history__title-row {

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 0.4rem 0.55rem;

  min-width: 0;

}



.interventions-field-history__equipment {

  font-family: "Poppins", system-ui, sans-serif;

  font-size: 0.95rem;

  font-weight: 700;

  line-height: 1.25;

  color: #6366f1;

}



.interventions-field-history__action {

  display: inline-flex;

  align-items: center;

  padding: 0.15rem 0.5rem;

  border-radius: 9999px;

  background: #eef2ff;

  font-size: 0.72rem;

  font-weight: 600;

  letter-spacing: 0.02em;

  color: #4338ca;

}



.interventions-field-history__action--entretien {

  background: #ccfbf1;

  color: #0f766e;

}



.interventions-field-history__action--changement {

  background: #ffedd5;

  color: #c2410c;

}



.interventions-field-history__kind {

  font-size: 0.72rem;

  font-weight: 700;

  letter-spacing: 0.04em;

  text-transform: uppercase;

  color: #6366f1;

}



.interventions-field-history__summary {

  margin: 0;

  font-size: 0.9rem;

  font-weight: 600;

  color: #0f172a;

}



.interventions-field-history__meta,

.interventions-field-history__date {

  margin: 0.15rem 0 0;

  font-size: 0.78rem;

  color: #64748b;

}



.interventions-field-history__date {

  margin: 0;

  flex-shrink: 0;

}



html.interventions-theme-dark .interventions-fab {

  box-shadow: 0 10px 28px rgb(0 0 0 / 0.45);

}



html.interventions-theme-dark .interventions-field-sheet__title {

  color: #f1f5f9;

}



html.interventions-theme-dark .interventions-field-sheet__lead,

html.interventions-theme-dark .interventions-field-history__hint,

html.interventions-theme-dark .interventions-field-coords__hint,

html.interventions-theme-dark .interventions-field-history__empty,

html.interventions-theme-dark .interventions-field-coords__empty,

html.interventions-theme-dark .interventions-field-store-list__loading,

html.interventions-theme-dark .interventions-field-store-list__empty {

  color: #94a3b8;

}



html.interventions-theme-dark .interventions-field-menu__label,

html.interventions-theme-dark .interventions-field-choice,

html.interventions-theme-dark .interventions-field-store-item {

  color: #f1f5f9;

}



html.interventions-theme-dark .interventions-field-menu__sub,

html.interventions-theme-dark .interventions-field-form-optional,

html.interventions-theme-dark .interventions-field-recap,

html.interventions-theme-dark .interventions-field-history__meta,

html.interventions-theme-dark .interventions-field-history__date {

  color: #94a3b8;

}



html.interventions-theme-dark .interventions-field-recap strong {

  color: #e2e8f0;

}



html.interventions-theme-dark .interventions-field-form-label {

  color: #cbd5e1;

}



html.interventions-theme-dark .interventions-field-menu__item,

html.interventions-theme-dark .interventions-field-choice,

html.interventions-theme-dark .interventions-field-store-item,

html.interventions-theme-dark .interventions-field-form-input,

html.interventions-theme-dark .interventions-field-form-textarea {

  border-color: #334155;

  background: #0f172a;

  color: #e2e8f0;

}



html.interventions-theme-dark .interventions-field-form-input,

html.interventions-theme-dark .interventions-field-form-textarea {

  color-scheme: dark;

}



html.interventions-theme-dark .interventions-field-menu__item--disabled {

  background: #0f172a;

  opacity: 0.55;

}



html.interventions-theme-dark .interventions-field-menu__item:not(.interventions-field-menu__item--disabled):hover,

html.interventions-theme-dark .interventions-field-choice:hover,

html.interventions-theme-dark .interventions-field-store-item:hover {

  border-color: #6366f1;

  background: #1e1b4b;

  color: #f1f5f9;

}



html.interventions-theme-dark .interventions-field-menu__icon {

  background: #334155;

  color: #cbd5e1;

}



html.interventions-theme-dark .interventions-field-menu__badge {

  background: #334155;

  color: #94a3b8;

}



html.interventions-theme-dark .interventions-field-wizard__progress {

  color: #a5b4fc;

}



html.interventions-theme-dark .interventions-field-wizard__err {

  color: #fca5a5;

}



html.interventions-theme-dark .interventions-field-recap,

html.interventions-theme-dark .interventions-field-history__item {

  background: #0f172a;

  border: 1px solid #334155;

}



html.interventions-theme-dark .interventions-field-coords__item {

  border-color: #334155;

  background: #1e293b;

}



html.interventions-theme-dark .interventions-field-coords__enseigne {

  color: #c7d2fe;

}



html.interventions-theme-dark .interventions-field-coords__salon {

  color: #f1f5f9;

}



html.interventions-theme-dark .interventions-field-coords-block__row dt {

  color: #94a3b8;

}



html.interventions-theme-dark .interventions-field-coords-block__row dd {

  color: #e2e8f0;

}



html.interventions-theme-dark .interventions-field-coords-block__row--primary dd {

  color: #f8fafc;

}



html.interventions-theme-dark .interventions-field-coords-block__siret {

  font-weight: 700;

}



html.interventions-theme-dark .interventions-field-history__equipment {

  color: #a5b4fc;

}



html.interventions-theme-dark .interventions-field-history__action {

  background: rgb(49 46 129 / 0.55);

  color: #c7d2fe;

}



html.interventions-theme-dark .interventions-field-history__action--entretien {

  background: rgb(19 78 74 / 0.55);

  color: #5eead4;

}



html.interventions-theme-dark .interventions-field-history__action--changement {

  background: rgb(124 45 18 / 0.45);

  color: #fdba74;

}



html.interventions-theme-dark .interventions-field-history__action--facture {

  background: rgb(76 29 149 / 0.45);

  color: #c4b5fd;

}



html.interventions-theme-dark .interventions-field-photo-card {

  background: #1e293b;

}



html.interventions-theme-dark .interventions-field-photo-limit {

  color: #94a3b8;

}



html.interventions-theme-dark .interventions-field-scan-btn {

  border-color: #475569;

  background: #1e293b;

  color: #e2e8f0;

}



html.interventions-theme-dark .interventions-field-scan-btn:hover {

  border-color: #64748b;

  background: #334155;

  color: #f8fafc;

}



html.interventions-theme-dark .interventions-field-wizard__footer--scan-next {

  border-top-color: #334155;

}



.interventions-field-scan-actions {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 0.55rem;

  margin: 0.75rem 0 0.35rem;

}



.interventions-field-scan-btn {

  display: flex;

  align-items: center;

  justify-content: center;

  min-height: 2.75rem;

  padding: 0.65rem 0.5rem;

  border: 1.5px solid #cbd5e1;

  border-radius: 0.75rem;

  background: #f8fafc;

  color: #334155;

  font-family: "Poppins", system-ui, sans-serif;

  font-size: 0.8125rem;

  font-weight: 600;

  line-height: 1.25;

  text-align: center;

  cursor: pointer;

  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;

}



.interventions-field-scan-btn:hover {

  border-color: #94a3b8;

  background: #f1f5f9;

  color: #0f172a;

}



.interventions-field-scan-btn:active {

  background: #e2e8f0;

}



.interventions-field-wizard__footer--scan-next {

  margin-top: 1.25rem;

  padding-top: 1rem;

  border-top: 1px solid #e2e8f0;

}



.interventions-field-scan-pages {

  margin: 0 0 0.65rem;

  font-size: 0.875rem;

  font-weight: 600;

  color: #4f46e5;

}



/* ——— Facture : flux chargement & succès ——— */

.interventions-field-flow-wrap {

  min-height: min(68vh, 26rem);

  display: flex;

  align-items: center;

  justify-content: center;

}



.interventions-field-flow {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  width: 100%;

  padding: 1.5rem 1.25rem 2rem;

  text-align: center;

  animation: interventions-flow-enter 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;

}



@keyframes interventions-flow-enter {

  from {

    opacity: 0;

    transform: translateY(10px) scale(0.98);

  }

  to {

    opacity: 1;

    transform: translateY(0) scale(1);

  }

}



.interventions-field-flow__stage {

  position: relative;

  width: 5.75rem;

  height: 5.75rem;

  margin: 0 auto 1.35rem;

}



.interventions-field-flow__rings {

  position: absolute;

  inset: 0;

  pointer-events: none;

}



.interventions-field-flow__rings span {

  position: absolute;

  inset: 0;

  border: 2px solid transparent;

  border-top-color: #6366f1;

  border-right-color: rgb(99 102 241 / 0.35);

  border-radius: 999px;

  animation: interventions-flow-spin 1.15s cubic-bezier(0.55, 0.1, 0.35, 0.95) infinite;

}



.interventions-field-flow__rings span:nth-child(2) {

  inset: 0.5rem;

  border-top-color: #818cf8;

  border-right-color: rgb(129 140 248 / 0.3);

  animation-duration: 1.55s;

  animation-direction: reverse;

}



.interventions-field-flow__rings span:nth-child(3) {

  inset: 1rem;

  border-top-color: #a5b4fc;

  animation-duration: 2.1s;

}



@keyframes interventions-flow-spin {

  to {

    transform: rotate(360deg);

  }

}



.interventions-field-flow__icon {

  position: absolute;

  inset: 1.35rem;

  display: flex;

  align-items: center;

  justify-content: center;

  color: #4f46e5;

  background: linear-gradient(145deg, #eef2ff 0%, #e0e7ff 100%);

  border-radius: 999px;

  box-shadow: 0 8px 24px rgb(79 70 229 / 0.18);

  animation: interventions-flow-icon-pulse 2s ease-in-out infinite;

}



@keyframes interventions-flow-icon-pulse {

  0%,

  100% {

    transform: scale(1);

    box-shadow: 0 8px 24px rgb(79 70 229 / 0.18);

  }

  50% {

    transform: scale(1.04);

    box-shadow: 0 10px 28px rgb(79 70 229 / 0.26);

  }

}



.interventions-field-flow__svg {

  width: 1.65rem;

  height: 1.65rem;

}



.interventions-field-flow__title {

  margin: 0 0 0.35rem;

  font-size: 1.0625rem;

  font-weight: 650;

  letter-spacing: -0.01em;

  color: #1e293b;

}



.interventions-field-flow__subtitle {

  margin: 0 0 1.15rem;

  max-width: 18rem;

  font-size: 0.875rem;

  line-height: 1.45;

  color: #64748b;

}



.interventions-field-flow__subtitle--muted {

  margin-bottom: 1.35rem;

}



.interventions-field-flow__steps {

  list-style: none;

  margin: 0;

  padding: 0;

  width: min(100%, 16.5rem);

  display: flex;

  flex-direction: column;

  gap: 0.55rem;

  text-align: left;

}



.interventions-field-flow__step {

  display: flex;

  align-items: center;

  gap: 0.65rem;

  padding: 0.55rem 0.75rem;

  border-radius: 0.65rem;

  background: #f8fafc;

  border: 1px solid #e2e8f0;

  transition: background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;

}



.interventions-field-flow__step--pending {

  opacity: 0.55;

}



.interventions-field-flow__step--active {

  background: #eef2ff;

  border-color: #c7d2fe;

  box-shadow: 0 4px 14px rgb(79 70 229 / 0.1);

}



.interventions-field-flow__step--done {

  background: #f0fdf4;

  border-color: #bbf7d0;

}



.interventions-field-flow__step-indicator {

  flex-shrink: 0;

  width: 1.125rem;

  height: 1.125rem;

  border-radius: 999px;

  border: 2px solid #cbd5e1;

  background: #fff;

  position: relative;

}



.interventions-field-flow__step--active .interventions-field-flow__step-indicator {

  border-color: #6366f1;

  background: #6366f1;

  box-shadow: 0 0 0 4px rgb(99 102 241 / 0.2);

  animation: interventions-flow-step-pulse 1.4s ease-in-out infinite;

}



@keyframes interventions-flow-step-pulse {

  0%,

  100% {

    box-shadow: 0 0 0 4px rgb(99 102 241 / 0.2);

  }

  50% {

    box-shadow: 0 0 0 7px rgb(99 102 241 / 0.08);

  }

}



.interventions-field-flow__step--done .interventions-field-flow__step-indicator {

  border-color: #22c55e;

  background: #22c55e;

}



.interventions-field-flow__step--done .interventions-field-flow__step-indicator::after {

  content: "";

  position: absolute;

  left: 0.2rem;

  top: 0.05rem;

  width: 0.35rem;

  height: 0.6rem;

  border: solid #fff;

  border-width: 0 2px 2px 0;

  transform: rotate(45deg);

}



.interventions-field-flow__step-label {

  font-size: 0.875rem;

  font-weight: 500;

  color: #334155;

}



.interventions-field-flow__step--active .interventions-field-flow__step-label {

  color: #3730a3;

}



.interventions-field-flow__step--done .interventions-field-flow__step-label {

  color: #166534;

}



/* Succès */

.interventions-field-flow--success .interventions-field-flow__stage {

  width: 6.5rem;

  height: 6.5rem;

  margin-bottom: 1.5rem;

}



.interventions-field-flow__stage--success {

  display: flex;

  align-items: center;

  justify-content: center;

}



.interventions-field-flow__check {

  width: 5.5rem;

  height: 5.5rem;

  display: block;

  animation: interventions-flow-success-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both;

}



@keyframes interventions-flow-success-pop {

  from {

    opacity: 0;

    transform: scale(0.5);

  }

  to {

    opacity: 1;

    transform: scale(1);

  }

}



.interventions-field-flow__check-circle {

  stroke: #22c55e;

  stroke-width: 2;

  stroke-dasharray: 166;

  stroke-dashoffset: 166;

  animation: interventions-flow-check-circle 0.55s cubic-bezier(0.65, 0, 0.45, 1) 0.15s forwards;

}



.interventions-field-flow__check-mark {

  stroke: #22c55e;

  stroke-width: 3;

  stroke-linecap: round;

  stroke-linejoin: round;

  stroke-dasharray: 48;

  stroke-dashoffset: 48;

  animation: interventions-flow-check-mark 0.35s cubic-bezier(0.65, 0, 0.45, 1) 0.62s forwards;

}



@keyframes interventions-flow-check-circle {

  to {

    stroke-dashoffset: 0;

  }

}



@keyframes interventions-flow-check-mark {

  to {

    stroke-dashoffset: 0;

  }

}



.interventions-field-flow__burst {

  position: absolute;

  inset: -0.25rem;

  border-radius: 999px;

  background: radial-gradient(circle, rgb(34 197 94 / 0.22) 0%, transparent 68%);

  animation: interventions-flow-burst 0.9s ease-out 0.45s both;

  pointer-events: none;

}



@keyframes interventions-flow-burst {

  from {

    opacity: 0;

    transform: scale(0.6);

  }

  40% {

    opacity: 1;

  }

  to {

    opacity: 0;

    transform: scale(1.35);

  }

}



.interventions-field-flow__depart {

  position: absolute;

  right: -0.15rem;

  top: 0.35rem;

  width: 1.35rem;

  height: 1.35rem;

  color: #6366f1;

  opacity: 0;

  animation: interventions-flow-depart 1.35s ease-in 0.85s forwards;

  pointer-events: none;

}



.interventions-field-flow__depart svg {

  width: 100%;

  height: 100%;

  filter: drop-shadow(0 2px 6px rgb(79 70 229 / 0.35));

}



@keyframes interventions-flow-depart {

  0% {

    opacity: 0;

    transform: translate(0, 0) rotate(0deg) scale(0.85);

  }

  12% {

    opacity: 1;

  }

  100% {

    opacity: 0;

    transform: translate(2.75rem, -2.85rem) rotate(12deg) scale(0.65);

  }

}



.interventions-field-flow--success .interventions-field-flow__title {

  font-size: 1.25rem;

  color: #15803d;

  animation: interventions-flow-enter 0.45s ease 0.55s both;

}



.interventions-field-flow--success .interventions-field-flow__subtitle {

  margin-bottom: 0;

  animation: interventions-flow-enter 0.45s ease 0.72s both;

}



.interventions-field-flow--success-warn .interventions-field-flow__title {

  color: #b45309;

}



.interventions-field-flow--success-warn .interventions-field-flow__check-circle,

.interventions-field-flow--success-warn .interventions-field-flow__check-mark {

  stroke: #f59e0b;

}



.interventions-field-flow--success-warn .interventions-field-flow__burst {

  background: radial-gradient(circle, rgb(245 158 11 / 0.2) 0%, transparent 68%);

}



.interventions-sheet__close--hidden {

  opacity: 0;

  pointer-events: none;

}



@media (prefers-reduced-motion: reduce) {

  .interventions-field-flow,

  .interventions-field-flow__rings span,

  .interventions-field-flow__icon,

  .interventions-field-flow__step--active .interventions-field-flow__step-indicator,

  .interventions-field-flow__check,

  .interventions-field-flow__check-circle,

  .interventions-field-flow__check-mark,

  .interventions-field-flow__burst,

  .interventions-field-flow__depart,

  .interventions-field-flow--success .interventions-field-flow__title,

  .interventions-field-flow--success .interventions-field-flow__subtitle {

    animation: none !important;

  }

  .interventions-field-flow__check-circle,

  .interventions-field-flow__check-mark {

    stroke-dashoffset: 0;

  }

  .interventions-field-flow__depart {

    opacity: 0;

  }

}



.interventions-field-scan-crop-host {

  min-height: min(52vh, 24rem);

  margin: 0.25rem 0 0.75rem;

}



.interventions-field-scan-crop {

  position: relative;

  overflow: hidden;

  width: 100%;

  min-height: min(52vh, 24rem);

  border-radius: 0.75rem;

  background: #0f172a;

  touch-action: none;

}



.interventions-field-scan-crop--mobile {

  min-height: min(62vh, 28rem);

}



.interventions-field-scan-crop__img {

  position: absolute;

  pointer-events: none;

  object-fit: contain;

}



.interventions-field-scan-crop__svg {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  pointer-events: none;

}



.interventions-field-scan-crop__handle {

  position: absolute;

  z-index: 2;

  width: 1rem;

  height: 1rem;

  border: 2px solid #4f46e5;

  border-radius: 999px;

  background: #fff;

  box-shadow: 0 1px 4px rgb(15 23 42 / 0.25);

  transform: translate(-50%, -50%);

  touch-action: none;

}



.interventions-field-scan-crop__handle--lg {

  width: 1.75rem;

  height: 1.75rem;

}



.interventions-field-scan-crop-footer {

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 0.45rem;

  margin-top: 0.75rem;

}



.interventions-field-scan-crop-footer .interventions-btn-primary,

.interventions-field-scan-crop-footer .sondages-btn-secondary {

  width: 100%;

  padding: 0.65rem 0.35rem;

  font-size: 0.8125rem;

}



.interventions-field-photo-grid--thumbs {

  margin-bottom: 0.75rem;

}



.interventions-field-photo-card--thumb {

  aspect-ratio: 3 / 4;

}



.interventions-field-coords__hint {

  margin: 0 0 0.75rem;

  font-size: 0.875rem;

  color: #64748b;

}



.interventions-field-coords__list {

  display: flex;

  flex-direction: column;

  gap: 0.85rem;

  margin-top: 0.5rem;

}



.interventions-field-coords__empty {

  margin: 1rem 0;

  text-align: center;

  font-size: 0.9rem;

  color: #64748b;

}



.interventions-field-coords__item {

  padding: 0.95rem 1rem;

  border: 1px solid #e2e8f0;

  border-radius: 0.85rem;

  background: #fff;

  box-shadow: 0 1px 3px rgb(15 23 42 / 0.04);

}



.interventions-field-coords__item-head {

  margin-bottom: 0.65rem;

}



.interventions-field-coords__enseigne {

  display: inline-block;

  margin-bottom: 0.25rem;

  font-size: 0.75rem;

  font-weight: 700;

  letter-spacing: 0.04em;

  text-transform: uppercase;

  color: #6366f1;

}



.interventions-field-coords__salon {

  margin: 0;

  font-size: 1.05rem;

  font-weight: 700;

  line-height: 1.3;

  color: #0f172a;

}



.interventions-field-coords-block {

  margin: 0;

  display: grid;

  gap: 0.55rem;

}



.interventions-field-coords-block__row {

  display: grid;

  grid-template-columns: minmax(5.5rem, 34%) 1fr;

  gap: 0.5rem 0.75rem;

  align-items: start;

}



.interventions-field-coords-block__row dt {

  margin: 0;

  font-size: 0.75rem;

  font-weight: 600;

  text-transform: uppercase;

  letter-spacing: 0.03em;

  color: #64748b;

}



.interventions-field-coords-block__row dd {

  margin: 0;

  font-size: 0.9375rem;

  line-height: 1.45;

  color: #1e293b;

  word-break: break-word;

}



.interventions-field-coords-block__row--primary dd {

  font-size: 1rem;

  font-weight: 700;

  color: #0f172a;

}



.interventions-field-coords-block__siret {

  font-weight: 700;

}



.interventions-field-coords-block--empty dd {

  color: #94a3b8;

  font-style: italic;

}



html.interventions-theme-dark .interventions-field-history__filter-label {

  color: #94a3b8;

}



html.interventions-theme-dark .interventions-field-history__filter-select {

  border-color: #334155;

  background: #0f172a;

  color: #e2e8f0;

  color-scheme: dark;

}



html.interventions-theme-dark .interventions-field-history__filters-acc {

  border-color: #334155;

  background: #0f172a;

}



html.interventions-theme-dark .interventions-field-history__filters-toggle {

  color: #cbd5e1;

}



html.interventions-theme-dark .interventions-field-history__filters-acc[open] .interventions-field-history__filters-toggle {

  border-bottom-color: #334155;

}



html.interventions-theme-dark .interventions-field-history__filters-toggle::after {

  border-color: #64748b;

}



html.interventions-theme-dark .interventions-field-history__summary {

  color: #f1f5f9;

}



html.interventions-theme-dark .interventions-field-history__kind {

  color: #a5b4fc;

}



html.interventions-theme-dark .interventions-field-sheet .interventions-btn-primary {

  box-shadow: 0 4px 16px rgb(0 0 0 / 0.35);

}



html.interventions-theme-dark .interventions-field-sheet .sondages-btn-secondary {

  border-color: #4338ca;

  background: rgb(49 46 129 / 0.45);

  color: #c7d2fe;

}



html.interventions-theme-dark .interventions-field-sheet .sondages-btn-secondary:hover {

  background: rgb(67 56 202 / 0.55);

}



html.interventions-theme-dark .interventions-field-flow__title {

  color: #f1f5f9;

}



html.interventions-theme-dark .interventions-field-flow__subtitle {

  color: #94a3b8;

}



html.interventions-theme-dark .interventions-field-flow__icon {

  color: #c7d2fe;

  background: linear-gradient(145deg, rgb(49 46 129 / 0.85) 0%, rgb(67 56 202 / 0.55) 100%);

  box-shadow: 0 8px 24px rgb(0 0 0 / 0.35);

}



html.interventions-theme-dark .interventions-field-flow__step {

  background: rgb(15 23 42 / 0.65);

  border-color: #334155;

}



html.interventions-theme-dark .interventions-field-flow__step--active {

  background: rgb(49 46 129 / 0.45);

  border-color: #4338ca;

}



html.interventions-theme-dark .interventions-field-flow__step--done {

  background: rgb(20 83 45 / 0.25);

  border-color: #166534;

}



html.interventions-theme-dark .interventions-field-flow__step-label {

  color: #cbd5e1;

}



html.interventions-theme-dark .interventions-field-flow__step--active .interventions-field-flow__step-label {

  color: #e0e7ff;

}



html.interventions-theme-dark .interventions-field-flow__step--done .interventions-field-flow__step-label {

  color: #86efac;

}



html.interventions-theme-dark .interventions-field-flow--success .interventions-field-flow__title {

  color: #86efac;

}



html.interventions-theme-dark .interventions-field-flow--success-warn .interventions-field-flow__title {

  color: #fcd34d;

}

