
.page-content-table .table > tbody > tr:hover > td {
  background-color: #fff;
}

.campaign-dossier-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.campaign-dossier-heading-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.campaign-dossier-submit-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.campaign-dossier-mobile-label {
  display: none;
}

.campaign-dossier-agreement-meta {
  display: flex;
  gap: 6px;
  margin-top: 5px;
}

.campaign-dossier-agreement-meta-field {
  min-width: 0;
}

.campaign-dossier-agreement-phase-field {
  flex: 0 0 78px;
}

.campaign-dossier-agreement-type-field {
  flex: 1 1 150px;
}

.campaign-dossier-inline-label {
  display: block;
  margin-bottom: 2px;
  color: #a3afb7;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.campaign-dossier-help-button {
  margin-left: 3px;
  padding: 0 2px;
  color: #a3afb7;
  vertical-align: baseline;
}

.campaign-dossier-help-button:hover,
.campaign-dossier-help-button:focus {
  color: #526069;
}

.campaign-dossier-table-shell {
  margin-top: 12px;
  border: 1px solid #dfe7ec;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.campaign-dossier-agreements-table {
  margin-bottom: 0;
}

.campaign-dossier-agreements-table thead th {
  padding: 13px 16px !important;
  border-bottom: 1px solid #d9e2e7 !important;
  background: #f3f7f9;
  color: #526069;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  vertical-align: middle !important;
}

.campaign-dossier-agreements-table thead th:first-child {
  border-left: 5px solid transparent;
}

.campaign-dossier-table-heading {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
}

.campaign-dossier-table-heading .campaign-dossier-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 0;
  line-height: 1;
}

.campaign-dossier-table-heading #change_all_proposition {
  margin-top: -1px;
  white-space: nowrap;
}

.campaign-dossier-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.campaign-dossier-info-item {
  display: flex;
  gap: 12px;
  min-height: 120px;
  padding: 16px;
  border: 1px solid #e4eaec;
  border-left: 3px solid #62a8ea;
  border-radius: 6px;
  background: #fff;
}

.campaign-dossier-info-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eaf3ff;
  color: #3583ca;
  font-size: 18px;
  line-height: 34px;
  text-align: center;
}

.campaign-dossier-info-item h5 {
  margin: 0 0 6px;
  color: #37474f;
  font-weight: 600;
}

.campaign-dossier-info-item p {
  margin: 0;
  color: #76838f;
  line-height: 1.45;
}

.campaign-dossier-proposal-value {
  display: block;
  margin-bottom: 6px;
}

.campaign-dossier-proposal-title {
  display: block;
  color: #526069;
  font-weight: 600;
}

.campaign-dossier-proposal-dates {
  display: block;
  color: #76838f;
  font-size: 12px;
  line-height: 1.45;
}

.campaign-dossier-return-duration-hidden {
  display: none !important;
}

.campaign-dossier-parent-display {
  margin-top: 5px;
  color: #76838f;
  font-size: 12px;
  line-height: 1.35;
}

.campaign-dossier-parent-display .icon {
  margin-right: 4px;
}

.campaign-dossier-action-select-hidden {
  display: none !important;
}

.campaign-dossier-action-choice-wrap {
  margin-bottom: 8px;
}

.campaign-dossier-action-choice-group {
  display: inline-flex;
  flex-wrap: wrap;
}

.campaign-dossier-action-choice-group .btn,
.campaign-dossier-group-actions .btn {
  white-space: normal;
}

.campaign-dossier-action-empty,
.campaign-dossier-group-action-pending,
.campaign-dossier-group-action-help {
  margin-top: 5px;
  color: #a3afb7;
  font-size: 12px;
  line-height: 1.35;
}

.campaign-dossier-action-empty .label,
.campaign-dossier-group-action-pending .label {
  font-weight: 500;
}

.campaign-dossier-agreements-table th,
.campaign-dossier-agreements-table td {
  vertical-align: top !important;
}

.campaign-dossier-group-row td {
  background: #eef3f6 !important;
  border-top: 16px solid #f3f7f9 !important;
  border-bottom: 1px solid #d9e2e7 !important;
}

.campaign-dossier-agreements-table tbody tr.campaign-dossier-group-row:first-child td {
  border-top-width: 0 !important;
}

.campaign-dossier-group-row > td:first-child {
  border-left: 5px solid #4e97f5 !important;
}

.campaign-dossier-group-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.campaign-dossier-group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #2b5f9e;
  border: 1px solid #bdd7f7;
  border-radius: 50%;
  background: #fff;
}

.campaign-dossier-group-title {
  color: #37474f;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.campaign-dossier-group-meta {
  margin-top: 5px;
  color: #8796a1;
  font-size: 12px;
}

.campaign-dossier-group-meta .label {
  margin-right: 3px;
}

.campaign-dossier-group-child > td:first-child {
  position: relative;
  padding-left: 34px !important;
  border-left: 5px solid #d5e4f2 !important;
}

.campaign-dossier-group-child > td:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 14px;
  border-left: 2px solid #d6e3ec;
}

.campaign-dossier-group-child > td:first-child::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 16px;
  border-top: 2px solid #d6e3ec;
  transform: translateY(-1px);
}

.campaign-dossier-group-primary > td:first-child {
  border-left-color: #4e97f5 !important;
}

.campaign-dossier-group-linked > td:first-child {
  border-left-color: #ccd5db !important;
}

.campaign-dossier-group-functional > td:first-child {
  border-left-color: #263238 !important;
}

.campaign-dossier-muted-duplicate {
  color: #c0cbd2;
}

.campaign-history-approval-table {
  margin-bottom: 8px;
  table-layout: fixed;
}

.campaign-history-approval-table th {
  color: #526069;
  font-weight: 600;
}

.stage-info-approval-scroll {
  max-height: none;
  overflow: hidden;
  border: 1px solid #e4eaec;
  border-radius: 4px;
  background: #fff;
}

.stage-info-approval-table {
  margin-bottom: 0;
}

.campaign-history-approval-table thead th:nth-child(1),
.campaign-history-approval-table tbody tr.agreement td:nth-child(1) {
  width: 55%;
}

.campaign-history-approval-table thead th:nth-child(2),
.campaign-history-approval-table tbody tr.agreement td:nth-child(2) {
  width: 14%;
}

.campaign-history-approval-table thead th:nth-child(3),
.campaign-history-approval-table tbody tr.agreement td:nth-child(3) {
  width: 31%;
}

.campaign-history-approval-table .campaign-dossier-proposal-dates {
  white-space: nowrap;
}

.stage-info-approval-table thead th {
  position: static;
  z-index: 1;
  background: #fff;
}

.campaign-history-approval-table .campaign-dossier-group-row td {
  border-top-width: 12px !important;
}

.campaign-history-approval-table tbody tr.campaign-dossier-group-row:first-child td {
  border-top-width: 0 !important;
}

.stage-info-approval-table .campaign-dossier-group-row td {
  border-top-width: 1px !important;
}

#popinstageinfo .stage-info-approval-table .campaign-dossier-group-child > td {
  padding-top: 11px !important;
  padding-bottom: 11px !important;
  vertical-align: middle !important;
}

.stage-info-approval-table tbody tr.campaign-dossier-group-row:first-child td {
  border-top-width: 0 !important;
}

.campaign-history-agreement-name {
  color: #37474f;
  font-weight: 600;
  line-height: 1.35;
}

.campaign-history-inline-phases {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.campaign-history-inline-phases .label {
  margin: 0;
}

.campaign-history-cell-muted {
  margin-top: 4px;
  color: #8796a1;
  font-size: 12px;
  line-height: 1.35;
}

.campaign-history-validity-same {
  min-height: 24px;
}

.stage-info-approval-table .campaign-history-single-row > td:first-child {
  border-left: 5px solid #d5e4f2 !important;
}

.stage-info-approval-table .campaign-history-single-row.campaign-dossier-group-primary > td:first-child {
  border-left-color: #4e97f5 !important;
}

.stage-info-approval-table .campaign-history-single-row.campaign-dossier-group-functional > td:first-child {
  border-left-color: #263238 !important;
}

.stage-info-approval-table .campaign-history-single-row.campaign-dossier-group-linked > td:first-child {
  border-left-color: #ccd5db !important;
}

/* La fiche d'un stage peut être très longue : chaque colonne garde son propre
 * défilement et la navigation des rubriques principales reste accessible. */
#popinstageinfo .modal-dialog {
  width: calc(100% - 32px) !important;
  max-width: 1440px !important;
  height: calc(100vh - 32px);
  margin: 16px auto;
}

#popinstageinfo .modal-content,
#popinstageinfo .modal-body,
#popinstageinfo .modal-body > .row {
  height: 100%;
}

#popinstageinfo .modal-content,
#popinstageinfo .modal-body {
  overflow: hidden;
}

#popinstageinfo .stage-info-modal-main,
#popinstageinfo .stage-info-modal-aside {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c5d1d8 transparent;
}

#popinstageinfo .stage-info-modal-main {
  padding-right: 24px;
  padding-left: 24px;
}

#popinstageinfo .stage-info-modal-aside {
  border-left: 1px solid #e4eaec;
  box-shadow: -8px 0 22px rgba(38, 50, 56, .035);
}

#popinstageinfo .stage-info-section-nav {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  gap: 6px;
  margin: 0 -24px 18px;
  padding: 10px 24px;
  border-top: 1px solid #e4eaec;
  border-bottom: 1px solid #dbe4e9;
  background: rgba(243, 247, 249, .96);
  box-shadow: 0 5px 12px rgba(38, 50, 56, .045);
  backdrop-filter: blur(8px);
}

#popinstageinfo .stage-info-section-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid #d9e2e7;
  border-radius: 18px;
  background: #fff;
  color: #526069;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

#popinstageinfo .stage-info-section-nav a:hover,
#popinstageinfo .stage-info-section-nav a:focus {
  border-color: #8fc2f2;
  color: #3583ca;
}

#popinstageinfo .stage-info-content-section {
  scroll-margin-top: 72px;
}

#popinstageinfo .stage-info-content-section + .stage-info-content-section {
  margin-top: 28px;
  padding-top: 28px !important;
  border-top: 1px solid #e4eaec;
}

#popinstageinfo .stage-info-approval-scroll,
#popinstageinfo #infstg_repartition_nav .tab-content,
#popinstageinfo #infstg_history_pane {
  border: 1px solid #dfe7ec;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(38, 50, 56, .035);
}

#popinstageinfo #infstg_repartition_nav .tab-content,
#popinstageinfo #infstg_history_pane {
  padding: 8px 12px !important;
}

#popinstageinfo #infstg_repartition_nav table,
#popinstageinfo #infstg_history_pane table {
  margin-bottom: 0;
  background: #fff;
}

#popinstageinfo #infstg_repartition_nav thead th,
#popinstageinfo #infstg_history_pane thead th {
  border-top: 0;
  border-bottom: 1px solid #dfe7ec;
  color: #526069;
  font-size: 12px;
  font-weight: 600;
}

#popinstageinfo #infstg_repartition_nav tbody td,
#popinstageinfo #infstg_history_pane tbody td {
  padding: 11px 12px;
  border-top: 1px solid #edf1f3;
  color: #76838f;
  vertical-align: middle;
}

#popinstageinfo #infstg_repartition_nav tbody tr:nth-child(even) td,
#popinstageinfo #infstg_history_pane tbody tr:nth-child(even) td {
  background: #fafbfc;
}

#popinstageinfo #infstg_repartition_nav,
#popinstageinfo #infstg_history_nav {
  display: block;
}

#popinstageinfo #infstg_repartition_nav .nav-tabs,
#popinstageinfo #infstg_history_nav .nav-tabs {
  display: flex;
  flex-direction: row !important;
  width: 100%;
  margin: 0 0 14px !important;
  padding-bottom: 2px;
  overflow-x: auto;
  border-right: 0 !important;
  white-space: nowrap;
  scrollbar-width: none;
}

#popinstageinfo #infstg_repartition_nav .nav-item,
#popinstageinfo #infstg_history_nav .nav-item {
  flex: 0 0 auto;
}

#popinstageinfo #infstg_repartition_nav .nav-tabs::-webkit-scrollbar,
#popinstageinfo #infstg_history_nav .nav-tabs::-webkit-scrollbar {
  display: none;
}

#popinstageinfo #infstg_repartition_nav .nav-link,
#popinstageinfo #infstg_history_nav .nav-link {
  padding: 10px 12px;
  border-right: 0 !important;
  border-radius: 5px 5px 0 0;
  color: #76838f;
  font-size: 13px;
}

#popinstageinfo #infstg_repartition_nav .nav-link.active,
#popinstageinfo #infstg_history_nav .nav-link.active {
  background: #fff;
  border-bottom: 3px solid #3e8ef7;
  color: #3e8ef7;
  font-weight: 600;
}

#popinstageinfo #infstg_repartition_nav .tab-content,
#popinstageinfo #infstg_history_nav .tab-content {
  width: 100%;
}

#popinstageinfo .stage-info-aside-section {
  padding: 20px 24px;
}

#popinstageinfo #infstg_etablissementinfo p {
  display: grid;
  grid-template-columns: minmax(130px, .8fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 14px !important;
  line-height: 1.45;
}

#popinstageinfo #infstg_etablissementinfo p > strong {
  float: none !important;
  padding-bottom: 0 !important;
  overflow-wrap: anywhere;
  color: #76838f !important;
  font-weight: 400 !important;
  text-align: left !important;
}

#popinstageinfo #infstg_etablissementinfo .stage-info-meta-label {
  color: #526069;
  font-weight: 600;
  text-align: left;
}

#popinstageinfo #infstg_etablissementcontact .panel {
  margin-bottom: 8px;
  border: 1px solid #e4eaec;
  border-radius: 6px;
  background: #f8fafb;
  box-shadow: none;
}

#popinstageinfo #infstg_etablissementcontact .panel-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  padding-right: 60px;
  font-size: 14px;
}

#popinstageinfo #infstg_etablissementcontact .panel-title::before,
#popinstageinfo #infstg_etablissementcontact .panel-title::after {
  right: 24px !important;
}

#popinstageinfo #infstg_etablissementcontact .panel-body {
  padding: 4px 14px 14px;
  color: #76838f;
}

#popinstageinfo .stage-info-contact-helper {
  margin-left: 4px;
  color: #a3afb7;
  font-size: 12px;
  vertical-align: 1px;
}

#popinstageinfo #infstg_options {
  color: #76838f !important;
}

#popinstageinfo #infstg_options p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px !important;
}

#popinstageinfo #infstg_options .icon {
  margin-right: 0 !important;
  color: #a3afb7;
}

@media (max-width: 1199px) {
  #popinstageinfo .modal-content,
  #popinstageinfo .modal-body {
    overflow-y: auto;
  }

  #popinstageinfo .stage-info-modal-main,
  #popinstageinfo .stage-info-modal-aside {
    height: auto;
    overflow: visible;
  }

  #popinstageinfo .stage-info-modal-aside {
    border-top: 1px solid #e4eaec;
    border-left: 0;
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  #popinstageinfo .modal-dialog {
    width: 100% !important;
    height: 100vh;
    margin: 0;
  }

  #popinstageinfo .stage-info-section-nav {
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
    overflow-x: auto;
  }

  #popinstageinfo .stage-info-section-nav a {
    flex: 0 0 auto;
  }
}

/* Même grammaire visuelle que la synthèse utilisateur : identité à gauche,
 * contenu métier à droite et actions persistantes en pied de modal. */
#popinstageinfo .modal-content {
  display: flex;
  flex-direction: column;
  background: #fff;
}

#popinstageinfo .modal-body {
  height: auto;
  min-height: 0;
  padding: 0 !important;
  flex: 1 1 auto;
}

#popinstageinfo .modal-body > .row {
  min-height: 100%;
}

#popinstageinfo .stage-info-modal-aside {
  order: 1;
  border-right: 1px solid #e4eaec;
  border-left: 0;
  background: #f3f7f9 !important;
  box-shadow: none;
}

#popinstageinfo .stage-info-modal-main {
  order: 2;
  background: #fafafa !important;
}

#popinstageinfo .stage-info-close-control {
  display: flex;
  align-items: center;
  align-self: center;
  margin: 0 0 0 auto !important;
}

#popinstageinfo .stage-info-close-control .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: #e4eaec;
  color: #76838f;
  line-height: 1;
  box-sizing: border-box;
}

#popinstageinfo .stage-info-modal-aside > .card,
#popinstageinfo .stage-info-modal-main > .card {
  margin: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none;
}

#popinstageinfo .stage-info-identity-heading {
  padding: 28px 26px 18px !important;
  border-bottom: 0 !important;
  background: transparent !important;
  text-align: center;
}

#popinstageinfo .stage-info-identity-icon {
  margin: 4px 0 18px;
  color: #a3afb7;
  font-size: 62px;
  line-height: 1;
}

#popinstageinfo .stage-info-identity-heading #infstg_title {
  margin: 0 0 12px;
  color: #37474f;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.28;
}

#popinstageinfo .stage-info-identity-heading #infstg_title > span {
  display: block;
}

#popinstageinfo .stage-info-identity-heading .stage-info-identity-kicker {
  margin-bottom: 5px;
  color: #8796a1 !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .035em;
  text-transform: uppercase;
}

#popinstageinfo .stage-info-identity-heading .stage-info-identity-name {
  color: #37474f !important;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

#popinstageinfo .stage-info-identity-heading .stage-info-identity-establishment,
#popinstageinfo .stage-info-identity-heading .stage-info-identity-service {
  display: block;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

#popinstageinfo .stage-info-identity-heading .stage-info-identity-establishment {
  font-weight: 600;
  line-height: 1.25;
}

#popinstageinfo .stage-info-identity-heading .stage-info-identity-service {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

#popinstageinfo .stage-info-identity-heading .stage-info-identity-rts {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 200;
}

#popinstageinfo .stage-info-identity-status {
  margin: 12px 0 8px;
}

#popinstageinfo .stage-info-identity-status #infstg_status {
  margin-left: 0 !important;
}

#popinstageinfo .stage-info-identity-period-source {
  display: none;
}

#popinstageinfo .stage-info-identity-number {
  display: none !important;
}

#popinstageinfo .stage-info-public-notice {
  display: block;
  margin: 18px 24px 6px;
  padding: 14px 16px !important;
  border: 1px solid #f4c9c7 !important;
  border-left: 4px solid #e9595b !important;
  border-radius: 7px;
  background: #fff7f6;
  color: #526069;
}

#popinstageinfo .stage-info-public-notice-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

#popinstageinfo .stage-info-public-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fde7e5;
  color: #d9534f;
}

#popinstageinfo .stage-info-public-notice span,
#popinstageinfo .stage-info-public-notice strong {
  display: block;
}

#popinstageinfo .stage-info-public-notice span {
  margin-bottom: 0;
  color: #c84b4d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#popinstageinfo .stage-info-public-notice strong {
  color: #526069;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

#popinstageinfo .stage-info-identity-heading .card-text {
  margin: 0;
}

#popinstageinfo .stage-info-timeline {
  position: relative;
  margin: 0 24px 18px;
  padding: 5px 0 4px 25px;
  list-style: none;
}

#popinstageinfo .stage-info-timeline::before {
  content: "";
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 5px;
  width: 2px;
  background: #d9e2e7;
}

#popinstageinfo .stage-info-timeline li {
  position: relative;
  padding: 0 0 20px;
  color: #76838f;
}

#popinstageinfo .stage-info-timeline li:last-child {
  padding-bottom: 0;
}

#popinstageinfo .stage-info-timeline-dot {
  position: absolute;
  top: 5px;
  left: -25px;
  width: 12px;
  height: 12px;
  border: 3px solid #f3f7f9;
  border-radius: 50%;
  background: #cbd7de;
  box-sizing: content-box;
}

#popinstageinfo .stage-info-timeline strong,
#popinstageinfo .stage-info-timeline-detail {
  display: block;
  line-height: 1.4;
}

#popinstageinfo .stage-info-timeline-identifiers > span:not(.stage-info-timeline-dot) {
  display: block;
  margin-bottom: 2px;
  color: #76838f;
  font-size: 13px;
  line-height: 1.4;
}

#popinstageinfo .stage-info-timeline-identifiers b {
  color: #37474f;
  font-weight: 700;
}

#popinstageinfo .stage-info-timeline strong {
  color: #526069;
  font-size: 14px;
  font-weight: 600;
}

#popinstageinfo .stage-info-timeline-period-dropdown {
  display: inline-block;
}

#popinstageinfo .stage-info-timeline-period-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #526069;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

#popinstageinfo .stage-info-timeline-period-button:hover,
#popinstageinfo .stage-info-timeline-period-button:focus {
  outline: 0;
  color: #3583ca;
}

#popinstageinfo .stage-info-timeline-period-button .icon {
  color: #a3afb7;
  font-size: 10px;
}

#popinstageinfo .stage-info-timeline-period-menu {
  min-width: 190px;
  max-height: 280px;
  overflow-y: auto;
}

#popinstageinfo .stage-info-timeline-detail {
  margin-top: 3px;
  color: #8796a1;
}

#popinstageinfo .stage-info-modal-main {
  padding: 24px 28px;
}

#popinstageinfo .stage-info-section-nav {
  top: -24px;
  margin: -24px -28px 22px;
  padding: 14px 28px;
  background: rgba(250, 250, 250, .96);
}

#popinstageinfo .stage-info-map-section {
  padding-top: 4px;
}

#popinuserinfo .admin-user-preview-section-badge {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: normal;
}

#popinuserinfo .admin-user-preview-section-heading,
#popinuserinfo .admin-user-preview-access-heading {
  align-items: flex-start;
}

#popinstageinfo .stage-info-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

#popinstageinfo .stage-info-map-heading p {
  margin: 0;
}

#popinstageinfo .stage-info-map-title {
  display: inline-block;
  margin-bottom: 8px;
}

#popinstageinfo .stage-info-map-heading p {
  margin-top: 3px;
  color: #8796a1;
  font-size: 12px;
}

#popinstageinfo .stage-info-map-heading > .icon {
  color: #a3afb7;
  font-size: 24px;
}

#popinstageinfo .stage-info-location-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

#popinstageinfo .stage-info-location-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid #e1e8ec;
  border-radius: 7px;
  background: #fff;
}

#popinstageinfo .stage-info-location-address {
  grid-column: 1 / -1;
}

#popinstageinfo .stage-info-location-item > .icon {
  margin-top: 2px;
  color: #8796a1;
  font-size: 18px;
}

#popinstageinfo .stage-info-location-item span,
#popinstageinfo .stage-info-location-item strong {
  display: block;
}

