/* Module listes : CSS extrait d'argon-app.css (scripts/extract_module_css.py). Feuille du module : editer ici, avec les variables de static/css/app/tokens.css. */
.visit-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.visit-introduction-panel {
  background: #fff;
  border: 1px solid #e9edf5;
  border-radius: 10px;
  box-shadow: none;
}

.visit-introduction-body {
  padding: 1.25rem;
}

.visit-introduction-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #eef2f7;
}

.visit-introduction-title {
  margin: 0;
  color: var(--mv-text-heading);
  font-size: 1rem;
  font-weight: 700;
}

.visit-introduction-inner {
  padding-top: 1rem;
}

.visit-audience-control {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 30px;
  padding: 0.15rem 0.4rem;
  color: var(--mv-text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.visit-audience-control:hover,
.visit-audience-control:focus-within {
  color: var(--mv-text-heading);
  background: var(--mv-gray-50);
  border-color: #e9eef6;
}

.visit-audience-icon {
  flex: 0 0 auto;
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.75;
}

.visit-audience-label {
  margin: 0;
  color: currentColor;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  opacity: 0.78;
}

.visit-audience-select {
  width: auto;
  min-width: 6.8rem;
  max-width: 9.5rem;
  padding: 0.1rem 1.15rem 0.1rem 0.05rem;
  color: var(--mv-text-heading);
  background-color: transparent;
  border: 0;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
  outline: 0;
  text-overflow: ellipsis;
}

.visit-audience-control.is-saving {
  opacity: 0.65;
}

.visit-audience-control.is-saved {
  color: #1f8f55;
  background: #f6fffa;
  border-color: #d8f3e4;
}

.visit-audience-control.is-error {
  color: #d7194a;
  background: #fff7f8;
  border-color: #ffdbe4;
}

.visit-supports-modal .modal-body {
  padding: 1.25rem;
}

.visit-supports-content {
  width: 100%;
}

.visit-step-card {
  overflow: hidden;
}

.visit-intro-card .visit-introduction-content {
  margin-top: 1rem;
  border-top: 1px solid #eef2f7;
}

.visit-step-card-main {
  display: grid;
  grid-template-columns: 18px 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  cursor: pointer;
}

.visit-step-card-main--no-image {
  grid-template-columns: 18px minmax(0, 1fr) auto;
}

.visit-step-card-main--no-image .visit-step-content {
  grid-column: 2;
}

.visit-step-card-main--no-image .visit-step-actions {
  grid-column: 3;
}

.visit-intro-card-main {
  grid-template-columns: minmax(0, 1fr) auto;
  cursor: default;
}

.visit-intro-card-main .visit-step-content {
  grid-column: 1;
}

.visit-intro-card-main .visit-step-actions {
  grid-column: 2;
}

.visit-step-drag {
  grid-column: 1;
  color: var(--mv-text-muted);
  line-height: 0;
}

.visit-step-image {
  grid-column: 2;
  width: 70px;
  height: 60px;
  min-width: 70px;
  min-height: 60px;
  object-fit: cover;
  border-radius: 16px;
}

.visit-step-content {
  grid-column: 3;
  min-width: 0;
}

.visit-step-title,
.visit-step-description {
  overflow-wrap: anywhere;
}

.visit-step-description {
  color: var(--mv-text);
  line-height: 1.45;
}

.visit-step-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  grid-column: 4;
}

.visit-step-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 0;
}

.visit-step-action-btn svg {
  width: 21px;
  height: 21px;
}

.visit-add-step-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.05rem;
  color: #2f5cf6;
  background: #eef3ff;
  border: 2px dashed #c8d4ff;
  border-radius: 10px;
  font-size: 0.98rem;
  font-weight: 700;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.visit-add-step-full:hover,
.visit-add-step-full:focus {
  color: #2f5cf6;
  background: #e2ebff;
  border-color: #2f5cf6;
  box-shadow: 0 12px 28px rgba(47, 92, 246, 0.14);
  transform: translateY(-2px);
  outline: 0;
}

.visit-add-step-full svg {
  flex: 0 0 auto;
}