#popinstageinfo .stage-info-location-item span {
  margin-bottom: 2px;
  color: #a3afb7;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .035em;
  text-transform: uppercase;
}

#popinstageinfo .stage-info-location-item strong {
  color: #526069;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

#popinstageinfo #div_maps_localisation {
  padding-bottom: 0 !important;
  overflow: hidden;
  border-radius: 8px;
}

#popinstageinfo #div_maps_localisation.collapse:not(.show) {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  border: 0;
  box-shadow: none;
}

#popinstageinfo #div_maps_localisation.show {
  margin-top: 14px;
  border: 1px solid #dfe7ec;
  background: #e9eef1;
  box-shadow: 0 2px 7px rgba(38, 50, 56, .045);
}

#popinstageinfo #slide-map-canvas {
  min-height: 300px;
}

@media (max-width: 767px) {
  #popinstageinfo .stage-info-location-summary {
    grid-template-columns: 1fr;
  }

  #popinstageinfo .stage-info-location-address {
    grid-column: auto;
  }
}

#popinstageinfo .stage-info-content-section > .clearfix,
#popinstageinfo .stage-info-content-section > div:first-child,
#popinstageinfo .stage-info-content-section > .badge:first-child {
  margin-bottom: 20px !important;
}

#popinstageinfo #infstg_repartition_nodata,
#popinstageinfo #infstg_affectation_nodata,
#popinstageinfo .stage-info-history-empty {
  min-height: 70px;
  margin: 0;
  padding: 22px;
  border: 1px dashed #ccd5db;
  border-radius: 6px;
  background: rgba(255, 255, 255, .62);
  color: #8796a1;
  text-align: center;
}

#popinstageinfo #infstg_repartition_nodata::before,
#popinstageinfo #infstg_affectation_nodata::before,
#popinstageinfo .stage-info-history-empty::before {
  content: none;
}

#popinstageinfo #infstg_repartition_nodata p,
#popinstageinfo #infstg_affectation_nodata p,
#popinstageinfo .stage-info-history-empty p {
  display: inline;
  margin: 0;
}

#popinstageinfo #infstg_history_pane:has(.tab-pane.active .stage-info-history-empty) {
  padding: 0 !important;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#popinstageinfo .stage-info-aside-section {
  margin: 0 24px;
  padding: 18px 4px;
  border-top: 1px solid #dfe7ec;
  border-bottom: 0 !important;
}

/* Les card-block historiques ont un fond blanc par défaut. Dans la colonne
 * de synthèse, les sections doivent rester directement sur le fond gris. */
#popinstageinfo .stage-info-aside-section:not(.stage-info-public-notice) {
  background: transparent !important;
  box-shadow: none !important;
}

#popinstageinfo .stage-info-public-notice.stage-info-aside-section {
  border-bottom: 1px solid #f4c9c7 !important;
}

#popinstageinfo .stage-info-aside-heading {
  margin-bottom: 14px;
  color: #526069;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#popinstageinfo #infstg_etablissementinfo.stage-info-aside-section {
  margin-top: 16px;
}

#popinstageinfo .stage-info-modal-footer {
  position: relative;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 68px;
  padding: 12px 28px;
  border-top: 1px solid #d9e2e7;
  background: #fff;
  box-shadow: 0 -3px 12px rgba(38, 50, 56, .04);
}

#popinstageinfo .stage-info-footer-period {
  margin-left: 4px;
}

#popinstageinfo .stage-info-footer-period .dropdown {
  display: inline-block !important;
}

#popinstageinfo .stage-info-footer-period .dropdown-menu {
  top: auto !important;
  right: 0 !important;
  bottom: calc(100% + 8px) !important;
  left: auto !important;
  max-height: min(320px, calc(100vh - 150px));
  overflow-y: auto;
  transform: none !important;
}

#popinstageinfo .stage-info-modal-footer #edit_stage {
  min-width: 110px;
}

#popinstageinfo .stage-info-preview-pin {
  min-width: 126px;
  margin-right: auto;
  color: #76838f;
}

#popinstageinfo .stage-info-preview-pin.is-pinned {
  border-color: #f2a654;
  background: #fff3e6;
  color: #ec9940;
}

#popinstageinfo .stage-info-preview-pin.is-loading {
  opacity: .65;
}

#popinstageinfo .stage-info-export-menu .dropdown-menu {
  top: auto !important;
  right: 0 !important;
  bottom: calc(100% + 8px) !important;
  left: auto !important;
  min-width: 330px;
  padding: 6px 0;
  transform: none !important;
}

#popinstageinfo .stage-info-export-menu .dropdown-item {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 9px 16px;
  border: 0;
  background: transparent;
  color: #526069;
  text-align: left;
  white-space: nowrap;
}

#popinstageinfo .stage-info-export-menu .dropdown-item:hover,
#popinstageinfo .stage-info-export-menu .dropdown-item:focus {
  background: #f3f7f9;
  color: #3583ca;
}

@media (max-width: 1199px) {
  #popinstageinfo .modal-content {
    overflow: hidden;
  }

  #popinstageinfo .modal-body {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #popinstageinfo .modal-body > .row {
    height: auto;
    margin-right: 0;
    margin-left: 0;
  }

  #popinstageinfo .stage-info-modal-aside,
  #popinstageinfo .stage-info-modal-main {
    order: initial;
    width: 100%;
    max-width: none;
    flex: 0 0 100%;
  }

  #popinstageinfo .stage-info-modal-aside {
    border-right: 0;
    border-bottom: 1px solid #e4eaec;
  }
}

@media (max-width: 767px) {
  #popinstageinfo .stage-info-content-section + .stage-info-content-section {
    margin-top: 22px;
    padding-top: 22px !important;
  }

  #popinstageinfo .modal-dialog,
  #popinstageinfo .modal-content {
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
  }

  #popinstageinfo .stage-info-modal-main {
    order: 2 !important;
    padding: 0 12px 20px;
  }

  #popinstageinfo .stage-info-modal-main > button.hidden-md-up,
  #popinstageinfo .stage-info-modal-main > .clearfix.hidden-md-up {
    display: none !important;
  }

  #popinstageinfo .stage-info-modal-aside {
    order: 1 !important;
  }

  #popinstageinfo .modal-body {
    padding-top: 53px !important;
  }

  #popinstageinfo .stage-info-section-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    gap: 5px;
    margin: 0;
    padding: 8px 12px;
    scrollbar-width: none;
  }

  #popinstageinfo .stage-info-section-nav::-webkit-scrollbar {
    display: none;
  }

  #popinstageinfo .stage-info-section-nav a {
    padding: 7px 10px;
  }

  #popinstageinfo .stage-info-close-control {
    position: sticky;
    right: -1px;
    z-index: 2;
    flex: 0 0 38px;
    padding-left: 4px;
    background: rgba(250, 250, 250, .96);
  }

  #popinstageinfo .stage-info-close-control .btn {
    display: inline-flex !important;
    width: 38px;
    height: 38px;
  }

  #popinstageinfo .stage-info-identity-heading {
    padding: 22px 18px 14px !important;
  }

  #popinstageinfo .stage-info-identity-icon {
    margin-bottom: 14px;
    font-size: 48px;
  }

  #popinstageinfo .stage-info-identity-heading .stage-info-identity-name {
    font-size: 21px;
  }

  #popinstageinfo .stage-info-identity-heading .stage-info-identity-service {
    font-size: 17px;
  }

  #popinstageinfo .stage-info-timeline {
    margin-right: 16px;
    margin-left: 16px;
  }

  #popinstageinfo .stage-info-public-notice,
  #popinstageinfo .stage-info-aside-section {
    margin-right: 16px;
    margin-left: 16px;
  }

  #popinstageinfo #infstg_etablissementinfo p {
    grid-template-columns: minmax(112px, .8fr) minmax(0, 1.2fr);
    gap: 12px;
  }

  #popinstageinfo .stage-info-approval-scroll,
  #popinstageinfo #infstg_repartition_nav .tab-content,
  #popinstageinfo #infstg_history_pane {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #popinstageinfo .stage-info-approval-table {
    min-width: 690px;
  }

  #popinstageinfo #infstg_repartition_nav table,
  #popinstageinfo #infstg_history_pane table {
    min-width: 620px;
  }

  #popinstageinfo #infstg_repartition_nav,
  #popinstageinfo #infstg_history_nav {
    display: block;
  }

  #popinstageinfo #infstg_repartition_nav .nav-tabs,
  #popinstageinfo #infstg_history_nav .nav-tabs {
    display: flex;
    flex: 0 0 auto;
    flex-direction: row !important;
    width: 100%;
    margin: 0 0 10px !important;
    padding-bottom: 2px;
    overflow-x: auto;
    border-right: 0 !important;
    white-space: nowrap;
    scrollbar-width: none;
  }

  #popinstageinfo #infstg_repartition_nav .nav-item,
  #popinstageinfo #infstg_history_nav .nav-item {
    flex: 0 0 auto;
  }

  #popinstageinfo #infstg_repartition_nav .nav-tabs::-webkit-scrollbar,
  #popinstageinfo #infstg_history_nav .nav-tabs::-webkit-scrollbar {
    display: none;
  }

  #popinstageinfo #infstg_repartition_nav .nav-link,
  #popinstageinfo #infstg_history_nav .nav-link {
    border-right: 0 !important;
    border-radius: 5px 5px 0 0;
  }

  #popinstageinfo #infstg_repartition_nav .nav-link.active,
  #popinstageinfo #infstg_history_nav .nav-link.active {
    border-bottom: 3px solid #3e8ef7;
  }

  #popinstageinfo #infstg_history_pane,
  #popinstageinfo #infstg_history_pane .tab-pane,
  #popinstageinfo .stage-info-history-empty {
    width: 100%;
  }

  #popinstageinfo .stage-info-history-empty {
    display: flex;
    min-height: 90px;
    align-items: center;
    justify-content: center;
  }

  #popinstageinfo #slide-map-canvas {
    min-height: 220px;
  }

  #popinstageinfo .stage-info-modal-footer {
    gap: 6px;
    min-height: 58px;
    padding: 8px 12px;
  }

  #popinstageinfo .stage-info-modal-footer .btn {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  #popinstageinfo .stage-info-preview-pin {
    min-width: 0;
  }

  #popinstageinfo .stage-info-modal-footer #edit_stage {
    min-width: 0;
  }
}

.campaign-history-type-primary,
.campaign-history-phase-default {
  background: #3583ca;
  color: #fff;
}

.campaign-history-type-complementary {
  background: #ccd5db;
  color: #37474f;
}

.campaign-history-type-functional,
.campaign-history-type-default {
  background: #263238;
  color: #fff;
}

.campaign-history-phase-1 {
  background: #ffdbdc;
  color: #526069;
}

.campaign-history-phase-2 {
  background: #ff666b;
  color: #fff;
}

.campaign-history-phase-3 {
  background: #e62020;
  color: #fff;
}

.campaign-history-phase-ar {
  background: #11a2a6;
  color: #fff;
}

.campaign-dossier-row-highlight > td {
  background: #fff8df !important;
  transition: background-color .35s ease;
}

.campaign-dossier-page .table-responsive {
  margin-bottom: 15px;
}

.campaign-dossier-page .alert a {
  word-break: break-word;
}

@media (max-width: 767px) {
  .campaign-dossier-page {
    padding-right: 10px;
    padding-left: 10px;
  }

  .campaign-dossier-title {
    font-size: 24px;
    line-height: 1.25;
  }

  .campaign-dossier-page .panel-heading,
  .campaign-dossier-page .panel-body {
    padding-right: 16px;
    padding-left: 16px;
  }

  .campaign-dossier-page h4 {
    line-height: 1.3;
  }

  .campaign-dossier-section-heading {
    display: block;
  }

  .campaign-dossier-heading-actions {
    display: block;
    margin-top: 8px;
  }

  .campaign-dossier-admin-actions {
    float: none !important;
    margin: 0 0 12px !important;
  }

  .campaign-dossier-code-action,
  .campaign-dossier-heading-action,
  .campaign-dossier-admin-actions .btn,
  .campaign-dossier-submit-actions .btn,
  .campaign-dossier-page button[attr-action="createnewstage"] {
    width: 100%;
    float: none !important;
    margin: 6px 0 0 !important;
    white-space: normal;
  }

  .campaign-dossier-submit-actions {
    display: block;
  }

  .campaign-dossier-info-grid {
    grid-template-columns: 1fr;
  }

  .campaign-dossier-info-item {
    min-height: 0;
  }

  .campaign-dossier-upload-zone {
    padding: 16px !important;
    margin-bottom: 12px;
  }

  .campaign-dossier-page .upload-instructions {
    margin: 40px 12px;
    font-size: 15px;
  }

  .campaign-dossier-page .alert .btn {
    display: block;
    width: 100%;
    margin: 6px 0 0 !important;
    white-space: normal;
  }

  .campaign-dossier-page .select2-container {
    width: 100% !important;
  }

  .campaign-dossier-page .input-group {
    display: block;
  }

  .campaign-dossier-page .input-group .form-control,
  .campaign-dossier-page .input-group .input-group-append,
  .campaign-dossier-page .input-group .input-group-append .btn {
    width: 100%;
  }

  .campaign-dossier-page .input-group .input-group-append .btn {
    margin-top: 6px;
  }

  #stage-fields .form-group {
    margin-bottom: 16px;
  }

  #stage-fields .campaign-dossier-field-action {
    margin-top: 6px;
  }

  #stage-fields .campaign-dossier-field-action .btn {
    width: 100%;
  }

  #agreements-container .table-responsive {
    overflow: visible;
    border: 0;
  }

  #agreements-container table,
  #agreements-container thead,
  #agreements-container tbody,
  #agreements-container tr,
  #agreements-container th,
  #agreements-container td {
    display: block;
    width: 100%;
  }

  #agreements-container thead {
    display: none;
  }

  #agreements-container tr.agreement {
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid #e4eaec;
    border-radius: 4px;
    background: #fff;
  }

  #agreements-container tr.campaign-dossier-group-row {
    margin-bottom: 0;
    padding: 12px;
    border: 1px solid #d9e2e7;
    border-left: 5px solid #4e97f5;
    border-radius: 4px 4px 0 0;
    background: #eef3f6;
  }

  #agreements-container tr.agreement td,
  #agreements-container tr.campaign-dossier-group-row td {
    border: 0;
    padding: 6px 0;
  }

  #agreements-container tr.campaign-dossier-group-row td {
    background: transparent !important;
  }

  #agreements-container tr.campaign-dossier-group-row > td:first-child {
    border-left: 0 !important;
  }

  #agreements-container tr.campaign-dossier-group-child {
    margin-top: 0;
    border-top: 0;
    border-radius: 0 0 4px 4px;
  }

  #agreements-container tr.campaign-dossier-group-child > td:first-child {
    padding-left: 22px !important;
  }

  #agreements-container tr.campaign-dossier-group-child > td:first-child::before,
  #agreements-container tr.campaign-dossier-group-child > td:first-child::after {
    display: none;
  }

  #agreements-container tr.agreement select,
  #agreements-container tr.agreement textarea,
  #agreements-container tr.agreement .select2-container {
    width: 100% !important;
  }

  #agreements-container .campaign-dossier-agreement-meta {
    gap: 8px;
  }

  #agreements-container .campaign-dossier-agreement-phase-field {
    flex-basis: 88px;
  }

  #agreements-container tr.agreement td[attr-name="info_about_agrement"] {
    width: 100% !important;
  }

  #agreements-container .campaign-dossier-mobile-label {
    display: block;
    margin-bottom: 4px;
    color: #526069;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
  }

  #agreements-container .agreement-actions {
    text-align: left;
  }

  #agreements-container .agreement-actions .btn {
    width: 100%;
  }

  #agreements-container .campaign-dossier-action-choice-group,
  #agreements-container .campaign-dossier-group-actions .btn-group {
    display: flex;
    width: 100%;
  }

  #agreements-container .campaign-dossier-action-choice-group .btn,
  #agreements-container .campaign-dossier-group-actions .btn {
    flex: 1 1 0;
  }
}
.campagne-approval-group-start td {
  border-top: 14px solid #f3f7f9 !important;
}
.campagne-approval-title {
  padding-left: 18px;
  border-left: 2px solid #ccd5db;
}
.campagne-approval-title.is-principal {
  border-left-color: #4e97f5;
}
.campagne-approval-title.is-functional {
  border-left-color: #263238;
}
.campagne-approval-title.is-complementary {
  border-left-color: #ccd5db;
}
.campagne-approval-title.is-linked {
  padding-left: 26px;
}
.campagne-approval-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
}
.campagne-approval-type .label {
  margin-right: 0;
}
.campagne-approval-phase .label {
  margin-right: 0;
}
.campagne-approval-des {
  margin-top: 3px;
  font-size: 15px;
}
.campagne-approval-maquette {
  margin-top: 5px;
  color: #76838f;
  font-size: 12px;
  line-height: 1.35;
}
.campagne-approval-table {
  table-layout: fixed;
}
.campagne-approval-table th,
.campagne-approval-table td {
  vertical-align: top !important;
}
.campagne-approval-group-row td {
  background: #eef3f6 !important;
  border-top: 18px solid #f3f7f9 !important;
  border-bottom: 1px solid #d9e2e7 !important;
}
.campagne-approval-table tbody tr.campagne-approval-group-row:first-child td {
  border-top-width: 0 !important;
}
.campagne-approval-group-row > td:first-child {
  border-left: 5px solid #4e97f5 !important;
}
.campagne-approval-group-row.is-missing-principal td {
  background: #fff8eb !important;
}
.campagne-approval-group-row.is-missing-principal > td:first-child {
  border-left-color: #f2a654 !important;
}
.campagne-approval-group-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.campagne-approval-group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #2b5f9e;
  border: 1px solid #bdd7f7;
  border-radius: 50%;
  background: #fff;
}
.campagne-approval-group-row.is-missing-principal .campagne-approval-group-icon {
  color: #f2a654;
  border-color: #f6d6a8;
}
.campagne-approval-group-title {
  color: #37474f;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}
.campagne-approval-detail-row td {
  background: #fff !important;
  border-top: 1px solid #e4eaee !important;
}
.campagne-approval-detail-row > td:first-child {
  position: relative;
  padding-left: 42px !important;
  border-left: 5px solid #d5e4f2 !important;
}
.campagne-approval-detail-row > td:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16px;
  border-left: 2px solid #d6e3ec;
}
.campagne-approval-detail-row > td:first-child::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 16px;
  width: 18px;
  border-top: 2px solid #d6e3ec;
}
.campagne-approval-linked > td:first-child {
  padding-left: 58px !important;
}
.campagne-approval-detail-row .campagne-approval-title {
  padding-left: 22px;
}
.campagne-approval-detail-row .campagne-approval-title.is-linked {
  padding-left: 30px;
}
.campagne-approval-group-phases {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.campagne-approval-request-main .label,
.campagne-approval-proposal-main .label {
  margin-right: 4px;
}
.campagne-approval-request-breakdown {
  margin-top: 5px;
  color: #8796a1;
  font-size: 12px;
  line-height: 1.35;
}
.campagne-approval-missing-fields .label {
  display: inline-block;
}
.campagne-validation-stack {
  display: grid;
  gap: 8px;
}
.campagne-validation-step {
  padding: 6px 0;
  border-bottom: 1px solid #edf1f3;
}
.campagne-validation-step:last-child {
  border-bottom: 0;
}
.campagne-validation-title {
  display: block;
  color: #526069;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}
.campagne-validation-title-inline {
  color: #526069;
  font-weight: 600;
}
.campagne-validation-step-decision {
  line-height: 1.5;
}
.campagne-validation-summary-line {
  margin-bottom: 5px;
}
.campagne-commission-column {
  background: #fbfcfd;
  border-left: 2px solid #d9e2e7 !important;
}
.campagne-approval-table th.campagne-commission-column {
  color: #2b5f9e !important;
  background: #dceefb !important;
  border-left: 3px solid #4e97f5 !important;
}
.campagne-approval-table td.campagne-commission-column {
  background: #f5faff !important;
  border-left: 3px solid #4e97f5 !important;
}
.campagne-approval-group-row td.campagne-commission-column {
  background: #e3f2fb !important;
}
.campagne-approval-group-row.is-missing-principal td.campagne-commission-column {
  background: #fff1d9 !important;
}
.campagne-approval-detail-row td.campagne-commission-column {
  background: #fbfdff !important;
}
.campaign-proposal-guided-choice {
  padding: 14px 16px 10px;
  border: 1px solid #cfe3ff;
  border-left: 4px solid #4e97f5;
  border-radius: 4px;
  background: #f4f8ff;
}
.campaign-proposal-guided-choice label {
  color: #2b5f9e;
}
.campaign-admin-form-responses {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.page-content-table .table > tbody > tr > td {
  cursor: default;
}
.page-content-table .table > tbody > tr:last-child td {
  border-bottom: none;
}

/* Nom du site dans bar de menu */
.site-navbar {
	background-color: #76838F;
}

table.auto-visibility > tbody > tr {
  content-visibility: auto;
}


.navbar-brand-logo {
	filter: brightness(500%);
	-webkit-filter: brightness(500%);
	-moz-filter: brightness(500%);
	-o-filter: brightness(500%);
	-ms-filter: brightness(500%);
}



.site-navbar .navbar-container .navbar-brand-center > a {
  display: block;
  padding: 20px;
  color: #e4eaec;
 text-decoration: none;
}

.alertify-logs.top {
	height: 100px;
    z-index:999999 !important
}


/* MODAL Profil */

.popover {
	max-width: 500px !important; /* écrase la valeur par defaut de 276px */
}


/* Evaluations */

.best-eval-for .badge {
	font-weight: 200 !important;
}

.best-eval-for .list-group-item {
	padding-top: 2px;
	padding-bottom: 3px;
	padding-left: 2px;
	padding-right: 5px;
}



/*Page de connexion*/
.page-login-v2 .page-brand-info .brand-text, .page-login-v2 .page-login-main .brand-text {
	margin-left: 0;
}
.page-login-v2 .page-login-main .brand-text {
	color: #526069;
}

.page-login-v2 .page-login-main {
	max-width: 550px;
}

.select2-results__options{color: #526069!important;}  /* Bug couleur items de select2 */

.large-icon.icon {
font-size: 64px;
}

/* Formulaires en ligne */
.online-form-definition-response {
  max-width: 860px;
  margin: 0 auto;
}
.online-form-definition-response .form-response-section {
  border: 1px solid #e4eaec;
  box-shadow: none;
  border-radius: 4px;
  margin-bottom: 18px;
}
.online-form-definition-response .form-response-section .panel-heading {
  background: #f8fafb;
  border-bottom: 1px solid #e4eaec;
  padding: 14px 18px;
}
.online-form-definition-response .form-response-section .panel-title {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
}
.online-form-definition-response .form-response-section .panel-body {
  padding: 18px;
}
.online-form-definition-response .form-group {
  margin-bottom: 22px;
}
.online-form-definition-response label {
  color: #263238;
  font-weight: 500;
}
.online-form-definition-response .help-block {
  color: #76838f;
  margin-bottom: 8px;
}
.online-form-definition-response .has-error label,
.online-form-definition-response .has-error .text-danger {
  color: #f96868;
}
.online-form-definition-response .has-error .form-control {
  border-color: #f96868;
  box-shadow: none;
}
.online-form-definition-response .checkbox-custom {
  margin-top: 8px;
  margin-bottom: 8px;
}
.online-form-definition-response .well {
  border-color: #e4eaec;
  background: #f8fafb;
  color: #526069;
}
.online-form-definition-response button[type="submit"] {
  min-width: 140px;
}
.context-forms-list {
  border: 1px solid #e4eaec;
  border-radius: 4px;
  background: #fff;
}
.context-form-item {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e4eaec;
}
.context-form-item:last-child {
  border-bottom: 0;
}
.context-form-title {
  font-weight: 500;
  color: #263238;
}
.context-form-help {
  color: #76838f;
  font-size: 13px;
  margin-top: 3px;
}
.context-form-meta {
  margin-top: 7px;
}
.context-form-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.visible-stage-forms .panel-body {
  padding: 14px;
}
.stage-info-visible-forms {
  padding: 20px 0;
  border-bottom: 1px solid #e4eaec;
}
.visible-stage-forms-loading .panel-body {
  min-height: 76px;
  display: flex;
  align-items: center;
}
.visible-stage-forms-loading-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.visible-stage-forms-loading-content .loader {
  flex: 0 0 auto;
  margin: 0;
}
.visible-stage-forms-loading-content .visible-stage-forms-spinner {
  width: 12px;
  height: 12px;
  font-size: 12px;
  vertical-align: middle;
}
#popinstageinfo #infstg_linkars_div,
#popinstageinfo #infstg_group_div {
  margin: 0 28px 28px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
#popinstageinfo #infstg_linkars_div .card-title,
#popinstageinfo #infstg_group_div .card-title {
  margin: 0 0 14px;
  color: #526069;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}
#popinstageinfo #infstg_linkars_div .card-title::before,
#popinstageinfo #infstg_group_div .card-title::before {
  display: table;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 3px;
  background: #526069;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
#popinstageinfo #infstg_linkars_div .card-title::before {
  content: "Composition du stage";
}
#popinstageinfo #infstg_group_div .card-title::before {
  content: "Autres modalités d’accès";
}
#popinstageinfo #infstg_linkars_list,
#popinstageinfo #infstg_group_list {
  margin: 0;
  border-top: 1px solid #e4eaec;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
}
#popinstageinfo #infstg_linkars_list {
  border-top-color: #dfe7ec;
}
#popinstageinfo #infstg_group_list {
  border-top-style: solid;
  border-top-color: #dfe7ec;
}
#popinstageinfo .stage-info-related-item {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  margin-right: 8px;
  margin-left: 8px;
  padding: 12px 14px;
  border-width: 0 0 1px;
  border-color: #e4eaec;
  border-radius: 3px;
  background: transparent;
  transition: background-color .15s ease;
}
#popinstageinfo .stage-info-related-item::before {
  content: "";
  align-self: stretch;
  width: 3px;
  min-height: 34px;
  flex: 0 0 3px;
  border-radius: 3px;
  background: #8fc2f2;
}
#popinstageinfo #infstg_group_list .stage-info-related-item::before {
  background: #ccd5db;
}
#popinstageinfo .stage-info-related-item:hover,
#popinstageinfo .stage-info-related-item:focus-within {
  background: rgba(228, 234, 236, .42);
}
#popinstageinfo #infstg_linkars_list .stage-info-related-item:hover,
#popinstageinfo #infstg_linkars_list .stage-info-related-item:focus-within {
  background: rgba(98, 168, 234, .07);
}
#popinstageinfo .stage-info-related-name {
  min-width: 0;
  flex: 1 1 auto;
  color: #526069;
  line-height: 1.45;
}
#popinstageinfo .stage-info-related-name > .blue-grey-800 {
  display: block;
  margin-bottom: 3px;
  color: #8796a1 !important;
  font-size: 12px;
  letter-spacing: .025em;
  line-height: 1.25;
  text-transform: uppercase;
}
#popinstageinfo .stage-info-related-name > .blue-grey-700 {
  display: block;
  color: #526069 !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}
#popinstageinfo .stage-info-related-name > .blue-grey-700 strong {
  display: block;
  margin-bottom: 1px;
  color: #37474f;
  font-weight: 600;
}
#popinstageinfo .stage-info-related-name > small {
  display: block;
  margin-top: 3px;
  color: #76838f;
  font-size: 13px;
  line-height: 1.3;
}
#popinstageinfo .stage-info-related-name .blue-grey-500 {
  display: inline-flex;
  align-items: center;
  width: auto;
  margin-top: 8px;
  margin-left: 0 !important;
  padding: 3px 8px;
  border-radius: 12px;
  background: #eef3f6;
  color: #76838f !important;
  font-size: 13px;
  font-weight: 500 !important;
  line-height: 1.35;
}
#popinstageinfo .stage-info-related-indicators {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
#popinstageinfo .stage-info-related-quantity {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 3px 8px;
  border: 1px solid #d7e7f7;
  border-radius: 12px;
  background: rgba(98, 168, 234, .06);
  color: #3583ca;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}
#popinstageinfo .stage-info-related-quantity .icon {
  margin: 0;
  font-size: 12px;
}
#popinstageinfo .stage-info-related-action {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 7px 11px;
  border-color: #bdd7f7;
  border-radius: 4px;
  background: transparent;
  color: #3583ca;
  font-size: 14px;
  font-weight: 500;
}
#popinstageinfo .stage-info-related-action:hover,
#popinstageinfo .stage-info-related-action:focus {
  border-color: #62a8ea !important;
  background: #62a8ea !important;
  color: #fff !important;
  box-shadow: none;
}
#popinstageinfo .stage-info-related-action:hover .icon,
#popinstageinfo .stage-info-related-action:focus .icon {
  color: #fff !important;
}
@media (max-width: 575px) {
  #popinstageinfo #infstg_linkars_div,
  #popinstageinfo #infstg_group_div {
    margin-right: 18px;
    margin-left: 18px;
  }
  #popinstageinfo .stage-info-related-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  #popinstageinfo .stage-info-related-action {
    margin-left: 0;
  }
}
#popinstageinfo .stage-info-activity-section {
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 1px solid #e4eaec;
  background: transparent;
}
#popinstageinfo .stage-info-activity-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
#popinstageinfo .stage-info-activity-content {
  min-height: 72px;
}
#popinstageinfo .stage-info-activity-loading,
#popinstageinfo .stage-info-activity-empty,
#popinstageinfo .stage-info-activity-error {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 18px 20px;
  border: 1px dashed #ccd5db;
  border-radius: 6px;
  color: #76838f;
}
#popinstageinfo .stage-info-activity-loading .stage-info-activity-spinner {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin: 0;
  font-size: 12px;
  vertical-align: middle;
}
#popinstageinfo .stage-info-activity-list {
  margin-left: 18px;
  margin-top: 0;
  margin-bottom: 0;
}
#popinstageinfo .stage-info-activity-list::before {
  left: 0;
  width: 1px;
  margin-left: 0;
  background: #dce3e7;
}
#popinstageinfo .stage-info-activity-list > .timeline-item {
  float: none;
  width: 100%;
  margin-top: 0 !important;
  margin-bottom: 0;
  padding: 0 0 0 56px;
}
#popinstageinfo .stage-info-activity-list > .timeline-item + .timeline-item {
  margin-top: 0;
}
#popinstageinfo .stage-info-activity-list > .timeline-item:last-child .timeline-content-wrap {
  border-bottom: 0;
}
#popinstageinfo .stage-info-activity-list .timeline-dot {
  top: 20px;
  left: 0;
  width: 34px;
  height: 34px;
  margin-top: 0;
  margin-left: -17px;
  line-height: 34px;
  border: 0;
  box-shadow: none;
  cursor: default;
}
#popinstageinfo .stage-info-activity-list .timeline-dot i {
  color: #fff;
  font-size: 15px;
}
#popinstageinfo .stage-info-activity-list .timeline-content-wrap {
  min-height: 0;
  padding: 18px 0 20px;
  border-bottom: 1px solid #e4eaec;
}
#popinstageinfo .stage-info-activity-list .timeline-content-wrap::after {
  display: block;
  clear: both;
  content: "";
}
#popinstageinfo .stage-info-activity-list .timeline-content {
  min-height: 0;
  padding-bottom: 0;
}
#popinstageinfo .stage-info-activity-list .timeline-content .metas {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 4px;
  color: #76838f;
}
#popinstageinfo .stage-info-activity-list .timeline-content .metas small {
  color: #76838f;
}
#popinstageinfo .stage-info-activity-list .timeline-content .title {
  color: #76838f;
  line-height: 1.45;
}
#popinstageinfo .stage-info-activity-list .widget {
  margin: 14px 0 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#popinstageinfo .stage-info-activity-list .widget-content {
  padding: 12px 0 0 !important;
  border-top: 1px dashed #d9e0e4;
  background: transparent !important;
}
#popinstageinfo .stage-info-activity-list .widget-content > strong {
  color: #526069 !important;
}
#popinstageinfo .stage-info-activity-list .widget-content .label {
  color: #76838f;
  border: 0;
  background: #e4eaec;
}
.visible-stage-campaign-group {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #e4eaec;
  border-radius: 4px;
  background: #fff;
}
.visible-stage-campaign-group:last-child {
  margin-bottom: 0;
}
.visible-stage-campaign-heading {
  padding: 12px 14px;
  border-bottom: 1px solid #e4eaec;
  background: #f8fafb;
}
.visible-stage-campaign-group .context-forms-list {
  border: 0;
  border-radius: 0;
}
.campaign-stage-file-count,
.campaign-stage-form-count {
  color: #76838f;
}
.campaign-stage-form-documents {
  margin-top: 4px;
}
.campaign-stage-form-document-link {
  display: block;
  font-size: 12px;
  line-height: 1.45;
}
.campagne-stage-dossier-summary {
  margin-bottom: 20px;
  border: 1px solid #e4eaec;
  border-radius: 4px;
}
.campagne-stage-dossier-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid #e8eef2;
}
.campagne-stage-dossier-item:first-child {
  padding-top: 0;
}
.campagne-stage-dossier-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.campagne-stage-dossier-label {
  width: 150px;
  flex: 0 0 150px;
  color: #37474f;
  font-weight: 600;
}
.campagne-stage-dossier-label .icon {
  margin-right: 6px;
  color: #76838f;
}
.campagne-stage-dossier-content {
  min-width: 0;
  flex: 1 1 auto;
}
@media (max-width: 767px) {
  .online-form-definition-response .form-response-section .panel-heading,
  .online-form-definition-response .form-response-section .panel-body {
    padding: 14px;
  }
  .online-form-definition-response button[type="submit"] {
    width: 100%;
  }
  .context-form-item {
    align-items: stretch;
    flex-direction: column;
  }
  .context-form-actions {
    width: 100%;
  }
  .context-form-actions .btn {
    flex: 1;
  }
  .campagne-stage-dossier-item {
    display: block;
  }
  .campagne-stage-dossier-label {
    width: auto;
    margin-bottom: 4px;
  }
}

.pull-left
{
    float: left;
}

.pull-right
{
    float: right;
}

/* EVALUATIONS */
#map-canvas {
  min-height: 400px;
  margin: 0px;
  padding: 0px
}
#slide-map-canvas, #global-slide-map-canvas {
  min-height: 320px;
  margin: 0px;
  padding: 0px;
}
#A_map-canvas {
  min-height: 320px;
  margin: 0px;
  padding: 0px
}
.widget {
	background: #ffffff;
	position: relative;
	border: 1px solid #efefef;
}
.bg-gray {
	background: #E4EAEC !important;
}
.border-top-none {
	border-top: none !important;
}
.td-first {
	padding-bottom: 8px;
}
.td-border-top {
	border-top: 1px solid #efefef !important;
	padding-top: 8px;
	padding-bottom: 8px;
}
.border-bottom {
	border-bottom: 1px solid #efefef !important;
}
.border-bottom-none {
	border-bottom: none !important;
}
.innerAll {
	padding: 15px;
	position: relative;
}



/* INPUT SANS BORDURES */
.transparentInput {
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	background: transparent;
	border: 0;
	font: inherit;
	resize: none;
	outline: none;
	color: inherit !important;
}

.transparentSelect, .transparentSelect:focus {
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	background: transparent;
	border: 0;
	font: inherit;
	resize: none;
	outline: none;
    color: inherit;
}

textarea.transparentTextarea, textarea.transparentTextarea:focus {
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
    width: 100%;
    rows:2;
    border-color: Transparent;
    font: inherit;
    resize: none;
    outline: none;
}
textarea.smalltransparentTextarea, textarea.smalltransparentTextarea:focus {
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
    width: 100%;
    rows:2;
    border-color: Transparent;
    font: inherit;
    resize: none;
    outline: none;
}
/*.bootstrap-select .btn {
	font-size: 12px !important;
	font-weight: 450 !important;
}
.txt-input {
	 height: 50px;
	 font-size: 15px !important;
	 font-weight:400 !important;
	 color: black !important;
}
*/
.page-aside-section::after {
	border-bottom: 0px !important;
}

#content_eval_list > .sortable {
	border-top: 0px !important;
}

.sortable > * {
	cursor: default!important;
}

.site-sidebar-nav.nav-tabs>.nav-item>.nav-link {
	line-height: 50px;
}

.article-footer {
  padding-top: 20px;
  padding-right: 20px;
  padding-left: 20px;
/*  border-radius: .286rem;
  background-color: #F3F7F9;
  margin-top: 20px;*/

}

.article-footer::after {
  display: block;
  clear: both;
  content: "";
}

.article-footer-actions {
  float: right;
}
.page-print {
	background-color: #fff;
}

.rangeUi-tip {
	top: -42px!important;
}


/* Dashboard */

.dashboard .page-header {
  background-image: url("../images/dashboard-header.jpg");
  -webkit-background-size: cover;
  background-size: cover;
  top: -30px;
}

.dashboard .admin-page-header {
  background-image:none;
  background-color: #F96868;
  -webkit-background-size: cover;
  background-size: cover;
  top: -30px;
}
.dashboard .card, .dashboard .panel {
  height: -webkit-calc(100% - 30px);
  height: calc(100% - 30px);
}

.panel .panel-body .overlay {
	background-image: url("../images/admin-header.jpg");
	-webkit-background-size: cover;
	background-size: cover;
}

.border-left-red {
	border-left: 3px solid #f96868;
}

.border-left-green {
	border-left: 3px solid #46be8a;
}

.border-left-blue {
  border-left: 3px solid #3e8ef7;
}

.border-left-grey {
  border-left: 3px solid #526069;
}

#widgetLinearea .ct-chart .ct-label.ct-vertical, #widgetLinearea .ct-chart .ct-label.ct-horizontal {
  font-size: 14px;
}

#widgetLinearea .ct-chart .ct-area {
  fill-opacity: 1;
}

#widgetLinearea .ct-chart .ct-series.ct-series-a .ct-area {
  fill: #d5e4f1;
}

#widgetLinearea .ct-chart .ct-series.ct-series-b .ct-area {
  fill: #cdf4f1;
}

#widgetLinearea ul .icon {
  vertical-align: text-bottom;
}

#widgetGmap {
  overflow: hidden;
}

#widgetGmap .map {
  border: none;
  padding: 0;
}


#widgetTable .card-block {
  height: auto;
}

#widgetTable table {
  border-top: 1px solid #e4eaec;
}

#widgetTable tr > td {
  padding-top: 15px;
  padding-bottom: 15px;
/*  width: 33.3333%;
  white-space: nowrap;*/
}

#widgetTable tr > td:first-child {
  padding-left: 30px;
  color: #37474f;
}

#widgetTable tr > td:last-child {
  padding-right: 30px;
  text-align: right;
}

#widgetTable .form-control {
  border-color: transparent;
}

#widgetTable .form-control:focus {
  border-color: #62a8ea;
}

#recentActivityWidget .timeline,
.account-timeline-widget .timeline {
  margin-left: 50px;
  margin-right: 30px;
  margin-bottom: 0;
}

#recentActivityWidget .timeline::before,
.account-timeline-widget .timeline::before {
  left: 0;
  top: 20px;
  width: 1px;
  height: 85%;
  margin-left: 0;
  background-color: #e5e5e5;
}

#recentActivityWidget .timeline > li,
.account-timeline-widget .timeline > li {
  width: 100%;
  padding-left: 49px;
  padding-right: 0;
  margin-bottom: 0;
  margin-top: 0;
  cursor: pointer;
}

#recentActivityWidget .timeline > li:last-child .timeline-content-wrap,
.account-timeline-widget .timeline > li:last-child .timeline-content-wrap {
  border-bottom: none;
}

#recentActivityWidget .timeline-content-wrap,
.account-timeline-widget .timeline-content-wrap {
  padding-top: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
}

#recentActivityWidget .timeline-content-wrap::after,
.account-timeline-widget .timeline-content-wrap::after {
  display: block;
  clear: both;
  content: "";
}

#recentActivityWidget .timeline-icon .timeline-reverse .timeline-dot,
.account-timeline-widget .timeline-icon .timeline-reverse .timeline-dot {
  top: 12px;
}

#recentActivityWidget .timeline-content .title,
.account-timeline-widget .timeline-content .title {
  color: #76838f;
}

#recentActivityWidget .timeline-content .title .authors,
#recentActivityWidget .timeline-content .title .room-number,
.account-timeline-widget .timeline-content .title .authors,
.account-timeline-widget .timeline-content .title .room-number {
  margin-right: 5px;
  font-weight: 400;
  color: #37474f;
}

#recentActivityWidget .timeline-content .metas,
.account-timeline-widget .timeline-content .metas {
  padding: 3px 0;
  color: #a3afb7;
}

#recentActivityWidget .timeline-content .members,
.account-timeline-widget .timeline-content .members {
  padding-left: 0;
  margin-top: 7px;
  list-style-type: none;
}

#recentActivityWidget .timeline-content .members > li,
.account-timeline-widget .timeline-content .members > li {
  display: inline-block;
  margin-right: 10px;
}

#recentActivityWidget .timeline-content .members .avatar-sm,
.account-timeline-widget .timeline-content .members .avatar-sm {
  width: 27px;
}

#recentActivityWidget .timeline-content .photos,
.account-timeline-widget .timeline-content .photos {
  padding-left: 0;
  margin-top: 7px;
  list-style-type: none;
}

#recentActivityWidget .timeline-content .photos::after,
.account-timeline-widget .timeline-content .photos::after {
  display: block;
  clear: both;
  content: "";
}

#recentActivityWidget .timeline-content .photos > li,
.account-timeline-widget .timeline-content .photos > li {
  float: left;
  width: 31%;
  margin-right: 3%;
}

#recentActivityWidget .timeline-content .photos > li:last-child,
.account-timeline-widget .timeline-content .photos > li:last-child {
  margin-right: 0;
}

#recentActivityWidget .timeline-content .operates,
.account-timeline-widget .timeline-content .operates {
  padding-left: 0;
  margin-top: 7px;
  list-style-type: none;
}

#recentActivityWidget .timeline-content .operates > li,
.account-timeline-widget .timeline-content .operates > li {
  display: inline-block;
  margin-right: 15px;
}

#recentActivityWidget .timeline-content .operates .btn,
.account-timeline-widget .timeline-content .operates .btn {
  width: 103px;
  height: 30px;
  line-height: 16px;
  color: #76838f;
}

#recentActivityWidget .timeline-content .operates .btn:hover,
.account-timeline-widget .timeline-content .operates .btn:hover {
  color: #fff;
}


.user-background .timeline-item, .user-background .timeline-single .user-background .timeline-item {
  margin-bottom: 12px;
  padding-left: 20px;
}

.user-background .timeline-dot {
  height: 10px;
  width: 10px;
  margin-left: -5px!important;
  line-height: 10px;
  background-color: #ccd5db;
}

.user-background .timeline-content > img {
  max-width: 120px;
}

.user-skills .skill {
    margin-bottom: 12px;
    /*line-height: 40px;*/
    overflow: hidden;
	display: inline-block;
	vertical-align: top;
}

.user-skills .skill-name, .user-skills .skill-num,
.user-skills .skill-team {
    float: left;
    margin-right: 10px;
}

.user-skills .skill-name {
	width: 95px;
	overflow-wrap: break-word;
	/*white-space: nowrap;*/
	/*text-overflow: ellipsis;*/
	font-size: 0.8rem;
	min-height: 40px;
    vertical-align: middle;
}

.user-skills .skill-team {
    float: right;
    margin-left: 10px;
    margin-right: 0
}

.user-skills .skill-team .avatar {
    width: 40px
}

.user-skills .skill-num .badge {
    vertical-align: middle;
	    text-align: center;
    width: 33px;
}

.user-skills .skill:last-child {
    /*margin-bottom: 0*/
}

/* BADGE */

.badge-outline {
	border: 1px solid transparent;
}


.badge-default {
    color: #76838f
}

.badge-default[href]:focus, .badge-default[href]:hover {
    background-color: #f3f7f9
}

.badge-default.badge-outline {
    color: #e4eaec;
    background-color: transparent;
    border-color: #e4eaec
}

.badge-default[href]:focus, .badge-default[href]:hover {
    color: #a3afb7
}

.badge-default.badge-outline {
    color: #76838f
}

.badge-primary[href]:focus, .badge-primary[href]:hover {
    background-color: #589ffc
}

.badge-primary.badge-outline {
    color: #3e8ef7;
    background-color: transparent;
    border-color: #3e8ef7
}

.badge-success[href]:focus, .badge-success[href]:hover {
    background-color: #28d17c
}

.badge-success.badge-outline {
    color: #11c26d;
    background-color: transparent;
    border-color: #11c26d
}

.badge-info[href]:focus, .badge-info[href]:hover {
    background-color: #28c0de
}

.badge-info.badge-outline {
    color: #0bb2d4;
    background-color: transparent;
    border-color: #0bb2d4
}

.badge-warning[href]:focus, .badge-warning[href]:hover {
    background-color: #f57d1b
}