.titre-item .visit-audience-control {
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .visit-step-card .card-body {
    padding: 1rem !important;
  }

  .visit-step-card-main {
    grid-template-columns: 16px 70px minmax(0, 1fr);
    align-items: start;
    gap: 0.75rem 0.625rem;
  }

  .visit-step-card-main--no-image {
    grid-template-columns: 16px minmax(0, 1fr);
  }

  .visit-step-content {
    grid-column: 3;
  }

  .visit-step-card-main--no-image .visit-step-content {
    grid-column: 2;
  }

  .visit-step-title {
    font-size: 1rem;
    line-height: 1.2;
  }

  .visit-step-description {
    display: -webkit-box;
    max-height: 4.35em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .visit-step-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-top: 0.25rem;
  }

  .visit-step-action-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .visit-intro-card-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .visit-intro-card-main .visit-step-actions {
    grid-column: 1 / -1;
  }

  .titre-item .visit-audience-control {
    width: auto;
    max-width: 100%;
    margin-left: 0 !important;
  }

  .visit-introduction-body {
    padding: 1rem;
  }

  .visit-introduction-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .visit-audience-control {
    max-width: 100%;
  }

  .visit-audience-select {
    min-width: 0;
    max-width: 100%;
  }
}

/* Visites list */
.visit-list-shell .page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.65rem !important;
}

.visit-list-shell .page-header h3 {
  color: #28334d;
  font-size: 1.35rem;
  line-height: 1.2;
}

.visit-list-shell .page-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.visit-list-shell .page-header-actions .btn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 650;
  white-space: nowrap;
  box-shadow: none;
}

.visit-list-shell .page-header-actions .btn-primary {
  box-shadow: 0 6px 14px rgba(47, 92, 246, 0.18);
}

.visit-list-shell .page-header-actions .btn-outline-secondary,
.visit-list-shell .page-header-actions .btn-outline-primary {
  background: #fff;
  border-color: #dce3f5;
}

.visit-list-shell .toolbar-search {
  flex: 1 1 420px;
  min-width: 0;
  position: relative;
}

.visit-list-shell .toolbar-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  color: var(--mv-gray-400);
  pointer-events: none;
  transform: translateY(-50%);
}

.visit-list-shell .toolbar-search input {
  min-height: 42px;
  padding-left: 38px;
  border-color: #e3e7ef;
  border-radius: 0.55rem;
  box-shadow: none;
  font-size: 0.84rem;
}

.visit-toolbar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: nowrap;
}

.visit-filter-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  min-width: 0;
}

.visit-filter-panel .filter-field {
  flex: 0 1 185px;
  min-width: 150px;
}

.visit-filter-panel .filter-field-sm {
  flex-basis: 135px;
  min-width: 120px;
}

.visit-filter-panel .form-select {
  min-height: 38px;
  border-color: #e3e7ef;
  border-radius: 0.55rem;
  color: #475467;
  font-size: 0.8rem;
  box-shadow: none;
}

.parcours-row {
  min-width: 0;
}

.parcours-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: auto;
  border: 1px solid #e6e9ef;
  border-radius: 0.625rem;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.035);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.parcours-card:hover {
  border-color: #d4d9e4;
  box-shadow: 0 10px 22px rgba(31, 41, 55, 0.06);
  transform: translateY(-1px);
}

.parcours-head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0.85rem 0.6rem;
  min-width: 0;
}

/* « Actions groupées » n'apparaît qu'une fois une visite cochée. */
.visit-list-shell [data-visit-bulk-actions]:has(> [data-bulk-toggle]:disabled) {
  display: none;
}

.visit-list-shell .visit-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-right: 0.7rem;
  padding-left: 0.7rem;
}

.visit-list-shell .visit-create-btn {
  align-items: center;
  gap: 0.45rem;
}

.visit-list-shell .visit-create-btn::after {
  margin-left: 0.15rem;
}

/* Adaptations regroupées sous leur visite d'origine */
.parcours-adaptations {
  margin: 0 0.85rem 0.6rem;
  border: 1px solid #e6e9ef;
  border-radius: 0.55rem;
  background: #fafbfc;
  font-size: 0.78rem;
}

.parcours-adaptations summary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.6rem;
  color: #5b6577;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.parcours-adaptations summary::-webkit-details-marker {
  display: none;
}

.parcours-adaptations summary .chevron {
  margin-left: auto;
  transition: transform 0.15s ease;
}

.parcours-adaptations[open] summary .chevron {
  transform: rotate(180deg);
}