.badge-warning.badge-outline {
    color: #eb6709;
    background-color: transparent;
    border-color: #eb6709
}

.badge-danger[href]:focus, .badge-danger[href]:hover {
    background-color: #ff666b
}

.badge-danger.badge-outline {
    color: #ff4c52;
    background-color: transparent;
    border-color: #ff4c52
}

.badge-dark {
    color: #fff;
    background-color: #526069
}

.badge-dark[href]:focus, .badge-dark[href]:hover {
    background-color: #76838f
}

.badge-dark.badge-outline {
    color: #526069;
    background-color: transparent;
    border-color: #526069
}

.badge-dark[href]:focus, .badge-dark[href]:hover {
    color: #fff;
    text-decoration: none;
    background-color: #3c464c
}




.webui-popover {
	width: auto!important;

}
.webui-popover-content {
	padding: 5px!important;
	font-size: 11px;
}



.app-forum .slidePanel-header {background-color:#37474F!important;}

/*.app-forum .slidePanel-header h1 {color: #263238;}*/

.app-forum .actions-top{position:absolute;top:30px;right:20px}
.app-forum .actions-bottom{position:absolute;bottom:30px;right:20px}
.app-forum .avatar,.app-forum .name{margin-right:6px}
.app-forum .time{color:#a3afb7}
.app-forum .forum-content,.app-forum .forum-header,.app-forum .forum-metas{margin-bottom:20px}
.app-forum .forum-content::after,.app-forum .forum-header::after,.app-forum .forum-metas::after{display:block;clear:both;content:""}
.app-forum .forum-content:last-child{margin-bottom:0}
.app-forum .tags{margin-bottom:15px}
@media (max-width:1199px){.app-forum .page-content .table .content{padding-right:100px}.app-forum .page-content .table .flags{position:absolute;top:0;right:0}}
@media (max-width:479px){.app-forum .nav-tabs-line>li>a{padding:10px}.app-forum .responsive-hide{display:none!important}.app-forum .page-content .table .content{padding-right:0}}

/* FILEUPLOAD */
.uploader-inline {
	margin-bottom: 15px;
}
.upload-instructions {
	margin: 75px 20px!important;
}
.template-download .preview img {
	height: auto!important;
}
.file-wrap .preview {
	background-color: transparent!important;
}

.upload-form .uploader-inline,
.upload-form.has-file .file-wrap {
	transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.upload-form.add-file-hover .uploader-inline,
.upload-form.hover .uploader-inline {
	border-color: #62a8ea;
	background: #f5faff;
}
.upload-form.has-file.add-file-hover .file-wrap,
.upload-form.has-file.hover .file-wrap {
	background: #f5faff;
	box-shadow: inset 0 0 0 2px rgba(98, 168, 234, .65);
}

.upload-form .file-wrap .template-download .file-download-preview {
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	color: inherit;
	text-decoration: none;
}
.upload-form .file-wrap .template-download .file-download-preview:hover,
.upload-form .file-wrap .template-download .file-download-preview:focus,
.upload-form .file-wrap .template-download .file-download-name:hover,
.upload-form .file-wrap .template-download .file-download-name:focus {
	color: inherit;
	outline: 0;
	text-decoration: none;
}
.upload-form .file-wrap .template-download .file-download-preview {
	cursor: pointer;
}
.upload-form .file-wrap .template-download.image .file-download-preview img {
	width: 100%;
	height: 100%!important;
	object-fit: cover;
	object-position: center;
}
.upload-form .file-wrap .template-download:not(.image) .preview {
	background-color: #f3f7f9!important;
}
.upload-form .file-wrap .template-download .file-download-preview:focus {
	box-shadow: 0 0 0 3px rgba(62, 142, 247, .25);
}
.upload-form .file-wrap .template-download .file-download-hint {
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	background: rgba(38, 50, 56, .68);
	color: #fff;
	font-size: 0;
	line-height: 1;
	opacity: 0;
	pointer-events: none;
	transition: opacity .18s ease;
}
.upload-form .file-wrap .template-download .file-download-hint .icon {
	margin: 0;
	font-size: 34px;
}
.upload-form .file-wrap .template-download .preview:hover .file-download-hint,
.upload-form .file-wrap .template-download .preview:focus-within .file-download-hint {
	opacity: 1;
}
.upload-form .file-wrap .template-download .info-wrap {
	min-height: 36px;
}
.upload-form .file-wrap .template-download .file-delete-button {
	position: absolute;
	z-index: 3;
	top: 0;
	right: 0;
	display: inline-flex;
	width: 54px;
	height: 54px;
	align-items: flex-start;
	justify-content: flex-end;
	padding: 8px 9px 0 0;
	border: 0;
	background: rgba(38, 50, 56, .86);
	color: #fff;
	font: inherit;
	font-size: 16px;
	line-height: 1;
	opacity: 0;
	cursor: pointer;
	-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%);
	clip-path: polygon(0 0, 100% 0, 100% 100%);
	transition: background-color .18s ease, opacity .18s ease;
}
.upload-form .file-wrap .template-download .file-delete-button::before {
	position: absolute;
	top: 26px;
	left: -11px;
	width: 76px;
	height: 1px;
	background: rgba(255, 255, 255, .42);
	content: "";
	pointer-events: none;
	transform: rotate(45deg);
}
.upload-form .file-wrap .template-download .preview:hover .file-delete-button,
.upload-form .file-wrap .template-download .file-delete-button:focus {
	opacity: 1;
}
.upload-form .file-wrap .template-download .file-delete-button:hover,
.upload-form .file-wrap .template-download .file-delete-button:focus {
	outline: 0;
	background: rgba(249, 104, 104, .94);
	color: #fff;
	text-decoration: none;
}
.upload-form .file-wrap .template-download .file-delete-button .icon {
	margin: 0;
}

.pointer {
	cursor: pointer;
}

/* ADMON */
div.dataTables_filter {
	float: right;
}

.introjs-prevbutton:not(.introjs-disabled) {
	cursor: pointer;
}
.introjs-nextbutton:not(.introjs-disabled) {
	cursor: pointer;
}
.introjs-overlay {
	opacity: 0.55!important;
}
.introjs-skipbutton {
	background: #526069 !important;
	cursor: pointer;
}
.introjs-donebutton {
	background: #f96868 !important;
}

.breadcrumb {
    padding: 8px 10px;
    margin-bottom: 22px;
    list-style: none;
    background-color: transparent;
    border-radius: 3px
}

.breadcrumb > li {
    display: inline-block
}

.breadcrumb > li + li:before {
    padding: 0 5px;
    color: #62a8ea;
    content: "/\00a0"
}

.breadcrumb > .active {
    color: #76838f
}



.table > tbody > tr.active > td, .table > tbody > tr.active > th, .table > tbody > tr > td.active,
.table > tbody > tr > th.active, .table > tfoot > tr.active > td, .table > tfoot > tr.active > th,
.table > tfoot > tr > td.active, .table > tfoot > tr > th.active, .table > thead > tr.active > td,
.table > thead > tr.active > th, .table > thead > tr > td.active, .table > thead > tr > th.active {
    background-color: #f3f7f9
}

.table-hover > tbody > tr.active:hover > td, .table-hover > tbody > tr.active:hover > th,
.table-hover > tbody > tr:hover > .active, .table-hover > tbody > tr > td.active:hover,
.table-hover > tbody > tr > th.active:hover {
    background-color: #e2ecf1
}

.table > tbody > tr.success > td, .table > tbody > tr.success > th, .table > tbody > tr > td.success,
.table > tbody > tr > th.success, .table > tfoot > tr.success > td, .table > tfoot > tr.success > th,
.table > tfoot > tr > td.success, .table > tfoot > tr > th.success, .table > thead > tr.success > td,
.table > thead > tr.success > th, .table > thead > tr > td.success, .table > thead > tr > th.success {
    background-color: #46be8a
}

.table-hover > tbody > tr.success:hover > td, .table-hover > tbody > tr.success:hover > th,
.table-hover > tbody > tr:hover > .success, .table-hover > tbody > tr > td.success:hover,
.table-hover > tbody > tr > th.success:hover {
    background-color: #3dae7d
}

.table > tbody > tr.info > td, .table > tbody > tr.info > th, .table > tbody > tr > td.info,
.table > tbody > tr > th.info, .table > tfoot > tr.info > td, .table > tfoot > tr.info > th,
.table > tfoot > tr > td.info, .table > tfoot > tr > th.info, .table > thead > tr.info > td,
.table > thead > tr.info > th, .table > thead > tr > td.info, .table > thead > tr > th.info {
    background-color: #57c7d4
}

.table-hover > tbody > tr.info:hover > td, .table-hover > tbody > tr.info:hover > th,
.table-hover > tbody > tr:hover > .info, .table-hover > tbody > tr > td.info:hover,
.table-hover > tbody > tr > th.info:hover {
    background-color: #43c0cf
}

.table > tbody > tr.warning > td, .table > tbody > tr.warning > th, .table > tbody > tr > td.warning,
.table > tbody > tr > th.warning, .table > tfoot > tr.warning > td, .table > tfoot > tr.warning > th,
.table > tfoot > tr > td.warning, .table > tfoot > tr > th.warning, .table > thead > tr.warning > td,
.table > thead > tr.warning > th, .table > thead > tr > td.warning, .table > thead > tr > th.warning {
    background-color: #f2a654
}

.table-hover > tbody > tr.warning:hover > td, .table-hover > tbody > tr.warning:hover > th,
.table-hover > tbody > tr:hover > .warning, .table-hover > tbody > tr > td.warning:hover,
.table-hover > tbody > tr > th.warning:hover {
    background-color: #f09a3c
}

.table > tbody > tr.danger > td, .table > tbody > tr.danger > th, .table > tbody > tr > td.danger,
.table > tbody > tr > th.danger, .table > tfoot > tr.danger > td, .table > tfoot > tr.danger > th,
.table > tfoot > tr > td.danger, .table > tfoot > tr > th.danger, .table > thead > tr.danger > td,
.table > thead > tr.danger > th, .table > thead > tr > td.danger, .table > thead > tr > th.danger {
    background-color: #f96868
}

.table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr.danger:hover > th,
.table-hover > tbody > tr:hover > .danger, .table-hover > tbody > tr > td.danger:hover,
.table-hover > tbody > tr > th.danger:hover {
    background-color: #f84f4f
}


/*SELECT*/
.modal-open > .select2-container{z-index:1701}


/*SELECTSIZE*/
.selectize-input {
	border: 1px solid #e4eaec !important;
	padding: .65rem 2rem .65rem 1rem!important;
	border-radius: .215rem!important;
	box-shadow:none!important;
}
.selectize-dropdown {
	border: 1px solid #e4eaec !important;
	box-shadow:none!important;
}
.selectize-control.single .selectize-input {
	background-color: #ffffff !important;
	background-image:none!important;
}
.selectize-dropdown .option, .selectize-dropdown .optgroup-header {
    padding: 6px;
}
.selectize-dropdown-content > div {
    padding: 6px 10px;
}
.selectize-dropdown-content > div.selected {
   /*background-color: #f3f7f9;*/
}
.selectize-input, .selectize-control.single .selectize-input.input-active {
	background: #fff;
}
.selectize-control.single .selectize-input:after {
    border-color: #a3afb7 transparent transparent transparent !important;
}
.selectize-dropdown, .selectize-input, .selectize-input input {
    color: #76838f!important;
    font-family: Roboto,sans-serif!important;
    font-size: 1rem!important;
    font-weight: 300!important;
    line-height: 1.571429!important;
    -webkit-font-smoothing: inherit;
}
.selectize-control .selectize-dropdown .by {
	/*font-size: 12px;*/
	opacity: 0.5;
	white-space:nowrap;
}
.selectize-control .selectize-dropdown .by::before {
	/*content: 'chez ';*/
}
.selectize-control .selectize-dropdown .name {
	font-weight: bold;
}
.selectize-control .selectize-dropdown .title {
	display: block;
}
.selectize-control .selectize-dropdown .url {
	color: #62a8ea;
}
.selectize-control .selectize-dropdown .description {
	font-size: 12px;
	display: block;
	color: #a0a0a0;
	white-space: nowrap;
	width: 100%;
	text-overflow: ellipsis;
	overflow: hidden;
}
.selectize-control .selectize-dropdown .meta {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 10px;
}
.selectize-control .selectize-dropdown .meta li {
	margin: 0;
	padding: 0;
	display: inline;
	margin-right: 10px;
}
.selectize-control .selectize-dropdown .meta li span {
	font-weight: bold;
}
.position-sticky-menu {
  position: -webkit-sticky;
  position: sticky;
  top: 70px;
  z-index: 3;
  background:white;
}
.position-sticky-top {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  z-index: 3;
  background:white;
}
.floating-header { /* pour tablesaw */
  position: fixed;
  top: 70px;
  background-color: white!important;
  z-index: 3; /* Pour rester au-dessus des autres éléments */
}


.overflow-scroll {
  overflow-y: scroll;
}

.input-group-text {
    height:2.573rem
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: .429rem 1rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.57142857;
    color: #76838f;
    text-align: center;
    white-space: nowrap;
    background-color: #e4eaec;
    border: 1px solid #e4eaec;
    border-radius:.215rem
}
.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}
.input-group-text .checkbox-custom, .input-group-text .radio-custom {
    margin:0
}
.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group-append, .input-group-prepend {
    transition:border .25s linear, color .25s linear, background-color .25s linear
}

.input-group-append .btn > .icon, .input-group-prepend .btn > .icon {
    line-height: inherit;
    vertical-align:bottom
}

.input-group-append .btn ~ .dropdown-toggle::after, .input-group-prepend .btn ~ .dropdown-toggle::after {
    margin-left:0
}

.input-group-append:last-child > .btn, .input-group-append:last-child > .btn-group, .input-group-prepend:last-child > .btn, .input-group-prepend:last-child > .btn-group {
    z-index:1
}

.input-group-lg .input-group-append, .input-group-lg .input-group-prepend {
    line-height:1.3333333333
}

.input-group-sm .input-group-append, .input-group-sm .input-group-prepend {
    line-height:1.5
}

.text-decoration-none {
  text-decoration: none !important;
}

.lh-1 {
  line-height: 1 !important;
}

.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;   /* limite à 2 lignes */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .site-navbar .oppi-navbar-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    overflow: visible !important;
  }

  .site-navbar .oppi-navbar-toolbar-main {
    display: flex;
    flex-wrap: nowrap;
    float: none !important;
    width: 100% !important;
    min-width: 0;
    margin-bottom: 0;
    overflow-x: auto;
    overflow-y: hidden;
    /* white-space: nowrap; */
    scrollbar-width: thin;
  }

  .site-navbar .oppi-navbar-toolbar-main > .nav-item {
    float: none !important;
    display: inline-block;
    vertical-align: top;
  }

  .site-navbar .oppi-navbar-toolbar-main > .nav-item > .nav-link {
    white-space: nowrap;
  }

  .site-navbar .oppi-navbar-toolbar-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-end;
    float: none !important;
    width: auto !important;
    min-width: max-content;
    margin-right: 0 !important;
    margin-left: 12px !important;
    margin-bottom: 0;
    padding-left: 8px;
    position: relative;
    z-index: 4;
  }

  .site-navbar .oppi-navbar-toolbar-actions > .nav-item {
    float: none !important;
    flex: 0 0 auto;
  }
}

/* Accès rapides de l'administration
 * Palette du site : blue-*, green-*, orange-* et blue-grey-*.
 */
#admin-quick-access-dropdown {
  max-height: calc(100vh - 66px);
  max-height: calc(100dvh - 66px);
  overflow-y: auto;
  border: 0;
  background: linear-gradient(
    to right,
    #76838f 0,
    #76838f 280px,
    #fafafa 280px,
    #fafafa 100%
  );
  box-shadow:
    inset 0 3px 0 rgba(38, 50, 56, .2),
    0 12px 28px rgba(55, 71, 79, .12);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

#admin-quick-access-dropdown .admin-quick-access-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 24px 24px 0;
}

.admin-quick-access-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-template-areas: "tools search";
  align-items: start;
  gap: 20px;
}

.admin-quick-access-layout.is-tools-only {
  grid-template-columns: minmax(0, 640px);
  grid-template-areas: "tools";
}

.admin-quick-access-layout.is-tools-only .admin-quick-access-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-quick-access-tools-panel {
  grid-area: tools;
  position: sticky;
  top: 0;
  min-width: 0;
  padding: 22px 18px 26px 30px;
  border: 0;
  border-radius: 0 0 10px 0;
  background: #76838f;
}

.admin-quick-access-tools {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-quick-access-tools .admin-quick-access-tool {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 11px 15px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 7px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 1px 2px rgba(38, 50, 56, .1);
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  white-space: nowrap;
  transition: border-color .15s ease, box-shadow .15s ease, color .15s ease, transform .15s ease;
}

.admin-quick-access-tools .admin-quick-access-tool .icon {
  width: 25px;
  flex: 0 0 25px;
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 20px;
  text-align: center;
}

.admin-quick-access-tools .admin-quick-access-tool span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-quick-access-tools .admin-quick-access-tool:hover,
.admin-quick-access-tools .admin-quick-access-tool:focus {
  border-color: rgba(255, 255, 255, .72);
  outline: 0;
  background: rgba(255, 255, 255, .16);
  box-shadow: 0 4px 12px rgba(38, 50, 56, .16);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.admin-quick-access-tools .admin-quick-access-tool:hover .icon,
.admin-quick-access-tools .admin-quick-access-tool:focus .icon {
  color: #fff;
}

.admin-quick-access-tools .admin-quick-access-tool.is-primary {
  border-color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.admin-quick-access-tools .admin-quick-access-tool.is-primary .icon {
  color: #fff;
}

.admin-quick-access-search {
  grid-area: search;
  min-width: 0;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #e4eaec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(55, 71, 79, .08);
}

.admin-quick-access-favorites {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.admin-quick-access-favorites ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-quick-access-favorites li + li {
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.admin-quick-access-favorites a {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  padding: 8px 2px;
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
  line-height: 1.35;
}

.admin-quick-access-favorites a:hover,
.admin-quick-access-favorites a:focus {
  color: #fff;
  text-decoration: none;
}

.admin-quick-access-favorites a .wb-star {
  flex: 0 0 auto;
  color: #f2a654;
}

.admin-quick-access-favorites a span {
  min-width: 0;
  flex: 1 1 auto;
}

.admin-quick-access-favorites a .wb-arrow-right {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .55);
  font-size: 10px;
}

.admin-quick-access-input-wrap {
  border-radius: 200px;
  box-shadow: 0 8px 24px rgba(55, 71, 79, .12);
}

.admin-quick-access-input-wrap .form-control {
  height: 46px;
  padding-right: 48px;
  border-color: #ccd5db;
}

.admin-quick-access-input-wrap .form-control:focus {
  border-color: #62a8ea;
}

.admin-quick-access-input-wrap input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

.admin-quick-access-spinner {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 18px;
  display: none;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.admin-quick-access-spinner .loader {
  width: 16px;
  height: 16px;
  margin: 0;
  box-sizing: border-box;
  font-size: 16px;
}

.admin-quick-access-spinner.is-visible {
  display: inline-flex;
}

.admin-quick-access-spinner.is-visible + .admin-quick-access-clear {
  display: none !important;
}

.admin-quick-access-results {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.admin-quick-access-results.has-user-results:not(.has-stage-results) .is-user-results,
.admin-quick-access-results.has-stage-results:not(.has-user-results) .is-stage-results {
  grid-column: 1 / -1;
}

.admin-quick-access-results > p {
  grid-column: 1 / -1;
}

.admin-quick-access-suggestions {
  grid-column: 1 / -1;
  display: flex;
  max-width: 100%;
  gap: 7px;
  padding: 2px 1px 5px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.admin-quick-access-suggestions::-webkit-scrollbar {
  display: none;
}

.admin-quick-access-suggestion {
  display: inline-flex;
  min-width: 0;
  max-width: 210px;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid #e4eaec;
  border-radius: 17px;
  background: #f3f7f9;
  color: #526069;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  line-height: 32px;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.admin-quick-access-suggestion .icon {
  flex: 0 0 auto;
  font-size: 13px;
}

.admin-quick-access-suggestion span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-quick-access-suggestion:hover,
.admin-quick-access-suggestion:focus {
  border-color: #62a8ea;
  outline: 0;
  background: #e8f1f8;
  color: #3e8ef7;
  text-decoration: none;
}

.admin-quick-access-suggestion:hover span,
.admin-quick-access-suggestion:focus span {
  text-decoration: none;
}

.admin-quick-access-result-group {
  min-width: 0;
}

.admin-quick-access-result-group h5 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px;
  color: #526069;
}

.admin-quick-access-result-list {
  max-height: 520px;
  max-height: min(520px, calc(100vh - 260px));
  max-height: min(520px, calc(100dvh - 260px));
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #e4eaec;
  border-radius: 6px;
  background: #fff;
  overscroll-behavior: contain;
  scrollbar-color: #ccd5db transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.admin-quick-access-result-list::-webkit-scrollbar {
  width: 6px;
}

.admin-quick-access-result-list::-webkit-scrollbar-track {
  background: transparent;
}

.admin-quick-access-result-list::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: #ccd5db;
}

.admin-quick-access-result-list::-webkit-scrollbar-thumb:hover {
  background: #a3afb7;
}

.admin-quick-access-result {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 68px;
  padding: 11px 13px;
  border: 0;
  border-bottom: 1px solid #f3f7f9;
  background: #fff;
  color: #526069;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

.admin-quick-access-result:last-child {
  border-bottom: 0;
}

.admin-quick-access-result:hover,
.admin-quick-access-result:focus {
  outline: 0;
  background: #f3f7f9;
  color: #62a8ea;
  text-decoration: none;
}

.admin-quick-access-result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin-right: 11px;
  border-radius: 50%;
  background: #e8f1f8;
  color: #62a8ea;
  font-size: 17px;
}

.admin-quick-access-result-body {
  min-width: 0;
  flex: 1 1 auto;
}

.admin-quick-access-result-body strong,
.admin-quick-access-result-body small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-quick-access-result-body strong {
  color: #37474f;
  font-size: 14px;
}

.admin-quick-access-result-body small {
  margin-top: 3px;
  color: #76838f;
}

.admin-quick-access-result[data-stage-preview] {
  min-height: 78px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.admin-quick-access-result[data-stage-preview] .admin-quick-access-result-icon {
  background: #e7faf2;
  color: #46be8a;
}

.admin-quick-access-result[data-stage-preview] .admin-quick-access-result-body strong {
  display: -webkit-box;
  max-height: 2.8em;
  overflow: hidden;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.admin-quick-access-result[data-stage-preview] .admin-quick-access-result-body small {
  margin-top: 3px;
}

.admin-quick-access-result-rts {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #76838f;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-quick-access-result[data-stage-preview] .admin-quick-access-result-status {
  align-self: flex-start;
  margin-top: 3px;
}

.admin-quick-access-result-status {
  flex: 0 0 auto;
  margin-left: 10px;
}

.admin-quick-access-result-arrow {
  flex: 0 0 auto;
  margin-left: 7px;
}

.admin-quick-access-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 92px;
  padding: 20px;
  border: 1px dashed #ccd5db;
  border-radius: 6px;
  background: #f3f7f9;
  color: #76838f;
  text-align: center;
}

/* Aperçu global d'un compte */
.admin-user-preview-dialog {
  width: calc(100% - 32px);
  max-width: 1180px;
}

#popinuserinfo .modal-content {
  position: relative;
  overflow: hidden;
}

#popinuserinfo .admin-user-preview-close {
  position: absolute;
  z-index: 4;
  top: 24px;
  right: 28px;
  margin: 0;
}

#popinuserinfo .modal-footer {
  padding: 14px 28px;
  border-top: 1px solid #e4eaec;
}

#popinuserinfo .admin-user-preview-pin {
  min-width: 126px;
  margin-right: auto;
  color: #76838f;
}

#popinuserinfo .admin-user-preview-pin:hover,
#popinuserinfo .admin-user-preview-pin:focus {
  color: #526069;
}

#popinuserinfo .admin-user-preview-pin.is-pinned {
  border-color: #f2a654;
  background: #fff3e6;
  color: #ec9940;
}