.parcours-adaptations ul {
  margin: 0;
  padding: 0 0.6rem 0.45rem;
  list-style: none;
}

.parcours-adaptation {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0;
  border-top: 1px solid #eef0f4;
}

.parcours-adaptation-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: #344054;
  font-weight: 600;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.parcours-adaptation-title:hover {
  color: #2f5cf6;
}

.parcours-adaptation .visit-languages {
  flex: 0 0 auto;
}

.parcours-head-link {
  display: flex;
  flex: 1 1 auto;
  gap: 0.75rem;
  align-items: flex-start;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.parcours-head-link:hover .parcours-title {
  color: #2f5cf6;
}

.parcours-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.parcours-info {
  min-width: 0;
  flex: 1 1 auto;
}

.parcours-title {
  margin: 0 0 0.25rem;
  color: #28334d;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-word;
}

.parcours-desc {
  margin: 0;
  color: #7b8798;
  font-size: 0.74rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.parcours-meta {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
  min-height: 24px;
  padding: 0 0.85rem 0.6rem;
}

.visit-list-shell .badge {
  padding: 0.28em 0.62em;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
  box-shadow: none;
}

.visit-muted-badge {
  color: #8a94a6;
  background: #f1f3f6;
}

.visit-paid-badge {
  color: #b25e12;
  background: #fff5e8;
}

.visit-languages {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  flex: 1 1 auto;
  height: 16px;
  margin-left: auto;
  min-width: 0;
  overflow: hidden;
}

.visit-flag {
  width: 22px;
  height: 100%;
  border-radius: 2px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
  flex: 0 0 22px;
}

.visit-flag-sm {
  width: 21px;
  height: 15px;
  flex-basis: 21px;
}

.parcours-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-top: 0;
  height: 56px;
  min-height: 56px;
  padding: 0 0.85rem;
  border-top: 1px solid #f0f2f6;
}

.parcours-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.parcours-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 1px solid #dce1ea;
  border-radius: 0.45rem;
  color: #667085;
  background: #fff;
  line-height: 1;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.parcours-icon-btn:hover,
.parcours-icon-btn:focus {
  border-color: #b7c0d1;
  color: #344054;
  background: var(--mv-gray-50);
  box-shadow: 0 4px 10px rgba(31, 41, 55, 0.08);
  outline: none;
}

.parcours-icon-btn-primary {
  color: #2f5cf6;
  background: #f2f5ff;
  border-color: #dbe3ff;
}

.parcours-icon-btn-primary:hover,
.parcours-icon-btn-primary:focus {
  color: #2147d7;
  background: #eaf0ff;
  border-color: #c8d4ff;
}

.parcours-icon-btn-danger {
  color: #a4acb9;
}

.parcours-icon-btn-danger:hover,
.parcours-icon-btn-danger:focus {
  color: var(--mv-danger);
  background: #fff5f7;
  border-color: #ffd1dc;
}

.print-template-list-card .parcours-head {
  padding: 0.75rem 0.8rem 0.55rem;
}

.print-template-list-card .parcours-footer {
  padding: 0 0.8rem;
}

/* Menu des étapes d'une visite (base : .step-visit-menu, item_editor-visit-nav.css) */
.vl-steps-menu {
  width: 26rem;
}

/* Le transform au survol enferme le menu dans le contexte d'empilement de la
   carte : les éléments positionnés des cartes suivantes passeraient au-dessus. */
.parcours-card:has(.vl-steps-menu.show) {
  position: relative;
  z-index: var(--mv-z-dropdown);
}

.vl-step-status {
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--mv-gray-300);
}

.vl-step-status--online {
  background: var(--mv-success);
}

.vl-step-status--paid_access {
  background: var(--mv-warning);
}

.vl-step-flags {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem;
  max-width: 6.75rem;
}

.vl-steps-empty {
  margin: 0;
  padding: 0.5rem;
  color: var(--mv-text);
  font-size: var(--mv-fs-sm);
}

.parcours-row-orphan .parcours-card {
  border-style: dashed;
  background: #fcfcfd;
}