#popinuserinfo .admin-user-preview-pin.is-loading {
  opacity: .65;
}

.admin-user-preview-loading {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #76838f;
}

.admin-user-preview-identity,
.admin-user-preview-career {
  max-height: calc(100vh - 168px);
  overflow-y: auto;
}

.admin-user-preview-identity {
  display: flex;
  border-right: 1px solid #e4eaec;
  background: #f3f7f9;
}

.admin-user-preview-identity > .card {
  width: 100%;
  flex: 1 1 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.admin-user-preview-identity .card-shadow {
  box-shadow: none;
}

.admin-user-preview-identity .card-block {
  padding: 28px;
}

.admin-user-preview-avatar {
  font-size: 65px;
}

.admin-user-preview-identity .timeline-content {
  max-width: none;
}

#popinuserinfo .admin-user-preview-career {
  min-width: 0;
  padding: 28px;
  background: #fafafa;
}

.admin-user-preview-section-heading {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-right: 42px;
  padding-bottom: 0;
  border-bottom: 0;
}

.admin-user-preview-periods {
  display: flex;
  max-width: 100%;
  align-items: flex-start;
  gap: 14px;
  padding: 2px 18px 12px 2px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-padding-right: 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-color: #ccd5db transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.admin-user-preview-periods:focus {
  outline: 2px solid rgba(98, 168, 234, .22);
  outline-offset: 3px;
}

.admin-user-preview-periods:not(.is-scrollable) {
  padding-right: 2px;
  padding-bottom: 2px;
  overflow-x: visible;
}

.admin-user-preview-periods::-webkit-scrollbar {
  height: 7px;
}

.admin-user-preview-periods::-webkit-scrollbar-track {
  border-radius: 10px;
  background: transparent;
}

.admin-user-preview-periods::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #ccd5db;
}

.admin-user-preview-period {
  width: min(365px, 86%);
  min-width: 305px;
  flex: 0 0 min(365px, 86%);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e4eaec;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(55, 71, 79, .06);
  scroll-snap-align: start;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.admin-user-preview-period.is-current {
  border-color: #62a8ea;
  box-shadow:
    inset 4px 0 0 #62a8ea,
    0 4px 12px rgba(98, 168, 234, .1);
  background: #fff;
}

.admin-user-preview-period.is-unrecorded {
  min-height: 82px;
  border-style: dashed;
  background: rgba(255, 255, 255, .58);
  box-shadow: none;
}

.admin-user-preview-period.is-unrecorded .admin-user-preview-period-heading {
  margin-bottom: 0;
}

.admin-user-preview-period-heading {
  position: relative;
  margin: 0;
  padding: 17px 18px 15px;
  border-bottom: 1px solid #e4eaec;
  background: #fafafa;
}

.admin-user-preview-period.is-current .admin-user-preview-period-heading {
  padding-left: 21px;
  background: linear-gradient(115deg, rgba(98, 168, 234, .1), rgba(255, 255, 255, 0) 78%);
}

.admin-user-preview-period-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 10px;
  row-gap: 3px;
  margin-top: 4px;
}

.admin-user-preview-period-heading h5 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
}

.admin-user-preview-period-semester {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
}

.admin-user-preview-period-semester::before {
  width: 1px;
  height: 12px;
  margin-right: 9px;
  background: #ccd5db;
  content: "";
}

.admin-user-preview-period-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.admin-user-preview-period-detail {
  margin: 12px 18px 0;
  padding-top: 11px;
  border-top: 1px solid #e4eaec;
}

.admin-user-preview-period-heading + .admin-user-preview-period-detail {
  margin-top: 0;
  padding-top: 15px;
  border-top: 0;
}

.admin-user-preview-period > .admin-user-preview-period-detail:last-child,
.admin-user-preview-period > .admin-user-preview-period-status:last-child {
  margin-bottom: 17px;
}

.admin-user-preview-period-detail strong,
.admin-user-preview-period-detail small {
  display: block;
  overflow-wrap: anywhere;
}

.admin-user-preview-period-detail strong {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.admin-user-preview-period-detail small {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.4;
}

.admin-user-preview-period-detail.is-maquette strong {
  font-weight: 500;
}

.admin-user-preview-period-label {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .045em;
  line-height: 1.35;
  text-transform: uppercase;
}

.admin-user-preview-period-status {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  margin: 11px 18px 0;
}

.admin-user-preview-period-status .admin-user-preview-period-label {
  margin-bottom: 0;
}

.admin-user-preview-validation {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}

.admin-user-preview-validation .icon {
  flex: 0 0 auto;
  font-size: 14px;
}

.admin-user-preview-stage-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px;
}

.admin-user-preview-stage {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e4eaec;
  border-radius: 6px;
  background: #f3f7f9;
  color: #526069;
  text-align: left;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

button.admin-user-preview-stage {
  cursor: pointer;
}

button.admin-user-preview-stage:hover,
button.admin-user-preview-stage:focus {
  border-color: #62a8ea;
  outline: 0;
  background: #fff;
  box-shadow: 0 3px 9px rgba(98, 168, 234, .11);
  color: #526069;
}

.admin-user-preview-stage-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
}

.admin-user-preview-stage-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.admin-user-preview-stage-kind {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .045em;
  line-height: 1.3;
  text-transform: uppercase;
}

.admin-user-preview-stage > .icon {
  flex: 0 0 auto;
  margin-left: 2px;
  font-size: 16px;
}

.admin-user-preview-stage.is-readonly {
  background: #f3f7f9;
  color: #76838f;
}

.admin-user-preview-career-empty {
  display: flex;
  width: 100%;
  min-height: 0;
  flex: 1 1 100%;
  align-items: center;
  gap: 11px;
  padding: 16px 18px;
  border: 1px dashed #ccd5db;
  border-radius: 8px;
  background: #fff;
  color: #76838f;
  text-align: left;
}

.admin-user-preview-career-empty .icon {
  flex: 0 0 auto;
  font-size: 22px;
  color: #a3afb7;
}

.admin-user-preview-career-empty p {
  margin: 0;
}

.admin-user-preview-access-section {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #e4eaec;
}

.admin-user-preview-access-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-user-preview-accesses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-user-preview-access-group {
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid #e4eaec;
  border-radius: 8px;
  background: #fff;
}

.admin-user-preview-access-group.has-access.is-admin {
  border-left: 3px solid #62a8ea;
}

.admin-user-preview-access-group.has-access.is-internship {
  border-left: 3px solid #926dde;
}

.admin-user-preview-access-group-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 11px;
  border-bottom: 1px solid #e4eaec;
}

.admin-user-preview-access-group-heading > div {
  min-width: 0;
  flex: 1 1 auto;
}

.admin-user-preview-access-group-heading strong,
.admin-user-preview-access-group-heading small {
  display: block;
}

.admin-user-preview-access-group-heading strong {
  color: #37474f;
}

.admin-user-preview-access-group-heading small {
  margin-top: 2px;
  color: #a3afb7;
}

.admin-user-preview-access-total {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 10px;
  background: #e8f1f8;
  color: #62a8ea;
  font-size: 10px;
  font-weight: 500;
}

.admin-user-preview-access-group.is-internship .admin-user-preview-access-total {
  background: #f6f2ff;
  color: #926dde;
}

.admin-user-preview-access-list {
  padding-top: 5px;
}

.admin-user-preview-access-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f3f7f9;
}

.admin-user-preview-access-row:last-child {
  border-bottom: 0;
}

.admin-user-preview-access-row > div {
  min-width: 0;
  flex: 1 1 auto;
}

.admin-user-preview-access-row strong,
.admin-user-preview-access-row small {
  display: block;
  overflow-wrap: anywhere;
}

.admin-user-preview-access-row strong {
  color: #526069;
  font-size: 12px;
}

.admin-user-preview-access-row .admin-user-preview-access-scope {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.admin-user-preview-access-scope > span {
  font-weight: 400;
}

.admin-user-preview-access-row small {
  margin-top: 1px;
  color: #a3afb7;
  font-size: 11px;
}

.admin-user-preview-access-row .admin-user-preview-access-profile {
  margin-top: 4px;
}

.admin-user-preview-access-expiry {
  flex: 0 0 auto;
  padding: 2px 6px;
  border-radius: 10px;
  background: #f3f7f9;
  color: #76838f;
  font-size: 10px;
  white-space: nowrap;
}

.admin-user-preview-access-empty-state {
  grid-column: 1 / -1;
}

@media (max-width: 991px) {
  #admin-quick-access-dropdown {
    background: linear-gradient(
      to right,
      #76838f 0,
      #76838f 235px,
      #fafafa 235px,
      #fafafa 100%
    );
  }

  .admin-quick-access-layout {
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 18px;
  }

  .admin-quick-access-tools-panel {
    padding-right: 14px;
    padding-left: 18px;
  }

  .admin-quick-access-search {
    margin-top: 16px;
    padding: 16px;
  }

  .admin-quick-access-tools {
    gap: 6px;
  }

  .admin-quick-access-results {
    grid-template-columns: 1fr;
  }

  .admin-user-preview-identity,
  .admin-user-preview-career {
    max-height: none;
    overflow-y: visible;
  }

  .admin-user-preview-identity {
    border-right: 0;
    border-bottom: 1px solid #e4eaec;
  }
}

@media (max-width: 767px) {
  .site-navbar.admin-quick-access-mobile-active {
    overflow: visible;
  }

  .site-navbar.admin-quick-access-mobile-active .navbar-container,
  .site-navbar.admin-quick-access-mobile-active #site-navbar-collapse,
  .site-navbar.admin-quick-access-mobile-active .oppi-navbar-toolbar-main {
    overflow: visible !important;
  }

  .site-navbar.admin-quick-access-mobile-active #site-navbar-collapse {
    display: block !important;
    width: 0;
    min-height: 0;
    height: 0 !important;
    flex: 0 0 0;
    padding: 0;
    border: 0;
  }

  .site-navbar.admin-quick-access-mobile-active .oppi-navbar-toolbar-main {
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
  }

  .site-navbar.admin-quick-access-mobile-active .oppi-navbar-toolbar-main > .nav-item:not(#admin-quick-access-menu),
  .site-navbar.admin-quick-access-mobile-active .oppi-navbar-toolbar-actions,
  .site-navbar.admin-quick-access-mobile-active #admin-quick-access-menu > .nav-link {
    display: none !important;
  }

  .site-navbar.admin-quick-access-mobile-active #admin-quick-access-menu {
    position: static;
    display: block;
    width: 0;
    height: 0;
  }

  .site-navbar.admin-quick-access-mobile-active #admin-quick-access-dropdown {
    position: fixed !important;
    z-index: 1600;
    top: 66px !important;
    right: 0 !important;
    bottom: 0;
    left: 0 !important;
    width: 100% !important;
    height: auto;
    max-height: calc(100vh - 66px);
    max-height: calc(100dvh - 66px);
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    border: 0;
    border-top: 1px solid #e4eaec;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 10px 24px rgba(55, 71, 79, .12);
    transform: none !important;
  }

  #admin-quick-access-dropdown {
    max-height: calc(100vh - 66px);
    max-height: calc(100dvh - 66px);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  #admin-quick-access-dropdown .admin-quick-access-content {
    padding: 16px 16px calc(18px + env(safe-area-inset-bottom));
  }

  .admin-quick-access-layout,
  .admin-quick-access-layout.is-tools-only {
    display: flex;
    flex-direction: column;
  }

  .admin-quick-access-tools-panel {
    position: static;
    order: 2;
    width: 100%;
    margin-top: 16px;
    margin-bottom: 0;
    padding: 12px;
    border: 1px solid #76838f;
    border-radius: 8px;
    background: #76838f;
  }

  .admin-quick-access-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .admin-quick-access-tools .admin-quick-access-tool {
    min-height: 54px;
    padding: 10px 13px;
  }

  .admin-quick-access-search {
    order: 1;
    width: 100%;
    margin-top: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .admin-quick-access-input-wrap .form-control {
    height: 44px;
    font-size: 16px;
  }

  .admin-quick-access-result {
    min-height: 64px;
    padding: 10px;
  }

  .admin-quick-access-result-list {
    max-height: none;
    overflow-y: visible;
  }

  .admin-quick-access-result-body strong,
  .admin-quick-access-result-body small {
    white-space: normal;
  }

  .admin-quick-access-empty {
    min-height: 76px;
  }

  .admin-user-preview-accesses {
    grid-template-columns: 1fr;
  }

  .admin-user-preview-period {
    width: min(335px, 88%);
    min-width: 280px;
    flex-basis: min(335px, 88%);
  }
}

@media (max-width: 575px) {
  .admin-quick-access-result-status {
    display: none;
  }

  .admin-user-preview-dialog {
    width: calc(100% - 16px);
    margin: 8px auto;
  }

  #popinuserinfo .modal-footer,
  #popinuserinfo .admin-user-preview-career,
  .admin-user-preview-identity .card-block {
    padding: 16px;
  }

  #popinuserinfo .admin-user-preview-close {
    top: 12px;
    right: 12px;
  }

  #popinuserinfo .admin-user-preview-pin {
    min-width: 40px;
    padding-right: 12px;
    padding-left: 12px;
  }

  #popinuserinfo .admin-user-preview-pin span {
    display: none;
  }

  .admin-user-preview-section-heading {
    align-items: flex-start;
    padding-right: 36px;
  }

  .admin-user-preview-period {
    width: min(315px, 90%);
    min-width: 265px;
    flex-basis: min(315px, 90%);
  }

  .admin-user-preview-periods {
    padding-right: 14px;
    scroll-padding-right: 14px;
  }

  .admin-user-preview-period-heading {
    padding: 15px;
  }

  .admin-user-preview-period.is-current .admin-user-preview-period-heading {
    padding-left: 18px;
  }

  .admin-user-preview-period-detail {
    margin-right: 15px;
    margin-left: 15px;
  }

  .admin-user-preview-period-status {
    margin-right: 15px;
    margin-left: 15px;
  }

  .admin-user-preview-stage-list {
    margin: 12px;
  }
}

@media (max-width: 479px) {
  .admin-quick-access-tools,
  .admin-quick-access-layout.is-tools-only .admin-quick-access-tools {
    grid-template-columns: 1fr;
  }
}

/* Historique visuel des cycles d’agrément */
#modal-stage-approval-cycles .modal-dialog {
  width: calc(100vw - 32px);
  max-width: 1480px !important;
  margin: 16px auto;
}

#modal-stage-approval-cycles .modal-content {
  display: flex;
  max-height: calc(100vh - 32px);
  flex-direction: column;
  overflow: hidden;
}

#modal-stage-approval-cycles .modal-header,
#modal-stage-approval-cycles .modal-footer {
  flex: 0 0 auto;
}

#modal-stage-approval-cycles .modal-footer {
  position: relative;
  z-index: 4;
  min-height: 62px;
  border-top: 1px solid #e4eaec;
  background: #fff;
  box-shadow: 0 -3px 10px rgba(55, 71, 79, .06);
}

#modal-stage-approval-cycles .modal-body {
  min-height: 0;
  padding-bottom: 24px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

#modal-stage-approval-cycles #stage_cycle_editor_preview {
	scroll-margin-top: 12px;
}

#modal-stage-approval-cycles .stage-cycle-visual-timeline {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 2px 4px 20px 24px;
}

#modal-stage-approval-cycles .stage-cycle-visual-timeline::before {
  position: absolute;
  top: 22px;
  bottom: 42px;
  left: 7px;
  width: 2px;
  background: #dfe7eb;
  content: "";
}

#modal-stage-approval-cycles .stage-cycle-group {
  position: relative;
  border: 1px solid #e4eaec;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(55, 71, 79, .06);
}

#modal-stage-approval-cycles .stage-cycle-group::before {
  position: absolute;
  top: 25px;
  left: -23px;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #62a8ea;
  box-shadow: 0 0 0 1px #62a8ea;
  content: "";
}

#modal-stage-approval-cycles .stage-cycle-group-heading {
  display: grid;
  grid-template-columns: minmax(100px, .5fr) minmax(250px, 1.2fr) minmax(280px, 1.4fr);
  gap: 18px;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid #e4eaec;
  border-radius: 6px 6px 0 0;
  background: #f3f7f9;
}

#modal-stage-approval-cycles .stage-cycle-order {
  color: #263238;
  font-size: 18px;
  font-weight: 600;
}

#modal-stage-approval-cycles .stage-cycle-dates {
  color: #526069;
  white-space: nowrap;
}

#modal-stage-approval-cycles .stage-cycle-dates .icon {
  color: #62a8ea;
}

#modal-stage-approval-cycles .stage-cycle-heading-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}

#modal-stage-approval-cycles .stage-cycle-approval-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 14px;
  padding: 16px;
}

#modal-stage-approval-cycles .stage-cycle-approval {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e4eaec;
  border-radius: 5px;
  background: #fff;
}

#modal-stage-approval-cycles .stage-cycle-approval.is-principal {
  border-left: 4px solid #62a8ea;
}

#modal-stage-approval-cycles .stage-cycle-approval-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 13px 14px;
  border-bottom: 1px solid #edf0f2;
}

#modal-stage-approval-cycles .stage-cycle-approval-heading h5 {
  margin: 2px 0 0;
  color: #37474f;
  font-size: 15px;
  line-height: 1.35;
}

#modal-stage-approval-cycles .stage-cycle-approval-role {
  color: #8796a0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}

#modal-stage-approval-cycles .stage-cycle-period-list {
  padding: 4px 14px 10px;
}

#modal-stage-approval-cycles .stage-cycle-presence {
  padding: 11px 14px;
  color: #526069;
  background: #f7f9fa;
}

#modal-stage-approval-cycles .stage-cycle-presence .icon {
  color: #11c26d;
}

#modal-stage-approval-cycles .stage-cycle-presence.has-changes {
  color: #a86416;
  background: #fff8ed;
}

#modal-stage-approval-cycles .stage-cycle-presence.has-changes .icon {
  color: #f2a654;
}

#modal-stage-approval-cycles .stage-cycle-period-details {
  border-top: 1px solid #edf0f2;
}

#modal-stage-approval-cycles .stage-cycle-period-details > summary {
  padding: 10px 14px;
  color: #526069;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

#modal-stage-approval-cycles .stage-cycle-period-row {
  display: grid;
  grid-template-columns: minmax(92px, .55fr) minmax(120px, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #f1f4f5;
}

#modal-stage-approval-cycles .stage-cycle-period-row:last-child {
  border-bottom: 0;
}

#modal-stage-approval-cycles .stage-cycle-period-name {
  color: #37474f;
  font-weight: 600;
}

#modal-stage-approval-cycles .stage-cycle-period-phase {
  color: #76838f;
}

#modal-stage-approval-cycles .stage-cycle-technical {
  padding: 0 18px 14px;
  color: #a3afb7;
  font-size: 11px;
  overflow-wrap: anywhere;
}

#modal-stage-approval-cycles .stage-cycle-technical summary {
  width: max-content;
  cursor: pointer;
}

#modal-stage-approval-cycles .stage-cycle-recorded-oppi-number {
  display: block;
  padding: 0 14px 11px;
  color: #76838f;
}

#modal-stage-approval-cycles .stage-cycle-unified-technical {
  margin: 10px 18px 16px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e4eaec;
  border-radius: 4px;
  color: #526069;
  font-size: 12px;
  background: #fff;
}

#modal-stage-approval-cycles .stage-cycle-review-approval > .stage-cycle-unified-technical {
  margin: 0 18px 14px 38px;
}

#modal-stage-approval-cycles .stage-cycle-unified-technical > summary {
  display: flex;
  gap: 8px;
  align-items: center;
  width: auto;
  min-height: 42px;
  padding: 10px 14px;
  color: #3e8ef7;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  background: #fafbfc;
}

#modal-stage-approval-cycles .stage-cycle-unified-technical > summary > span {
  min-width: 0;
  line-height: 20px;
}

#modal-stage-approval-cycles .stage-cycle-unified-technical > summary:focus {
  outline: 0;
  box-shadow: inset 3px 0 0 #3e8ef7;
}

#modal-stage-approval-cycles .stage-cycle-unified-technical > summary::-webkit-details-marker {
  display: none;
}

#modal-stage-approval-cycles .stage-cycle-technical-chevron {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 20px;
  margin: 0;
  line-height: 20px;
  text-align: center;
  transition: transform .18s ease;
}

#modal-stage-approval-cycles .stage-cycle-unified-technical[open] > summary .stage-cycle-technical-chevron {
  transform: rotate(90deg);
}

#modal-stage-approval-cycles .stage-cycle-unified-technical .table-responsive {
  margin: 0;
}

#modal-stage-approval-cycles .stage-cycle-unified-technical table {
  font-size: 12px;
}

#modal-stage-approval-cycles .stage-cycle-unified-technical th,
#modal-stage-approval-cycles .stage-cycle-unified-technical td {
  padding: 9px 10px;
  vertical-align: middle;
}

#modal-stage-approval-cycles .stage-cycle-unified-technical td .badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
}

#modal-stage-approval-cycles .stage-cycle-unified-history,
#modal-stage-approval-cycles .stage-cycle-unified-technical-actions {
  padding: 12px 13px;
  border-top: 1px solid #edf0f2;
}

#modal-stage-approval-cycles .stage-cycle-unified-history h5 {
  margin: 0 0 8px;
  color: #526069;
  font-size: 13px;
}

#modal-stage-approval-cycles .stage-cycle-unified-history h5:not(:first-child) {
  margin-top: 14px;
}

#modal-stage-approval-cycles .stage-cycle-recorded-context {
  margin: 20px 0 24px;
  padding: 18px 18px 4px;
  border: 1px solid #d8e4ea;
  border-radius: 7px;
  background: #f7fafb;
}

#modal-stage-approval-cycles .stage-cycle-review-section-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

#modal-stage-approval-cycles .stage-cycle-review-section-heading h5 {
  margin: 2px 0 0;
  color: #37474f;
  font-size: 17px;
}

#modal-stage-approval-cycles .stage-cycle-review-section-heading > span {
  color: #76838f;
  font-size: 12px;
}

#modal-stage-approval-cycles .stage-cycle-recorded-timeline {
  gap: 15px;
  padding-bottom: 14px;
}

#modal-stage-approval-cycles .stage-cycle-recorded-timeline .stage-cycle-group-heading {
	grid-template-columns: minmax(360px, 1.2fr) minmax(300px, 1.1fr);
}

#modal-stage-approval-cycles .stage-cycle-group.is-recorded {
  border-color: #cbdce5;
  box-shadow: none;
}

#modal-stage-approval-cycles .stage-cycle-recorded-periods {
  display: block;
  margin-top: 4px;
  color: #76838f;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  white-space: normal;
}

#modal-stage-approval-cycles .stage-cycle-recorded-actions {
  display: flex;
  justify-content: flex-end;
  padding: 10px 14px;
  border-top: 1px solid #edf0f2;
  background: #fbfcfc;
}

#modal-stage-approval-cycles .stage-cycle-unassigned-context {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px 24px;
  padding: 12px 14px;
  border-left: 4px solid #f2a654;
  border-radius: 4px;
  background: #fff8ed;
  color: #526069;
}

#modal-stage-approval-cycles .stage-cycle-unassigned-copy > span {
  display: block;
  margin: 3px 0 0 24px;
  color: #76838f;
  font-size: 12px;
}

#modal-stage-approval-cycles .stage-cycle-unassigned-actions > .badge-warning {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 5px 9px;
	background: #f2a654;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

#modal-stage-approval-cycles .stage-cycle-unassigned-title {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  line-height: 1.35;
}

#modal-stage-approval-cycles .stage-cycle-unassigned-title .icon {
  flex: 0 0 auto;
  width: 16px;
  margin: 0;
  text-align: center;
}

#modal-stage-approval-cycles .stage-cycle-review-proposals-heading {
  margin-top: 22px;
}

#modal-stage-approval-cycles .stage-cycle-edit-group.is-focused {
  border-color: #62a8ea;
  box-shadow: 0 0 0 3px rgba(98, 168, 234, .16);
}

#modal-stage-approval-cycles .stage-cycle-editor-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 2px 4px 20px 24px;
}

#modal-stage-approval-cycles .stage-cycle-editor-timeline::before {
  position: absolute;
  top: 22px;
  bottom: 42px;
  left: 7px;
  width: 2px;
  background: #dfe7eb;
  content: "";
}

#modal-stage-approval-cycles .stage-cycle-edit-group {
  overflow: hidden;
  border: 1px solid #dfe7eb;
  border-radius: 6px;
  background: #fff;
}

#modal-stage-approval-cycles .stage-cycle-edit-heading {
  display: grid;
  grid-template-columns: minmax(120px, .7fr) minmax(360px, 1.7fr) minmax(145px, .6fr) auto auto;
  gap: 15px;
  align-items: end;
  padding: 14px 16px;
  border-bottom: 1px solid #dfe7eb;
  background: #f3f7f9;
}

#modal-stage-approval-cycles .stage-cycle-edit-heading label {
  margin: 0;
}

#modal-stage-approval-cycles .stage-cycle-edit-heading label > span,
#modal-stage-approval-cycles .stage-cycle-edit-dates label > span {
  display: block;
  margin-bottom: 3px;
  color: #76838f;
  font-size: 11px;
}

#modal-stage-approval-cycles .stage-cycle-edit-dates {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: start;
}

#modal-stage-approval-cycles .stage-cycle-date-field label { display: block; margin: 0; }
#modal-stage-approval-cycles .stage-cycle-end-field .stage-cycle-duration-helpers {
	display: inline-flex;
}
#modal-stage-approval-cycles .stage-cycle-duration-choice { margin-top: 8px; }
#modal-stage-approval-cycles .stage-cycle-duration-choice > span {
	display: block;
	margin-bottom: 4px;
	color: #76838f;
	font-size: 11px;
}
#modal-stage-approval-cycles .stage-cycle-duration-choice abbr {
	border: 0;
	color: #f96868;
	text-decoration: none;
}
#modal-stage-approval-cycles .stage-cycle-duration-required {
	display: block;
	margin-top: 6px;
	color: #f2a654;
}
#modal-stage-approval-cycles .stage-cycle-duration-helpers .active {
	border-color: #62a8ea;
	background: #e9f4fd;
	color: #358dd3;
}
#modal-stage-approval-cycles .stage-cycle-start-suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 8px;
}

#modal-stage-approval-cycles .stage-cycle-edit-dates > span {
  padding-top: 31px;
}

#modal-stage-approval-cycles .stage-cycle-edit-approvals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  padding: 15px;
}

#modal-stage-approval-cycles .stage-cycle-editor-card {
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fafbfc;
}

#modal-stage-approval-cycles .stage-cycle-editor-approval-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 13px;
  border-bottom: 1px solid #edf0f2;
}

#modal-stage-approval-cycles .stage-cycle-editor-approval-heading h5 {
  margin: 2px 0 0;
}

#modal-stage-approval-cycles .stage-cycle-editor-approval-body {
  padding: 12px;
}

/* L’édition conserve la même lecture visuelle que la chronologie : un cycle,
 * ses agréments, puis le détail des périodes seulement à la demande. */
#modal-stage-approval-cycles .stage-cycle-editor-timeline .stage-cycle-edit-group {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#modal-stage-approval-cycles .stage-cycle-editor-timeline .stage-cycle-edit-heading {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(230px, 1fr) minmax(220px, .8fr);
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
}
#modal-stage-approval-cycles .stage-cycle-order { line-height: 1.4; }

#modal-stage-approval-cycles .stage-cycle-editor-timeline .stage-cycle-heading-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

#modal-stage-approval-cycles .stage-cycle-edit-settings {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
	align-items: start;
  padding: 14px 20px;
  border-bottom: 1px solid #dfe7eb;
  background: #f8fafb;
}

#modal-stage-approval-cycles .stage-cycle-edit-settings > *,
#modal-stage-approval-cycles .stage-cycle-edit-dates > label {
  min-width: 0;
}

#modal-stage-approval-cycles .stage-cycle-edit-settings[hidden] {
  display: none;
}

#modal-stage-approval-cycles .stage-cycle-edit-approvals {
  display: grid;
  gap: 14px;
  padding: 14px;
  grid-template-columns: 1fr;
  border-radius: 0;
  background: #fbfcfc;
}

#modal-stage-approval-cycles .stage-cycle-period-move-panel-container {
  padding: 0 14px 14px;
  border-radius: 0 0 6px 6px;
  background: #fbfcfc;
}

#modal-stage-approval-cycles .stage-cycle-period-move-panel-container .stage-cycle-period-move-panel {
  margin: 0;
}

#modal-stage-approval-cycles .stage-cycle-editor-timeline .stage-cycle-editor-card {
  border-left: 4px solid #62a8ea;
  border-radius: 6px;
  box-shadow: none;
}

#modal-stage-approval-cycles .stage-cycle-editor-timeline .stage-cycle-editor-approval-heading {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: #fff;
}

#modal-stage-approval-cycles .stage-cycle-editor-approval-tags {
  display: flex;
  gap: 6px;
  align-items: center;
}

#modal-stage-approval-cycles .stage-cycle-editor-approval-summary {
  display: grid;
  grid-template-columns: 1.15fr .85fr 1fr 1.2fr;
  border-top: 1px solid #edf0f2;
  border-bottom: 1px solid #edf0f2;
}

#modal-stage-approval-cycles .stage-cycle-editor-approval-summary > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 12px 16px;
  border-right: 1px solid #edf0f2;
}

#modal-stage-approval-cycles .stage-cycle-editor-approval-summary > div:last-child {
  border-right: 0;
}

#modal-stage-approval-cycles .stage-cycle-editor-approval-summary > div > strong {
  align-self: flex-start;
  max-width: 100%;
}

#modal-stage-approval-cycles .stage-cycle-editor-approval-context {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
#modal-stage-approval-cycles .stage-cycle-editor-approval-context > div {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 4px;
}
#modal-stage-approval-cycles .stage-cycle-editor-approval-context > div > span {
	color: #8796a0;
	font-size: 11px;
	text-transform: uppercase;
}
#modal-stage-approval-cycles .stage-cycle-editor-approval-context strong { align-self: flex-start; }

#modal-stage-approval-cycles .stage-cycle-editor-approval-summary .badge {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  white-space: normal;
}

#modal-stage-approval-cycles .stage-cycle-editor-approval-summary small,
#modal-stage-approval-cycles .stage-cycle-stage-number-form label > span,
#modal-stage-approval-cycles .stage-cycle-stage-number-reason > span {
  color: #8796a0;
  font-size: 11px;
  text-transform: uppercase;
}

#modal-stage-approval-cycles .stage-cycle-editor-heading small,
#modal-stage-approval-cycles .stage-cycle-review-proposals-heading small {
  display: block;
  margin-top: 3px;
  color: #8796a0;
  font-size: 12px;
  font-weight: 400;
}

#modal-stage-approval-cycles .stage-cycle-add-cycle-footer {
  margin-right: auto;
}

#modal-stage-approval-cycles .stage-cycle-editor-period-details > summary {
  padding: 12px 18px;
  color: #358dd3;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

#modal-stage-approval-cycles .stage-cycle-editor-period-details[open] > summary .icon {
  transform: rotate(90deg);
}

#modal-stage-approval-cycles .stage-cycle-editor-approval-body {
  padding: 0 18px 16px;
  background: #f8fafb;
}

#modal-stage-approval-cycles .stage-cycle-editor-specialty-corrections {
	overflow: hidden;
	border: 1px solid #e4eaec;
	border-radius: 6px;
	background: #fff;
}

#modal-stage-approval-cycles .stage-cycle-editor-specialty-heading {
	padding: 13px 16px;
	border-bottom: 1px solid #e4eaec;
	background: #f3f7f9;
}

#modal-stage-approval-cycles .stage-cycle-editor-specialty-heading > span {
	display: block;
	margin-bottom: 2px;
	color: #a3afb7;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

#modal-stage-approval-cycles .stage-cycle-editor-specialty-corrections h5 {
  margin: 0;
  color: #526069;
}

#modal-stage-approval-cycles .stage-cycle-editor-business-settings {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
	padding: 16px;
}

#modal-stage-approval-cycles .stage-cycle-editor-parent-field {
	max-width: 520px;
}

#modal-stage-approval-cycles .stage-cycle-editor-bulk-phases {
	max-width: 720px;
}

#modal-stage-approval-cycles .stage-cycle-editor-bulk-phases > strong {
	display: block;
	margin-bottom: 8px;
	color: #526069;
	font-size: 13px;
}

#modal-stage-approval-cycles .stage-cycle-editor-bulk-phases label {
	display: block;
	margin-bottom: 0;
}

#modal-stage-approval-cycles .stage-cycle-editor-specialty-periods {
	padding: 16px;
	border-top: 1px solid #e4eaec;
	background: #f8fafb;
}

#modal-stage-approval-cycles .stage-cycle-editor-specialty-periods > header {
	display: flex;
	gap: 6px;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 10px;
}

#modal-stage-approval-cycles .stage-cycle-editor-specialty-periods > header strong {
	color: #526069;
	font-size: 13px;
}

#modal-stage-approval-cycles .stage-cycle-editor-specialty-periods > header span {
	color: #a3afb7;
	font-size: 11px;
}

#modal-stage-approval-cycles .stage-cycle-editor-business-settings label,
#modal-stage-approval-cycles .stage-cycle-editor-business-settings label > select {
  width: 100%;
}

#modal-stage-approval-cycles .stage-cycle-editor-business-settings small,
#modal-stage-approval-cycles .stage-cycle-editor-period-config small {
  display: block;
  margin-top: 4px;
  color: #a3afb7;
}

#modal-stage-approval-cycles .stage-cycle-editor-period-configs {
  margin-top: 12px;
  border: 1px solid #e4eaec;
  border-radius: 6px;
  background: #fff;
}

#modal-stage-approval-cycles .stage-cycle-editor-period-config {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(150px, 210px) minmax(410px, 1.25fr);
  gap: 18px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #edf1f3;
}

#modal-stage-approval-cycles .stage-cycle-editor-period-config:last-child {
  border-bottom: 0;
}

#modal-stage-approval-cycles .stage-cycle-editor-business-settings .select2-container,
#modal-stage-approval-cycles .stage-cycle-editor-period-config .select2-container {
  width: 100% !important;
}

#modal-stage-approval-cycles .stage-cycle-editor-business-settings .select2-selection--multiple,
#modal-stage-approval-cycles .stage-cycle-editor-period-config .select2-selection--multiple {
  min-height: 38px;
  border-color: #e4eaec;
}

#modal-stage-approval-cycles .stage-cycle-period-list {
  margin-top: 0;
  overflow: hidden;
  border: 1px solid #e4eaec;
  border-radius: 6px;
  background: #fff;
}

#modal-stage-approval-cycles .stage-cycle-period-identity {
  min-width: 0;
}

#modal-stage-approval-cycles .stage-cycle-period-identity > strong,
#modal-stage-approval-cycles .stage-cycle-period-identity > span,
#modal-stage-approval-cycles .stage-cycle-period-identity > small {
  display: block;
}

#modal-stage-approval-cycles .stage-cycle-period-identity > span {
  margin-top: 3px;
  color: #526069;
  font-size: 12px;
  font-weight: 600;
}

#modal-stage-approval-cycles .stage-cycle-period-validity {
  margin-top: 5px;
  color: #f2a654 !important;
  font-size: 11px;
  font-weight: 500;
}

#modal-stage-approval-cycles .stage-cycle-period-phase-field label {
  display: block;
  width: 100%;
  margin: 0;
  color: #76838f;
  font-size: 11px;
}

#modal-stage-approval-cycles .stage-cycle-period-phase-field .select2-container {
  display: block;
  max-width: 190px;
  margin-top: 5px;
}

#modal-stage-approval-cycles .stage-cycle-period-entry-actions {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: flex-end;
	min-width: 260px;
	text-align: right;
}

#modal-stage-approval-cycles .stage-cycle-entry-move {
	display: flex;
	gap: 8px;
	align-items: flex-end;
	min-width: 330px;
}

#modal-stage-approval-cycles .stage-cycle-entry-move label {
	min-width: 245px;
	margin: 0;
	text-align: left;
}

#modal-stage-approval-cycles .stage-cycle-entry-move label > span {
	display: block;
	margin-bottom: 5px;
	color: #76838f;
	font-size: 11px;
}

#modal-stage-approval-cycles .stage-cycle-entry-move select {
	min-width: 245px;
}

#modal-stage-approval-cycles .stage-cycle-technical-occurrence {
  display: none !important;
}

#modal-stage-approval-cycles .stage-cycle-inheritance-hint {
  display: block;
  margin-top: 6px;
  color: #76838f;
  font-size: 12px;
  line-height: 1.35;
}

#modal-stage-approval-cycles .stage-cycle-auto-build {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid #cfe5f7;
  border-left: 4px solid #62a8ea;
  border-radius: 6px;
  background: #f4f9fd;
}

#modal-stage-approval-cycles .stage-cycle-auto-build-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #358dd3;
  background: #e1f0fb;
  font-size: 19px;
  line-height: 42px;
  text-align: center;
}

#modal-stage-approval-cycles .stage-cycle-auto-build-icon.is-success {
  color: #08a65c;
  background: #dff5e9;
}

#modal-stage-approval-cycles .stage-cycle-auto-build strong,
#modal-stage-approval-cycles .stage-cycle-auto-build span {
  display: block;
}

#modal-stage-approval-cycles .stage-cycle-auto-build span {
  margin-top: 3px;
  color: #76838f;
}

@media (max-width: 900px) {
  #modal-stage-approval-cycles .stage-cycle-auto-build {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  #modal-stage-approval-cycles .stage-cycle-auto-build .btn {
    grid-column: 1 / -1;
  }
}

#modal-stage-approval-cycles .stage-cycle-editor-card.is-inherited .stage-cycle-approval-status,
#modal-stage-approval-cycles .stage-cycle-editor-card.is-inherited .stage-cycle-numero-siimop {
  background: #f3f7f9;
  color: #526069;
}

@media (max-width: 900px) {
  #modal-stage-approval-cycles .stage-cycle-editor-business-settings,
  #modal-stage-approval-cycles .stage-cycle-editor-period-config {
    grid-template-columns: 1fr;
  }

  #modal-stage-approval-cycles .stage-cycle-period-entry-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  #modal-stage-approval-cycles .stage-cycle-entry-move {
    flex-wrap: wrap;
    min-width: 0;
  }
}

#modal-stage-approval-cycles .stage-cycle-editor-approval-actions {
  display: flex;
  gap: 10px;
  align-items: end;
  justify-content: flex-end;
  padding: 12px 16px;
  border-top: 1px solid #edf0f2;
  background: #fbfcfc;
}

#modal-stage-approval-cycles .stage-cycle-editor-approval-actions label {
  width: min(360px, 100%);
  margin: 0;
}

#modal-stage-approval-cycles .stage-cycle-editor-approval-actions label > span {
  display: block;
  margin-bottom: 4px;
  color: #76838f;
  font-size: 11px;
}

#modal-stage-approval-cycles .stage-cycle-stage-number {
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid #dfe7eb;
  border-radius: 6px;
  background: #fff;
}

#modal-stage-approval-cycles .stage-cycle-stage-number > summary {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
  background: #f3f7f9;
}

#modal-stage-approval-cycles .stage-cycle-stage-number > summary > span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

#modal-stage-approval-cycles .stage-cycle-stage-number > summary > span .icon {
  flex: 0 0 auto;
  width: 16px;
  margin: 0 !important;
  text-align: center;
}

#modal-stage-approval-cycles .stage-cycle-stage-number > summary > strong {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

#modal-stage-approval-cycles .stage-cycle-stage-number-body {
  padding: 14px 16px;
}

#modal-stage-approval-cycles .stage-cycle-stage-number-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
}

#modal-stage-approval-cycles .stage-cycle-stage-number-form label,
#modal-stage-approval-cycles .stage-cycle-stage-number-reason {
  margin: 0;
}

#modal-stage-approval-cycles .stage-cycle-stage-number-reason {
  display: block;
  margin-top: 12px;
}

#modal-stage-approval-cycles .stage-cycle-stage-number-confirm {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 10px;
}

#modal-stage-approval-cycles .stage-cycle-dropzone {
  min-height: 62px;
  padding: 7px;
  border: 1px dashed #ccd5db;
  border-radius: 4px;
  background: #f3f7f9;
}

#modal-stage-approval-cycles .stage-cycle-dropzone.is-drop-target {
  border-color: #62a8ea;
  background: #eef7ff;
  box-shadow: inset 0 0 0 1px rgba(98, 168, 234, .14);
}

#modal-stage-approval-cycles .stage-cycle-empty-placeholder {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px;
  padding: 22px;
  border: 1px dashed #ccd5db;
  border-radius: 6px;
  background: #f8fafb;
  color: #76838f;
}

#modal-stage-approval-cycles .stage-cycle-empty-placeholder > .icon {
  color: #a3afb7;
  font-size: 22px;
}

#modal-stage-approval-cycles .stage-cycle-empty-placeholder strong,
#modal-stage-approval-cycles .stage-cycle-empty-placeholder span {
  display: block;
}

#modal-stage-approval-cycles .stage-cycle-empty-placeholder strong {
  margin-bottom: 3px;
  color: #526069;
}

#modal-stage-approval-cycles .stage-cycle-period-move-panel {
  margin: 0 18px 16px;
  border: 1px solid #e4eaec;
  border-radius: 5px;
  background: #f8fafb;
}

#modal-stage-approval-cycles .stage-cycle-period-move-panel > summary {
  padding: 11px 14px;
  color: #3583ca;
  font-weight: 600;
  cursor: pointer;
}

#modal-stage-approval-cycles .stage-cycle-period-move-list {
  padding: 0 14px 12px;
}

#modal-stage-approval-cycles .stage-cycle-period-move-help {
  margin: 0;
  padding: 0 14px 10px;
  color: #76838f;
  font-size: 12px;
}

#modal-stage-approval-cycles .stage-cycle-period-move-row {
  display: grid;
  grid-template-columns: minmax(110px, .55fr) minmax(190px, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #e4eaec;
}

@media (max-width: 767px) {
  #modal-stage-approval-cycles .stage-cycle-period-move-row {
    grid-template-columns: 1fr;
  }
}

#modal-stage-approval-cycles .stage-cycle-occurrence {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 4px;
  align-items: center;
  margin-bottom: 6px;
  padding: 8px 9px;
  border: 1px solid #e4eaec;
  border-radius: 4px;
  background: #fff;
  cursor: move;
}

#modal-stage-approval-cycles .stage-cycle-occurrence:last-child {
  margin-bottom: 0;
}

#modal-stage-approval-cycles .stage-cycle-numero-siimop-label {
  display: block;
  margin: 0;
}

#modal-stage-approval-cycles .stage-cycle-numero-siimop-label > span {
  display: block;
  margin-bottom: 5px;
}

#modal-stage-approval-cycles .stage-cycle-numero-siimop {
  min-width: 150px;
  font-weight: 600;
}

#modal-stage-approval-cycles .stage-cycle-editor-force-action {
  margin-top: 9px;
}

#modal-stage-approval-cycles .stage-cycle-occurrence small {
  display: block;
  color: #76838f;
}

#modal-stage-approval-cycles .stage-cycle-occurrence-content {
  min-width: 0;
}

#modal-stage-approval-cycles .stage-cycle-occurrence-details {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  align-items: center;
  margin-top: 4px;
  color: #76838f;
  font-size: 12px;
}