@media (max-width: 991.98px) {
  .visit-list-shell .page-header {
    flex-direction: column;
    align-items: stretch;
  }

  .visit-list-shell .page-header-actions {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .visit-list-shell .page-header-actions .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }

  .visit-filter-panel {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .visit-toolbar {
    flex-wrap: wrap;
  }

  .visit-list-shell .toolbar-search {
    flex-basis: calc(100% - 46px);
  }

  .visit-filter-panel .filter-field,
  .visit-filter-panel .filter-field-sm {
    flex: 1 1 180px;
  }
}

@media (max-width: 575.98px) {
  .visit-list-shell .page-header-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .visit-list-shell .page-header-actions .btn {
    padding: 0.35rem 0.55rem;
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .visit-toolbar {
    gap: 0.45rem;
  }

  .visit-filter-panel {
    align-items: stretch;
  }

  .visit-filter-panel .filter-field,
  .visit-filter-panel .filter-field-sm {
    flex: 1 1 100%;
  }

  .parcours-footer {
    align-items: center;
    flex-direction: row;
  }

  .parcours-actions {
    justify-content: flex-end;
  }
}

/* Pages list - lignes compactes */
.pages-board-count {
  margin: 0 0 0.45rem 0.15rem;
  color: #8a94a6;
  font-size: 0.72rem;
}

.pages-rows {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.page-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 58px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e6e9ef;
  border-radius: 0.625rem;
  background: #fff;
  box-shadow: 0 6px 14px rgba(31, 41, 55, 0.03);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.page-row:hover {
  border-color: #d4d9e4;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.055);
}

.page-row.is-inactive {
  background: #fcfcfd;
}

.page-row.is-inactive .page-row-title {
  color: #8a94a6;
}

.page-row-main {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1 1 auto;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.page-row-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 0.5rem;
  color: #2f5cf6;
  background: #f2f5ff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-row-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-row-title {
  overflow: hidden;
  color: #28334d;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-row-main:hover .page-row-title {
  color: #2f5cf6;
}

.page-row-sub {
  overflow: hidden;
  color: #8a94a6;
  font-size: 0.72rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-row-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex: 0 1 auto;
  min-width: 0;
}

.page-row-meta .visit-languages {
  flex: 0 1 auto;
  margin-left: 0;
}

.page-flag-link {
  position: relative;
  display: inline-flex;
  height: 16px;
  border-radius: 2px;
  transition: transform 0.15s ease;
}

.page-flag-link:hover {
  transform: translateY(-1px);
}

.page-flag-link.is-stale .visit-flag {
  opacity: 0.45;
}

.page-sync-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid #fde2bd;
  border-radius: 999px;
  color: #b25e12;
  background: #fff5e8;
  font-size: 0.66rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.page-sync-chip:hover,
.page-sync-chip:focus {
  border-color: #f7c98b;
  background: #ffedd5;
  outline: none;
}

.page-row-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.page-row-actions .pages-type-select {
  width: 165px;
  min-height: 31px;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  border-color: #e3e7ef;
  border-radius: 0.45rem;
  color: #475467;
  font-size: 0.74rem;
  box-shadow: none;
}

.pages-templates-panel {
  padding: 1rem;
  border: 1px dashed #d4d9e4;
  border-radius: 0.625rem;
  background: #fbfcfe;
}

@media (max-width: 991.98px) {
  .page-row {
    flex-wrap: wrap;
  }

  .page-row-main {
    flex-basis: 100%;
  }

  .page-row-meta {
    justify-content: flex-start;
    flex: 1 1 auto;
  }
}

@media (max-width: 575.98px) {
  .page-row-actions .pages-type-select {
    width: 120px;
  }
}

/* Modale Traductions d'une page */
.page-translations-modal .pt-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.page-translations-modal .pt-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid #e6e9ef;
  border-radius: 0.55rem;
  background: #fff;
  cursor: pointer;
  font-size: 0.82rem;
}

.page-translations-modal .pt-row.is-stale {
  border-color: #fde2bd;
  background: #fffaf3;
}

/* Le thème retire la bordure des checkbox : sans elle, une case vide est invisible. */
.page-translations-modal .pt-row .form-check-input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid #c3cad8;
  border-radius: 0.3rem;
  background-color: #fff;
  cursor: pointer;
}

.page-translations-modal .pt-row .form-check-input:hover {
  border-color: #2f5cf6;
}

.page-translations-modal .pt-row .form-check-input:checked {
  border-color: #2f5cf6;
  background-color: #2f5cf6;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
  background-size: 100% 100%;
}

.page-translations-modal .pt-row .form-check-input:focus-visible {
  box-shadow: 0 0 0 3px rgba(47, 92, 246, 0.18);
}

.page-translations-modal .pt-row .form-check-input:disabled {
  opacity: 0.5;
  cursor: default;
}

.page-translations-modal .pt-row .visit-flag {
  height: 16px;
}

.page-translations-modal .pt-label {
  flex: 1 1 auto;
  min-width: 0;
  color: #344054;
  font-weight: 600;
}

.page-translations-modal .pt-label .pt-summary {
  display: block;
  margin-top: 0.1rem;
  color: #8a94a6;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.35;
}

.page-translations-modal .pt-details {
  margin: 0.3rem 0 0;
  padding-left: 1rem;
  color: #b25e12;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.4;
}

.page-translations-modal .pt-force {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.85rem 0 0;
  padding: 0.6rem 0.7rem;
  border: 1px solid #f3d3d9;
  border-radius: 0.55rem;
  background: #fff8f9;
  cursor: pointer;
}

.page-translations-modal .pt-force strong {
  display: block;
  color: #a3243d;
  font-size: 0.78rem;
}

.page-translations-modal .pt-force small {
  display: block;
  color: #8a94a6;
  font-size: 0.68rem;
  line-height: 1.4;
}

.page-translations-modal .pt-force .form-check-input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0.1rem 0 0;
  border: 1.5px solid #e4a3b0;
  border-radius: 0.3rem;
  background-color: #fff;
  cursor: pointer;
}