#modal-stage-approval-cycles .stage-cycle-occurrence-specialty {
  color: #526069;
  font-weight: 600;
}

#modal-stage-approval-cycles .stage-cycle-occurrence-details .badge {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  white-space: normal;
}

#modal-stage-approval-cycles .stage-cycle-occurrence-phase {
  color: #76838f;
}

#modal-stage-approval-cycles .stage-cycle-review-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid #e4eaec;
  border-radius: 6px;
  background: #e4eaec;
}

#modal-stage-approval-cycles .stage-cycle-review-overview > button {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 14px 16px;
  border: 0;
  outline: 0;
  background: #f7f9fa;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background-color .15s ease, box-shadow .15s ease;
}

#modal-stage-approval-cycles .stage-cycle-review-overview > button:hover,
#modal-stage-approval-cycles .stage-cycle-review-overview > button:focus {
  background: #eef6fc;
}

#modal-stage-approval-cycles .stage-cycle-review-overview > button.is-active {
  position: relative;
  z-index: 1;
  background: #fff;
  box-shadow: inset 0 -3px 0 #62a8ea;
}

#modal-stage-approval-cycles .stage-cycle-review-overview strong {
  color: #37474f;
  font-size: 22px;
}

#modal-stage-approval-cycles .stage-cycle-review-overview span {
  color: #76838f;
  font-size: 12px;
}

#modal-stage-approval-cycles .stage-cycle-review-overview .is-ready strong {
  color: #11c26d;
}

#modal-stage-approval-cycles .stage-cycle-review-overview .needs-review strong {
  color: #f2a654;
}

#modal-stage-approval-cycles .stage-cycle-review-overview .is-pending strong {
  color: #4e97d9;
}

#modal-stage-approval-cycles .stage-cycle-review-context {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 2px;
  color: #526069;
  font-size: 13px;
}

#modal-stage-approval-cycles .stage-cycle-review-context .icon {
  color: #62a8ea;
}

#modal-stage-approval-cycles .stage-cycle-review-context span {
  color: #8796a0;
}

#modal-stage-approval-cycles .stage-cycle-review-list {
  display: grid;
  gap: 18px;
  padding-bottom: 8px;
}

#modal-stage-approval-cycles .stage-cycle-history-unavailable {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

#modal-stage-approval-cycles .stage-cycle-review-timeline {
  margin-bottom: 4px;
}

#modal-stage-approval-cycles .stage-cycle-timeline-periods {
  display: block;
  margin-top: 4px;
  color: #8796a0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  white-space: normal;
}

#modal-stage-approval-cycles .stage-cycle-review-timeline-items {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 0 0 6px 6px;
  background: #fbfcfc;
}

#modal-stage-approval-cycles .stage-cycle-review-timeline-group .stage-cycle-review-card {
  box-shadow: none;
}

#modal-stage-approval-cycles .stage-cycle-review-timeline-group .stage-cycle-review-heading {
  grid-template-columns: minmax(330px, 1fr) auto;
  background: #fff;
}

#modal-stage-approval-cycles .stage-cycle-review-timeline-group .stage-cycle-review-validity {
  display: none;
}

#modal-stage-approval-cycles .stage-cycle-review-outside-group {
  overflow: hidden;
  border: 1px solid #dfe7eb;
  border-radius: 6px;
  background: #f7f9fa;
}

#modal-stage-approval-cycles .stage-cycle-review-outside-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: #526069;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

#modal-stage-approval-cycles .stage-cycle-review-outside-group > summary::-webkit-details-marker {
  display: none;
}

#modal-stage-approval-cycles .stage-cycle-review-outside-group > summary small {
  color: #8796a0;
  font-weight: 400;
}

#modal-stage-approval-cycles .stage-cycle-review-outside-list {
  display: grid;
  gap: 14px;
  padding: 0 14px 14px;
}

#modal-stage-approval-cycles .stage-cycle-review-card {
  overflow: hidden;
  border: 1px solid #dfe7eb;
  border-left: 6px solid #11c26d;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(55, 71, 79, .06);
}

#modal-stage-approval-cycles .stage-cycle-review-card.needs-review {
  border-left-color: #f2a654;
}

#modal-stage-approval-cycles .stage-cycle-review-card.is-carried-forward {
  border-left-color: #62a8ea;
}

#modal-stage-approval-cycles .stage-cycle-review-card.is-outside-siimop {
  border-left-color: #a3afb7;
}

#modal-stage-approval-cycles .stage-cycle-review-card.is-recorded-cycle {
  border-left-color: #62a8ea;
}

#modal-stage-approval-cycles .stage-cycle-review-heading {
  display: grid;
  grid-template-columns: minmax(330px, 1.5fr) minmax(260px, .9fr) auto;
  gap: 22px;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid #dfe7eb;
  background: #edf3f6;
}

#modal-stage-approval-cycles .stage-cycle-review-title {
  display: flex;
  gap: 13px;
  align-items: center;
  min-width: 0;
}

#modal-stage-approval-cycles .stage-cycle-review-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border: 2px solid #62a8ea;
  border-radius: 50%;
  color: #4e97d9;
  background: #fff;
}

#modal-stage-approval-cycles .stage-cycle-review-title h4 {
  margin: 0 0 5px;
  overflow: hidden;
  color: #37474f;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#modal-stage-approval-cycles .stage-cycle-review-validity > span,
#modal-stage-approval-cycles .stage-cycle-review-facts > div > span {
  display: block;
  margin-bottom: 3px;
  color: #8796a0;
  font-size: 11px;
  text-transform: uppercase;
}

#modal-stage-approval-cycles .stage-cycle-review-validity strong {
  color: #526069;
  white-space: nowrap;
}

#modal-stage-approval-cycles .stage-cycle-review-validity small {
  display: block;
  margin-top: 3px;
  color: #8796a0;
  font-size: 11px;
}

#modal-stage-approval-cycles .stage-cycle-review-state {
  justify-self: end;
  white-space: nowrap;
}

#modal-stage-approval-cycles .stage-cycle-review-facts {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr 1fr 1.2fr;
  gap: 0;
  border-bottom: 1px solid #edf0f2;
}

#modal-stage-approval-cycles .stage-cycle-review-facts.is-outside-siimop {
  grid-template-columns: 1.35fr 1fr;
}

#modal-stage-approval-cycles .stage-cycle-review-facts > div {
  min-width: 0;
  padding: 13px 16px;
  border-right: 1px solid #edf0f2;
}

#modal-stage-approval-cycles .stage-cycle-review-facts > div:last-child {
  border-right: 0;
}

#modal-stage-approval-cycles .stage-cycle-review-facts strong {
  display: block;
  overflow-wrap: anywhere;
  color: #526069;
  line-height: 1.45;
}

#modal-stage-approval-cycles .stage-cycle-review-facts small {
  color: #a3afb7;
}

#modal-stage-approval-cycles .stage-cycle-summary-information {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 10px;
  padding: 10px 14px;
  border: 1px solid #dfe7eb;
  border-left: 3px solid #a3afb7;
  border-radius: 3px;
  color: #76838f;
  background: #fafbfc;
  font-size: 13px;
  line-height: 1.45;
}

#modal-stage-approval-cycles .stage-cycle-summary-information .icon {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #8796a0;
}

#modal-stage-approval-cycles .stage-cycle-period-after-cycle {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 4px;
  color: #8796a0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

#modal-stage-approval-cycles .stage-cycle-period-after-cycle.d-none {
  display: none;
}

#modal-stage-approval-cycles .stage-cycle-review-identity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

#modal-stage-approval-cycles .stage-cycle-review-identity-actions .btn {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  max-width: 100%;
  white-space: normal;
}

#modal-stage-approval-cycles .stage-cycle-review-identity-actions .btn .icon {
  margin: 0 !important;
}

#modal-stage-approval-cycles .stage-cycle-siimop-status.is-saving {
  opacity: .65;
}

#modal-stage-approval-cycles .stage-cycle-review-reason {
  margin: 18px 0 0;
  padding: 0;
  border: 1px solid #e4eaec;
  border-radius: 4px;
  background: #fff;
}

#modal-stage-approval-cycles .stage-cycle-review-reason > summary {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 15px;
  color: #526069;
  cursor: pointer;
  list-style: none;
}

#modal-stage-approval-cycles .stage-cycle-review-reason > summary .icon {
  flex: 0 0 auto;
  width: 16px;
  margin: 0 !important;
  text-align: center;
}

#modal-stage-approval-cycles .stage-cycle-review-reason > summary::-webkit-details-marker {
  display: none;
}

#modal-stage-approval-cycles .stage-cycle-review-reason > summary small {
  color: #a3afb7;
  font-weight: 400;
}

#modal-stage-approval-cycles .stage-cycle-review-reason > textarea {
  margin: 0 15px 8px;
  width: calc(100% - 30px);
}

#modal-stage-approval-cycles .stage-cycle-review-reason > .form-text {
  display: block;
  margin: 0 15px 12px;
}

#modal-stage-approval-cycles .stage-cycle-siimop-status {
  display: inline-grid;
  grid-template-columns: 1fr 1fr .75fr;
  min-width: 285px;
  padding: 3px;
  border: 1px solid #dfe7eb;
  border-radius: 18px;
  background: #eef2f4;
  color: #8796a0;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

#modal-stage-approval-cycles .stage-cycle-siimop-status button {
  margin: 0;
  padding: 5px 9px;
  border: 0;
  border-radius: 14px;
  outline: 0;
  color: #8796a0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: center;
  text-transform: none;
}

#modal-stage-approval-cycles .stage-cycle-siimop-status button.is-active {
  color: #fff;
  background: #4e97d9;
  box-shadow: 0 1px 3px rgba(55,71,79,.2);
}

#modal-stage-approval-cycles .stage-cycle-siimop-status.is-readonly button {
  opacity: 1;
  cursor: default;
}

#modal-stage-approval-cycles .stage-cycle-siimop-status b {
  margin-right: 3px;
  font-size: 12px;
}

#modal-stage-approval-cycles .stage-cycle-review-approvals {
  position: relative;
  padding-left: 28px;
  border-bottom: 1px solid #edf0f2;
}

#modal-stage-approval-cycles .stage-cycle-review-approvals::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 27px;
  width: 2px;
  background: #dfe7eb;
  content: "";
}

#modal-stage-approval-cycles .stage-cycle-review-approval {
  position: relative;
  min-height: 50px;
  border-bottom: 1px solid #edf0f2;
}

#modal-stage-approval-cycles .stage-cycle-review-approval-summary {
  display: grid;
  grid-template-columns: minmax(190px, 1.3fr) minmax(100px, .7fr) minmax(125px, .75fr) minmax(170px, 1fr) minmax(150px, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 50px;
  padding: 9px 16px 9px 38px;
}

#modal-stage-approval-cycles .stage-cycle-review-approval-summary .blue-grey-500 {
  line-height: 1.45;
  overflow-wrap: anywhere;
}

#modal-stage-approval-cycles .stage-cycle-review-approval-name > strong,
#modal-stage-approval-cycles .stage-cycle-review-approval-number {
  display: block;
}

#modal-stage-approval-cycles .stage-cycle-review-approval-number {
  margin-top: 3px;
  color: #76838f;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

#modal-stage-approval-cycles .stage-cycle-review-approval-number strong {
  color: #526069;
  font-weight: 500;
  overflow-wrap: anywhere;
}

#modal-stage-approval-cycles .stage-cycle-review-approval:last-child {
  border-bottom: 0;
}

#modal-stage-approval-cycles .stage-cycle-review-approval-business {
  margin: -5px 16px 8px 38px;
  color: #8796a0;
  font-size: 11px;
}

#modal-stage-approval-cycles .stage-cycle-review-branch {
  position: absolute;
  top: 50%;
  left: 0;
  width: 30px;
  height: 2px;
  background: #dfe7eb;
}

#modal-stage-approval-cycles .stage-cycle-review-periods {
  margin-left: 38px;
  border-top: 1px solid #edf0f2;
  background: #fbfcfc;
}

#modal-stage-approval-cycles .stage-cycle-review-periods > summary {
  width: max-content;
  padding: 9px 16px;
  color: #4e97d9;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

#modal-stage-approval-cycles .stage-cycle-review-periods .when-open,
#modal-stage-approval-cycles .stage-cycle-review-periods[open] .when-closed {
  display: none;
}

#modal-stage-approval-cycles .stage-cycle-review-periods[open] .when-open {
  display: inline;
}

#modal-stage-approval-cycles .stage-cycle-review-period-details {
  border-top: 1px solid #edf0f2;
}

#modal-stage-approval-cycles .stage-cycle-review-period-columns {
  display: grid;
  grid-template-columns: minmax(150px, .28fr) minmax(135px, .75fr) minmax(120px, 1fr) 20px minmax(120px, 1fr);
  gap: 12px;
  padding: 8px 16px;
  border-bottom: 1px solid #e4eaec;
  background: #f3f7f9;
  color: #526069;
  font-size: 11px;
  font-weight: 600;
}

#modal-stage-approval-cycles .stage-cycle-review-period-columns.is-presence,
#modal-stage-approval-cycles .stage-cycle-review-period-detail.is-presence {
  grid-template-columns: minmax(180px, .75fr) minmax(140px, .55fr) minmax(120px, .45fr);
  gap: 18px;
  align-items: center;
}

#modal-stage-approval-cycles .stage-cycle-review-period-detail {
  display: grid;
  grid-template-columns: minmax(150px, .28fr) 1fr;
  gap: 16px;
  padding: 11px 16px;
  border-bottom: 1px solid #edf0f2;
}

#modal-stage-approval-cycles .stage-cycle-review-period-detail:last-child {
  border-bottom: 0;
}

#modal-stage-approval-cycles .stage-cycle-review-period-detail > div:first-child span {
  display: block;
  color: #76838f;
  font-size: 12px;
}

#modal-stage-approval-cycles .stage-cycle-review-period-phase {
  color: #76838f;
  font-size: 12px;
}

#modal-stage-approval-cycles .stage-cycle-review-change {
  display: grid;
  grid-template-columns: minmax(135px, .75fr) minmax(120px, 1fr) auto minmax(120px, 1fr);
  gap: 9px;
  align-items: center;
  padding: 3px 0;
  font-size: 13px;
}

#modal-stage-approval-cycles .stage-cycle-review-change > span {
  color: #526069;
}

#modal-stage-approval-cycles .stage-cycle-review-change del {
  color: #8796a0;
  overflow-wrap: anywhere;
}

#modal-stage-approval-cycles .stage-cycle-review-change .icon {
  color: #a3afb7;
  font-size: 11px;
}

#modal-stage-approval-cycles .stage-cycle-review-change strong {
  color: #526069;
  overflow-wrap: anywhere;
}

#modal-stage-approval-cycles .stage-cycle-review-change.is-current strong {
  grid-column: 2 / 5;
}

#modal-stage-approval-cycles .stage-cycle-review-unchanged {
  color: #11c26d;
  font-size: 12px;
}

#modal-stage-approval-cycles .stage-cycle-review-identity-segments {
  padding: 12px 16px;
  border-bottom: 1px solid #edf0f2;
  background: #f7f9fa;
}

#modal-stage-approval-cycles .stage-cycle-review-identity-segments > strong {
  display: block;
  margin-bottom: 8px;
  color: #526069;
  font-size: 12px;
}

#modal-stage-approval-cycles .stage-cycle-review-identity-segments > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#modal-stage-approval-cycles .stage-cycle-review-identity-segments span {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid #dfe7eb;
  border-radius: 4px;
  background: #fff;
  color: #526069;
  font-size: 12px;
}

#modal-stage-approval-cycles .stage-cycle-review-identity-segments small {
  color: #76838f;
  font-family: monospace;
}

#modal-stage-approval-cycles .stage-cycle-review-messages {
  display: grid;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid #edf0f2;
  background: #fbfcfc;
}

#modal-stage-approval-cycles .stage-cycle-review-messages-title {
  color: #526069;
  font-size: 12px;
}

#modal-stage-approval-cycles .stage-cycle-review-message {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #76838f;
  font-size: 12px;
}

#modal-stage-approval-cycles .stage-cycle-review-message .icon {
  margin-top: 2px;
  color: #62a8ea;
}

#modal-stage-approval-cycles .stage-cycle-review-message.is-blocking,
#modal-stage-approval-cycles .stage-cycle-review-message.is-blocking .icon {
  color: #e9595b;
}

#modal-stage-approval-cycles .stage-cycle-review-expired-fix {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 12px 16px;
  border-width: 0 0 1px;
  border-radius: 0;
}

#modal-stage-approval-cycles .stage-cycle-review-expired-fix strong,
#modal-stage-approval-cycles .stage-cycle-review-expired-fix span {
  display: block;
}

#modal-stage-approval-cycles .stage-cycle-review-expired-fix span {
  margin-top: 2px;
  color: #76838f;
  font-size: 12px;
}

#modal-stage-approval-cycles .stage-cycle-review-footer {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: flex-end;
  min-height: 58px;
  padding: 10px 16px;
}

#modal-stage-approval-cycles .stage-cycle-review-reason {
  margin: 0 0 18px;
  padding: 17px;
  border: 1px solid #dfe7eb;
  border-radius: 6px;
  background: #f7f9fa;
}

#modal-stage-approval-cycles .stage-cycle-review-reason-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

#modal-stage-approval-cycles .stage-cycle-review-apply-all {
  display: flex;
  gap: 10px;
  align-items: center;
}

#modal-stage-approval-cycles .stage-cycle-review-apply-all small {
  color: #76838f;
}

#modal-stage-approval-cycles .stage-cycle-review-reason-heading label {
  margin: 0;
}

#modal-stage-approval-cycles .stage-cycle-correction-panel {
  padding: 16px;
  border-bottom: 1px solid #dfe7eb;
  background: #f7f9fa;
}

#modal-stage-approval-cycles .stage-cycle-correction-cycle {
  display: grid;
  grid-template-columns: repeat(4,minmax(150px,1fr));
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #dfe7eb;
  border-radius: 5px;
  background: #fff;
}

#modal-stage-approval-cycles .stage-cycle-correction-panel label {
  display: block;
  margin-bottom: 5px;
  color: #76838f;
  font-size: 11px;
  font-weight: 600;
}

#modal-stage-approval-cycles .stage-cycle-correction-approvals {
  display: grid;
  gap: 10px;
}

#modal-stage-approval-cycles .stage-cycle-correction-approval {
  padding: 13px 14px;
  border: 1px solid #dfe7eb;
  border-radius: 5px;
  background: #fff;
}

#modal-stage-approval-cycles .stage-cycle-correction-approval-heading,
#modal-stage-approval-cycles .stage-cycle-correction-approval-fields,
#modal-stage-approval-cycles .stage-cycle-correction-period {
  display: flex;
  gap: 12px;
  align-items: center;
}

#modal-stage-approval-cycles .stage-cycle-correction-approval-heading {
  justify-content: space-between;
  margin-bottom: 10px;
}

#modal-stage-approval-cycles .stage-cycle-correction-approval-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: flex-end;
  justify-content: flex-end;
  margin-left: auto;
}

#modal-stage-approval-cycles .stage-cycle-correction-move {
  display: flex !important;
  gap: 8px;
  align-items: center;
  margin: 0 !important;
  color: #526069 !important;
  font-weight: 500 !important;
  white-space: nowrap;
}

#modal-stage-approval-cycles .stage-cycle-correction-move > span {
  margin: 0;
}

#modal-stage-approval-cycles .stage-cycle-correction-move select {
  width: min(350px, 42vw);
}

#modal-stage-approval-cycles .stage-cycle-correction-approval-heading .stage-cycle-correction-remove {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  color: #e9595b;
  font-weight: 500;
  line-height: 30px;
}

#modal-stage-approval-cycles .stage-cycle-correction-remove input {
  margin: 0;
}

#modal-stage-approval-cycles .stage-cycle-correction-approval-fields > div {
  min-width: 210px;
}

#modal-stage-approval-cycles .stage-cycle-correction-phases-field {
  flex: 1 1 310px;
}

#modal-stage-approval-cycles .stage-cycle-correction-phases {
  min-height: 72px;
}

#modal-stage-approval-cycles .stage-cycle-correction-phases-field .select2-container {
  width: 100% !important;
}

#modal-stage-approval-cycles .stage-cycle-correction-phases-field small {
  display: block;
  margin-top: 5px;
  color: #a3afb7;
  font-size: 11px;
}

#modal-stage-approval-cycles .stage-cycle-correction-periods {
  margin-top: 10px;
  border-top: 1px solid #edf0f2;
}

#modal-stage-approval-cycles .stage-cycle-correction-periods > summary {
  padding: 9px 0 3px;
  color: #4e97d9;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

#modal-stage-approval-cycles .stage-cycle-correction-period {
	display: flex;
	gap: 16px;
	align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}

#modal-stage-approval-cycles .stage-cycle-correction-period > span strong,
#modal-stage-approval-cycles .stage-cycle-correction-period > span small { display: block; }
#modal-stage-approval-cycles .stage-cycle-correction-period > span small { color: #8796a0; }

#modal-stage-approval-cycles .stage-cycle-correction-period select {
  width: 150px;
}

#modal-stage-approval-cycles .stage-cycle-review-card.has-business-corrections {
  border-left-color: #4e97d9;
}

#modal-stage-approval-cycles .stage-cycle-button-loader {
  font-size: 12px;
  vertical-align: -2px;
  border-top-color: rgba(255, 255, 255, .45);
  border-right-color: rgba(255, 255, 255, .45);
  border-bottom-color: rgba(255, 255, 255, .45);
  border-left-color: currentColor;
}