.page-translations-modal .pt-force .form-check-input:checked {
  border-color: #d6334f;
  background-color: #d6334f;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
  background-size: 100% 100%;
}

.page-translations-modal .pt-pill {
  padding: 0.2em 0.6em;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 600;
  white-space: nowrap;
}

.page-translations-modal .pt-pill-ok {
  color: #1f7a4d;
  background: #e9f7ef;
}

.page-translations-modal .pt-pill-stale {
  color: #b25e12;
  background: #fff0db;
}

.page-translations-modal .pt-pill-new {
  color: #8a94a6;
  background: #f1f3f6;
}

.page-translations-modal .pt-empty {
  padding: 0.75rem 0.25rem;
  color: #8a94a6;
  font-size: 0.82rem;
}

.page-translations-modal .pt-help {
  margin: 0.75rem 0 0;
  color: #8a94a6;
  font-size: 0.72rem;
  line-height: 1.45;
}

.page-translations-modal .pt-progress {
  margin-top: 0.75rem;
}

.page-translations-modal .pt-progress .progress {
  margin-bottom: 0.3rem;
}

/* Modale Ordre des visites dans l'application */
.app-order-modal .ao-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: min(60vh, 34rem);
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.app-order-modal .ao-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid #e6e9ef;
  border-radius: 0.55rem;
  background: #fff;
  font-size: 0.82rem;
}

.app-order-modal .ao-row.ao-ghost {
  border-style: dashed;
  border-color: #2f5cf6;
  background: #f3f6ff;
  opacity: 0.6;
}

.app-order-modal .ao-row.ao-chosen {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.app-order-modal .ao-handle {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 0.2rem;
  color: #98a2b3;
  cursor: grab;
}

.app-order-modal .ao-handle:active {
  cursor: grabbing;
}

.app-order-modal .ao-rank {
  flex: 0 0 1.4rem;
  color: #98a2b3;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  text-align: right;
}

.app-order-modal .ao-thumb {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 0.4rem;
  object-fit: cover;
}

.app-order-modal .ao-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: #344054;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-order-modal .ao-meta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.35rem;
}

.app-order-modal .ao-meta .visit-flag {
  height: 15px;
}

.app-order-modal .ao-move {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.15rem;
}

.app-order-modal .ao-move button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: #667085;
}

.app-order-modal .ao-move button:hover:not(:disabled) {
  background: #f1f3f6;
  color: #2f5cf6;
}

.app-order-modal .ao-move button:disabled {
  opacity: 0.3;
}

.app-order-modal .ao-note {
  margin: 0.75rem 0 0;
  color: #8a94a6;
  font-size: 0.78rem;
}

@media (max-width: 575.98px) {
  .app-order-modal .ao-meta {
    display: none;
  }
}