@media (max-width: 991px) {
  #modal-stage-approval-cycles .stage-cycle-group-heading {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  #modal-stage-approval-cycles .stage-cycle-heading-meta {
    justify-content: flex-start;
  }

  #modal-stage-approval-cycles .stage-cycle-edit-heading {
    grid-template-columns: 1fr 2fr;
    align-items: end;
  }

  #modal-stage-approval-cycles .stage-cycle-review-overview {
    grid-template-columns: repeat(2, 1fr);
  }

  #modal-stage-approval-cycles .stage-cycle-review-heading,
  #modal-stage-approval-cycles .stage-cycle-review-facts {
    grid-template-columns: 1fr 1fr;
  }

  #modal-stage-approval-cycles .stage-cycle-review-state {
    justify-self: start;
  }

  #modal-stage-approval-cycles .stage-cycle-review-approval-summary {
    grid-template-columns: minmax(180px, 1.2fr) 1fr 1fr;
  }

  #modal-stage-approval-cycles .stage-cycle-correction-cycle {
    grid-template-columns: 1fr 1fr;
  }

  #modal-stage-approval-cycles .stage-cycle-correction-approval-heading {
    align-items: flex-start;
  }

  #modal-stage-approval-cycles .stage-cycle-correction-approval-actions {
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  #modal-stage-approval-cycles .modal-dialog {
    width: calc(100vw - 12px);
    margin: 6px auto;
  }

  #modal-stage-approval-cycles .modal-content {
    max-height: calc(100vh - 12px);
  }

  #modal-stage-approval-cycles .stage-cycle-visual-timeline {
    padding-left: 0;
  }

  #modal-stage-approval-cycles .stage-cycle-visual-timeline::before,
  #modal-stage-approval-cycles .stage-cycle-group::before {
    display: none;
  }

  #modal-stage-approval-cycles .stage-cycle-approval-list {
    grid-template-columns: 1fr;
  }

  #modal-stage-approval-cycles .stage-cycle-period-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  #modal-stage-approval-cycles .stage-cycle-edit-heading,
  #modal-stage-approval-cycles .stage-cycle-edit-dates {
    grid-template-columns: 1fr;
  }

  #modal-stage-approval-cycles .stage-cycle-edit-dates > span {
    display: none;
  }

  #modal-stage-approval-cycles .stage-cycle-edit-approvals {
    grid-template-columns: 1fr;
  }

  #modal-stage-approval-cycles .stage-cycle-review-overview,
  #modal-stage-approval-cycles .stage-cycle-review-heading,
  #modal-stage-approval-cycles .stage-cycle-review-facts,
  #modal-stage-approval-cycles .stage-cycle-review-approval-summary,
  #modal-stage-approval-cycles .stage-cycle-review-period-detail,
  #modal-stage-approval-cycles .stage-cycle-review-change,
  #modal-stage-approval-cycles .stage-cycle-correction-cycle {
    grid-template-columns: 1fr;
  }

  #modal-stage-approval-cycles .stage-cycle-review-timeline-group .stage-cycle-review-heading {
    grid-template-columns: 1fr;
  }

  #modal-stage-approval-cycles .stage-cycle-correction-approval-heading,
  #modal-stage-approval-cycles .stage-cycle-correction-approval-actions,
  #modal-stage-approval-cycles .stage-cycle-correction-move {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  #modal-stage-approval-cycles .stage-cycle-correction-move select {
    width: 100%;
  }

  #modal-stage-approval-cycles .stage-cycle-review-timeline-items {
    padding: 8px;
  }

  #modal-stage-approval-cycles .stage-cycle-review-period-columns {
    display: none;
  }

  #modal-stage-approval-cycles .stage-cycle-review-apply-all,
  #modal-stage-approval-cycles .stage-cycle-review-outside-group > summary,
  #modal-stage-approval-cycles .stage-cycle-review-context,
  #modal-stage-approval-cycles .stage-cycle-history-unavailable,
  #modal-stage-approval-cycles .stage-cycle-review-section-heading,
  #modal-stage-approval-cycles .stage-cycle-unassigned-context {
    align-items: flex-start;
    flex-direction: column;
  }

  #modal-stage-approval-cycles .stage-cycle-recorded-context {
    padding: 13px 10px 2px;
  }

  #modal-stage-approval-cycles .stage-cycle-unassigned-context {
    margin-left: 0;
  }

  #modal-stage-approval-cycles .stage-cycle-correction-approval-fields {
    display: grid;
    grid-template-columns: 1fr;
  }

  #modal-stage-approval-cycles .stage-cycle-review-expired-fix {
    align-items: stretch;
    flex-direction: column;
  }

  #modal-stage-approval-cycles .stage-cycle-review-facts > div {
    border-right: 0;
    border-bottom: 1px solid #edf0f2;
  }

  #modal-stage-approval-cycles .stage-cycle-review-approval-summary {
    gap: 7px;
  }

  #modal-stage-approval-cycles .stage-cycle-review-periods {
    margin-left: 20px;
  }

  #modal-stage-approval-cycles .stage-cycle-review-approval > .stage-cycle-unified-technical {
    margin: 0 8px 12px 20px;
  }
}
#popinstageinfo .modal-content {
	position: relative;
}

#popinstageinfo .stage-info-loading-state {
	position: absolute;
	inset: 0;
	z-index: 20;
	min-height: 100%;
	background: #fff;
	overflow: hidden;
	pointer-events: none;
}

#popinstageinfo .stage-info-loading-layout {
	display: grid;
	grid-template-columns: minmax(300px, 34%) 1fr;
	min-height: 100%;
}

#popinstageinfo .stage-info-loading-aside,
#popinstageinfo .stage-info-loading-main {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 72px 52px;
}

#popinstageinfo .stage-info-loading-aside {
	align-items: center;
	background: #f3f7f9;
	border-right: 1px solid #e4eaec;
}

#popinstageinfo .stage-info-loading-main {
	padding-top: 110px;
}

#popinstageinfo .stage-info-loading-icon,
#popinstageinfo .stage-info-loading-line,
#popinstageinfo .stage-info-loading-card {
	display: block;
	background: linear-gradient(90deg, #eef2f5 25%, #f8fafb 45%, #eef2f5 65%);
	background-size: 300% 100%;
	animation: stage-info-loading-pulse 1.25s ease-in-out infinite;
}

#popinstageinfo .stage-info-loading-icon {
	width: 86px;
	height: 86px;
	margin-bottom: 12px;
	border-radius: 12px;
}

#popinstageinfo .stage-info-loading-line {
	height: 18px;
	border-radius: 9px;
}

#popinstageinfo .stage-info-loading-line-lg { width: 82%; height: 28px; }
#popinstageinfo .stage-info-loading-line-md { width: 62%; }
#popinstageinfo .stage-info-loading-line-sm { width: 38%; }

#popinstageinfo .stage-info-loading-card {
	width: 100%;
	height: 190px;
	border: 1px solid #e4eaec;
	border-radius: 8px;
}

#popinstageinfo .stage-info-loading-card-short { height: 120px; }

@keyframes stage-info-loading-pulse {
	0% { background-position: 100% 0; }
	100% { background-position: 0 0; }
}

@media (max-width: 767px) {
	#popinstageinfo .stage-info-loading-layout { grid-template-columns: 1fr; }
	#popinstageinfo .stage-info-loading-aside,
	#popinstageinfo .stage-info-loading-main { padding: 42px 28px; }
	#popinstageinfo .stage-info-loading-aside { border-right: 0; border-bottom: 1px solid #e4eaec; }
	#popinstageinfo .stage-info-loading-main { padding-top: 34px; }
}

@media (prefers-reduced-motion: reduce) {
	#popinstageinfo .stage-info-loading-icon,
	#popinstageinfo .stage-info-loading-line,
	#popinstageinfo .stage-info-loading-card { animation: none; }
}
.stage-cycle-unassigned-editor {
	border-left: 4px solid #f2a654;
	background: #fff8ed;
	border-radius: 4px;
	padding: 14px 16px;
}
.stage-cycle-unassigned-editor > header,
.stage-cycle-unassigned-editor-row { display: flex; align-items: center; gap: 12px; }
.stage-cycle-unassigned-editor > header { justify-content: space-between; margin-bottom: 10px; }
.stage-cycle-unassigned-editor > header strong,
.stage-cycle-unassigned-editor > header span,
.stage-cycle-unassigned-editor-row > div span { display: block; }
.stage-cycle-unassigned-editor > header div > span,
.stage-cycle-unassigned-editor-row > div span { color: #76838f; font-size: 12px; }
.stage-cycle-unassigned-editor-row {
	background: #fff;
	border: 1px solid #e4eaec;
	border-radius: 4px;
	padding: 10px 12px;
	margin-top: 8px;
}
.stage-cycle-unassigned-editor-row > div { flex: 1 1 auto; }
.stage-cycle-unassigned-editor-row .stage-cycle-unassigned-validity { margin-top: 5px; }
.stage-cycle-unassigned-editor-row .stage-cycle-unassigned-business-status { margin-top: 5px; }
.stage-cycle-unassigned-editor-row .stage-cycle-unassigned-business-status .badge {
	display: inline-flex;
	font-size: 11px;
}
.stage-cycle-unassigned-editor-row select { max-width: 230px; }
@media (max-width: 767px) {
	.stage-cycle-unassigned-editor-row { align-items: stretch; flex-direction: column; }
	.stage-cycle-unassigned-editor-row select { max-width: none; }
}
#form_modalApproval .approval-management-intro {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 20px;
	padding: 13px 16px;
}
#form_modalApproval .approval-management-intro > .icon {
	flex: 0 0 auto;
	margin-top: 2px;
	font-size: 20px;
}
#form_modalApproval .approval-management-intro strong,
#form_modalApproval .approval-management-intro span { display: block; }
#form_modalApproval .approval-management-intro span {
	margin-top: 2px;
	font-size: 12px;
	line-height: 1.45;
}
#form_modalApproval .approval-validity-column { min-width: 350px; }
#form_modalApproval .approval-validity-cell {
	min-width: 330px;
	padding: 0;
}
#form_modalApproval .approval-validity-cell.is-stage-period {
	min-height: 86px;
	display: flex;
	align-items: center;
	padding: 12px;
	border: 1px solid #e4eaec;
	border-radius: 8px;
	background: #f3f7fa;
}
#form_modalApproval .approval-period-context {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}
#form_modalApproval .approval-period-context strong { color: #37474f; }
#form_modalApproval .approval-period-context small { color: #76838f; }
#form_modalApproval .approval-cycle-current,
#form_modalApproval .approval-cycle-empty-state,
#form_modalApproval .approval-cycle-selection-summary {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 10px;
	padding: 10px 12px;
	border: 1px solid #dfe6eb;
	border-radius: 8px;
	background: #f7f9fa;
}
#form_modalApproval .approval-cycle-current { display: block; }
#form_modalApproval .approval-cycle-current > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 4px;
}
#form_modalApproval .approval-cycle-current-label {
	color: #526069;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}
#form_modalApproval .approval-cycle-current strong,
#form_modalApproval .approval-cycle-current small { display: block; }
#form_modalApproval .approval-cycle-current strong { color: #37474f; font-size: 13px; }
#form_modalApproval .approval-cycle-current small { color: #76838f; font-size: 11px; }
#form_modalApproval .approval-cycle-validity-mismatch { cursor: help; }
#form_modalApproval .approval-cycle-validity-mismatch:focus {
	outline: 1px solid #f2a654;
	outline-offset: 1px;
}
#form_modalApproval .approval-cycle-empty-state > .icon { margin-top: 2px; color: #a3afb7; font-size: 17px; }
#form_modalApproval .approval-cycle-empty-state span,
#form_modalApproval .approval-cycle-empty-state strong,
#form_modalApproval .approval-cycle-empty-state small { display: block; }
#form_modalApproval .approval-cycle-empty-state strong { color: #526069; font-size: 12px; }
#form_modalApproval .approval-cycle-empty-state small { color: #76838f; font-size: 11px; }
#form_modalApproval .approval-cycle-selection-summary {
	border-color: #b9dfc7;
	background: #f2fbf5;
}
#form_modalApproval .approval-cycle-selection-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #46be8a;
	color: #fff;
}
#form_modalApproval .approval-cycle-selection-summary strong,
#form_modalApproval .approval-cycle-selection-summary small { display: block; }
#form_modalApproval .approval-cycle-selection-summary strong { color: #2f6f52; font-size: 12px; }
#form_modalApproval .approval-cycle-selection-summary small { color: #527765; font-size: 11px; }
#form_modalApproval .approval-cycle-scenarios {
	display: flex;
	flex-direction: column;
	gap: 7px;
}
#form_modalApproval .approval-cycle-inherited {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	padding: 10px 12px;
	border: 1px solid #dfe6eb;
	border-left: 3px solid #62a8ea;
	border-radius: 7px;
	background: #f3f7fa;
}
#form_modalApproval .approval-cycle-inherited-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #d9ecfb;
	color: #2574a9;
}
#form_modalApproval .approval-cycle-inherited > span:last-child,
#form_modalApproval .approval-cycle-inherited strong,
#form_modalApproval .approval-cycle-inherited small { display: block; }
#form_modalApproval .approval-cycle-inherited strong { color: #37474f; font-size: 12px; }
#form_modalApproval .approval-cycle-inherited small { margin-top: 2px; color: #76838f; font-size: 10px; line-height: 1.35; }
#form_modalApproval .approval-cycle-keep {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #dfe6eb;
	border-radius: 8px;
	background: #fff;
	color: #526069;
	text-align: left;
}
#form_modalApproval .approval-cycle-keep:hover,
#form_modalApproval .approval-cycle-keep.is-selected {
	border-color: #62a8ea;
	background: #f1f7fd;
	color: #2574a9;
}
#form_modalApproval .approval-cycle-choice-icon {
	flex: 0 0 auto;
	box-shadow: none;
	pointer-events: none;
}
#form_modalApproval .approval-cycle-keep:not(.is-selected) .approval-cycle-choice-icon {
	border-color: #e4eaec;
	background: #e4eaec;
	color: #526069;
}
#form_modalApproval .approval-cycle-keep.is-selected .approval-cycle-choice-icon {
	border-color: #62a8ea;
	background: #62a8ea;
	color: #fff;
}
#form_modalApproval .approval-cycle-keep span,
#form_modalApproval .approval-cycle-keep strong,
#form_modalApproval .approval-cycle-keep small { display: block; }
#form_modalApproval .approval-cycle-keep strong { font-size: 12px; }
#form_modalApproval .approval-cycle-keep small { color: #76838f; font-size: 10px; font-weight: 400; }
#form_modalApproval .approval-cycle-attach,
#form_modalApproval .approval-cycle-create {
	padding: 8px 10px;
	border: 1px solid #e4eaec;
	border-radius: 8px;
	background: #fff;
}
#form_modalApproval .approval-cycle-attach label,
#form_modalApproval .approval-cycle-section-title {
	display: block;
	margin-bottom: 5px;
	color: #526069;
	font-size: 11px;
	font-weight: 700;
}
#form_modalApproval .approval-cycle-attach select { height: 34px; font-size: 11px; }
#form_modalApproval .approval-cycle-action-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 6px;
}
#form_modalApproval .approval-cycle-action-grid button {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 6px 8px;
	border: 1px solid #dfe6eb;
	border-radius: 7px;
	background: #f8fafb;
	color: #526069;
	text-align: left;
}
#form_modalApproval .approval-cycle-action-grid button:hover,
#form_modalApproval .approval-cycle-action-grid button.is-selected {
	border-color: #62a8ea;
	background: #f1f7fd;
	color: #2574a9;
}
#form_modalApproval .approval-cycle-action-grid button > .icon { flex: 0 0 auto; font-size: 17px; }
#form_modalApproval .approval-cycle-action-grid button span,
#form_modalApproval .approval-cycle-action-grid button strong { display: block; }
#form_modalApproval .approval-cycle-action-grid button span { font-size: 10px; line-height: 1.25; }
#form_modalApproval .approval-cycle-action-grid button strong { margin-top: 2px; font-size: 12px; }
#form_modalApproval .approval-cycle-stop {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	margin-top: 8px;
	padding: 8px 10px 0;
	border: 0;
	border-top: 1px solid #edf0f2;
	background: transparent;
	color: #76838f;
	font-size: 11px;
}
#form_modalApproval .approval-cycle-stop:hover,
#form_modalApproval .approval-cycle-stop.is-selected {
	border-top-color: #ffd7d7;
	background: #fff7f7;
	color: #f96868;
}
#form_modalApproval .approval-cycle-exceptional {
	padding: 8px 10px;
	border: 1px solid #e4eaec;
	border-radius: 8px;
	background: #fbfcfd;
}
#form_modalApproval .approval-cycle-exceptional-choice + .approval-cycle-exceptional-choice {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #edf0f2;
}
#form_modalApproval .approval-cycle-exceptional-choice > strong,
#form_modalApproval .approval-cycle-exceptional-choice > small {
	display: block;
}
#form_modalApproval .approval-cycle-exceptional-choice > strong {
	color: #526069;
	font-size: 11px;
}
#form_modalApproval .approval-cycle-exceptional-choice > small {
	margin: 1px 0 5px;
	color: #76838f;
	font-size: 9px;
	line-height: 1.3;
}
#form_modalApproval .approval-cycle-exceptional-choice select {
	height: 32px;
	font-size: 10px;
}
#form_modalApproval .approval-collective-custom-start {
	margin-top: 6px;
	padding: 7px;
	border-radius: 6px;
	background: #f1f7fd;
}
#form_modalApproval .approval-collective-custom-start label,
#form_modalApproval .approval-collective-custom-start small {
	display: block;
	font-size: 9px;
}
#form_modalApproval .approval-collective-custom-start small { margin-top: 3px; color: #76838f; }
#form_modalApproval .approval-validity-advanced {
	margin-top: 9px;
	border-top: 1px solid #e4eaec;
	padding-top: 8px;
}
#form_modalApproval .approval-validity-advanced > summary {
	cursor: pointer;
	color: #526069;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;
	transition: color .15s ease;
}
#form_modalApproval .approval-validity-advanced > summary:hover,
#form_modalApproval .approval-validity-advanced[open] > summary { color: #2574a9; }
#form_modalApproval .approval-validity-advanced [attr-id="approval_validity_dates"] {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 8px;
}
#form_modalApproval .approval-validity-advanced label,
#form_modalApproval .approval-validity-advanced label > span {
	display: block;
	margin: 0;
	font-size: 11px;
}
#form_modalApproval .approval-stage-period-identifier {
	display: block;
	margin-top: 9px;
}
#form_modalApproval .approval-cycle-siimop-field {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	margin-top: 8px;
	padding: 9px 10px 10px;
	border: 1px solid #e4eaec;
	border-radius: 7px;
	background: #f8fafb;
}
#form_modalApproval .approval-cycle-siimop-field .approval-cycle-siimop-label,
#form_modalApproval .approval-cycle-siimop-field strong,
#form_modalApproval .approval-cycle-siimop-field small { display: block; }
#form_modalApproval .approval-cycle-siimop-field .approval-cycle-siimop-label { line-height: 1.25; }
#form_modalApproval .approval-cycle-siimop-field strong { color: #526069; font-size: 11px; line-height: 1.25; }
#form_modalApproval .approval-cycle-siimop-field small { margin-top: 2px; color: #a3afb7; font-size: 9px; font-weight: 400; line-height: 1.25; }
#form_modalApproval .approval-cycle-siimop-field input { width: 100%; height: 32px; }
#form_modalApproval .approval-comment-column { min-width: 220px; max-width: 250px; }
#form_modalApproval .approval-principal-number-field,
#form_modalApproval .approval-comment-field { display: block; margin: 0; }
#form_modalApproval .approval-principal-number-field > span,
#form_modalApproval .approval-comment-field > span {
	display: block;
	margin-bottom: 4px;
	color: #76838f;
	font-size: 10px;
	font-weight: 500;
}
#form_modalApproval .approval-principal-number-field { margin-bottom: 9px; }
#form_modalApproval .approval-principal-number-field input,
#form_modalApproval .approval-comment-field textarea { width: 100%; }
#form_modalApproval .approval-stage-period-identifier span,
#form_modalApproval .approval-stage-period-identifier strong,
#form_modalApproval .approval-stage-period-identifier em { display: block; }
#form_modalApproval .approval-stage-period-identifier strong { color: #76838f; font-weight: 500; }
#form_modalApproval .approval-stage-period-identifier em { max-width: 170px; color: #a3afb7; font-size: 10px; }
@media (max-width: 991px) {
	#form_modalApproval .approval-validity-column { min-width: 340px; }
	#form_modalApproval .approval-validity-cell { min-width: 320px; }
}

.stage-approval-summary-loading {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 54px;
	padding: 12px 16px;
	font-size: 14px;
	line-height: 1.4;
}
#form_modalApproval .approval-management-intro.alert-primary {
	border-color: #c9e0f5;
	border-left: 3px solid #62a8ea;
	background: #f1f7fd;
	color: #526069;
}
#form_modalApproval .approval-management-intro.alert-info {
	border-left: 3px solid #57c7d4;
}
.stage-approval-summary-loading .stage-approval-summary-spinner {
	display: inline-block;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin: 0;
	font-size: 16px;
	vertical-align: middle;
}
.stage-approval-summary-loading > span:last-child { min-width: 0; }
.stage-cycle-unassigned-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
@media (max-width: 767px) {
	.stage-cycle-unassigned-actions { align-items: flex-end; flex-direction: column; }
}
.stage-cycle-duration-helpers { margin-bottom: 1px; }
.stage-cycle-approval-status { min-width: 165px; }
#modal-stage-approval-cycles .stage-cycle-editor-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.stage-cycle-add-after-timeline { position: relative; padding: 6px 0 24px 38px; }
.stage-cycle-add-after-timeline::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 50%;
	left: -17px;
	border-left: 2px solid #d9e7f2;
}
.stage-cycle-add-after-timeline::after {
	content: "+";
	position: absolute;
	top: 8px;
	left: -29px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: 2px solid #62a8ea;
	border-radius: 50%;
	background: #fff;
	color: #3583ca;
	font-weight: 700;
}
#modal-approval-removal .modal-title {
	font-size: 21px;
	line-height: 1.25;
	font-weight: 600;
}

#modal-approval-removal .modal-body {
	padding-top: 14px;
	padding-bottom: 16px;
}

#modal-approval-removal .approval-removal-intro {
	margin: 0 0 12px;
	color: #76838f;
	font-size: 14px;
}

#modal-approval-removal .approval-removal-choices {
	display: grid;
	gap: 8px;
}

#modal-approval-removal .approval-removal-choice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 11px 12px;
	border: 1px solid #dfe5e8;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease;
}

#modal-approval-removal .approval-removal-choice:hover {
	border-color: #a9c9ed;
	background: #f8fbff;
}

#modal-approval-removal .approval-removal-choice.is-selected {
	border-color: #62a8ea;
	background: #f1f7fd;
}

#modal-approval-removal .approval-removal-choice input {
	flex: 0 0 auto;
	margin-top: 3px;
}

#modal-approval-removal .approval-removal-choice span {
	display: block;
	min-width: 0;
}

#modal-approval-removal .approval-removal-choice strong,
#modal-approval-removal .approval-removal-choice small {
	display: block;
}

#modal-approval-removal .approval-removal-choice strong {
	color: #37474f;
	font-size: 14px;
	line-height: 1.3;
}

#modal-approval-removal .approval-removal-choice small {
	margin-top: 3px;
	color: #76838f;
	font-size: 12px;
	line-height: 1.35;
}

#modal-approval-removal .approval-removal-choice-danger.is-selected {
	border-color: #ff9da2;
	background: #fff7f7;
}
