/* Dossiers, prospection et production. */
[hidden] {
  display: none !important;
}
#workflow-root {
  max-width: 1260px;
  margin: 0 auto;
  padding: 32px 36px 64px;
}
.wf-heading,
.wf-detail-heading,
.wf-section-title,
.wf-list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.wf-heading {
  margin: 8px 0 30px;
}
.wf-heading h1,
.wf-detail-heading h1 {
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -1px;
  font-weight: 650;
  line-height: 1.2;
  margin: 10px 0;
}
.wf-heading p,
.wf-detail-heading p,
.wf-section-title p {
  color: #667079;
  line-height: 1.6;
}
.wf-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #ad623f;
}
.wf-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #e1e5e8;
  background: white;
  border-radius: 14px;
  margin-bottom: 26px;
}
.wf-summary > div {
  padding: 20px 24px;
  border-right: 1px solid #edf0f1;
  display: flex;
  gap: 14px;
  align-items: center;
}
.wf-summary > div:last-child {
  border: 0;
}
.wf-summary strong {
  font-size: 27px;
  font-weight: 600;
  color: #344840;
}
.wf-summary span {
  color: #667079;
  font-size: 12px;
}
.wf-list-toolbar {
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.wf-view-switch {
  display: flex;
  gap: 4px;
  margin-right: auto;
  background: #e9edee;
  padding: 4px;
  border-radius: 10px;
}
.wf-view-switch button {
  border: 0;
  background: transparent;
}
.wf-view-switch [aria-pressed="true"] {
  background: white;
  box-shadow: 0 1px 4px #28382e12;
}
.wf-filters {
  display: grid;
  grid-template-columns: 2fr repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 20px;
}
.wf-filters input,
.wf-filters select,
.wf-field input,
.wf-field select,
.wf-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dce2e5;
  border-radius: 8px;
  background: #fff;
  padding: 11px 12px;
  color: #28343c;
  line-height: 1.4;
}
.wf-filters input,
.wf-filters select {
  font-size: 12px;
}
.wf-dossier-list {
  display: grid;
  gap: 10px;
}
.wf-dossier-card {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  text-align: left;
  padding: 20px;
  border-color: #e2e7e9;
  border-radius: 12px;
  gap: 18px;
}
.wf-dossier-card:hover {
  background: #fffefa;
  border-color: #b7c9bf;
  box-shadow: 0 4px 16px #253c3007;
}
.wf-folder-icon {
  display: grid;
  place-items: center;
  background: #eff4f1;
  color: #638473;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}
.wf-folder-icon svg {
  width: 23px;
  height: 23px;
}
.wf-dossier-main {
  flex: 1;
  min-width: 0;
}
.wf-dossier-main strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
  overflow-wrap: anywhere;
}
.wf-dossier-main span,
.wf-dossier-main small,
.wf-dossier-next small {
  display: block;
  color: #69737b;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.6;
}
.wf-dossier-next {
  max-width: 210px;
  font-size: 12px;
  line-height: 1.5;
  margin-left: auto;
}
.wf-stage {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 20px;
  background: #edf0f3;
  color: #52616d;
  font-size: 11px;
  font-weight: 650;
  padding: 6px 10px;
  white-space: nowrap;
}
.wf-stage.is-checking,
.wf-stage.is-declared,
.wf-stage.is-review {
  background: #fff0d8;
  color: #876321;
}
.wf-stage.is-ready,
.wf-stage.is-design {
  background: #e9edff;
  color: #5d62a0;
}
.wf-stage.is-live,
.wf-stage.is-confirmed,
.wf-stage.is-publish_ready {
  background: #e5f3eb;
  color: #367053;
}
.wf-stage.is-lost,
.wf-stage.is-rejected {
  background: #fbeae6;
  color: #a75d4a;
}
.wf-empty {
  text-align: center;
  padding: 48px 20px;
  background: #fff;
  border: 1px dashed #d5dddf;
  border-radius: 12px;
  grid-column: 1/-1;
}
.wf-empty > svg {
  width: 35px;
  height: 35px;
  color: #829b8e;
  margin-bottom: 12px;
}
.wf-empty h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.wf-empty p,
.wf-muted {
  color: #6c7780;
  font-size: 13px;
  line-height: 1.7;
}
.wf-back {
  margin-bottom: 16px;
}
.wf-back button {
  padding-left: 0;
  border: 0;
  background: none;
  color: #5a6c61;
}
.wf-detail-heading {
  align-items: flex-start;
  margin-bottom: 24px;
}
.wf-heading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 15px;
}
.wf-next-action {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid #d8e4dc;
  background: #edf4ef;
  border-radius: 10px;
  padding: 15px 18px;
  color: #3e6250;
}
.wf-next-action div {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.wf-next-action span {
  font-size: 12px;
}
.wf-next-action button {
  background: #ffffffa0;
  font-size: 12px;
  border-color: #d8e4dc;
}
.wf-local-status {
  font-size: 11px;
  color: #637d6a;
  margin: 12px 1px 22px;
}
.wf-local-status[data-pending="true"] {
  color: #987028;
}
.wf-local-status[data-error="true"] {
  color: #b4493c;
}
.wf-tabs {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  border-bottom: 1px solid #dae1e4;
  margin-bottom: 20px;
}
.wf-tabs button {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 13px 16px;
  white-space: nowrap;
  color: #6c7379;
  border-bottom: 3px solid transparent;
  font-size: 12px;
}
.wf-tabs [aria-pressed="true"] {
  color: #345746;
  border-bottom-color: #557e65;
  font-weight: 700;
}
.wf-detail-panel {
  border: 1px solid #dfe5e7;
  border-radius: 14px;
  padding: 26px;
  background: white;
}
.wf-section-title {
  margin-bottom: 24px;
}
.wf-section-title h2 {
  font-size: 18px;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.wf-section-title h3 {
  font-size: 15px;
}
.wf-section-title p {
  font-size: 12px;
}
.wf-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.wf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #45535e;
  font-size: 12px;
  font-weight: 550;
  min-width: 0;
}
.wf-field textarea {
  min-height: 116px;
  resize: vertical;
  font-weight: 400;
}
.wf-field input:disabled,
.wf-field select:disabled,
.wf-field textarea:disabled {
  background: #f4f6f7;
  color: #59636b;
  opacity: 1;
}
.wf-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.wf-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.wf-upload {
  display: inline-flex;
  cursor: pointer;
  border: 1px dashed #b5c9be;
  background: #f5f9f6;
  border-radius: 8px;
  color: #4e6c5c;
  padding: 11px 15px;
  font-size: 12px;
  font-weight: 600;
}
.wf-file-list {
  margin: 20px 0;
}
.wf-file-row {
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #e9edef;
  padding: 14px 0;
}
.wf-file-row > div {
  flex: 1;
  min-width: 0;
}
.wf-file-row strong {
  display: block;
  overflow-wrap: anywhere;
  font-weight: 550;
  font-size: 13px;
}
.wf-file-row small {
  display: block;
  color: #768189;
  margin-top: 5px;
  font-size: 11px;
}
.wf-file-row button {
  font-size: 11px;
}
.wf-file-row.is-pending {
  color: #987028;
}
.wf-file-preview {
  display: block;
  max-width: 100%;
  max-height: 55vh;
  object-fit: contain;
  margin: 0 auto 20px;
}
.wf-file-link {
  display: inline-block;
  margin-top: 12px;
  color: #387452;
}
.wf-offer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 20px;
  background: #f6f4ef;
  border: 1px solid #e9e3d7;
  border-radius: 12px;
  padding: 23px;
}
.wf-offer h3 {
  font-size: 20px;
  margin: 8px 0;
}
.wf-offer p {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.wf-offer span,
.wf-offer strong,
.wf-offer small {
  display: block;
}
.wf-offer strong {
  font-size: 20px;
  margin: 10px 0;
}
.wf-offer small {
  font-size: 11px;
  color: #7b776c;
  line-height: 1.6;
}
.wf-finance-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 30px;
}
.wf-finance-metrics > div {
  border: 1px solid #e4e9eb;
  border-radius: 10px;
  padding: 17px;
}
.wf-finance-metrics span,
.wf-finance-metrics small {
  display: block;
  color: #718079;
  font-size: 11px;
  line-height: 1.6;
}
.wf-finance-metrics strong {
  display: block;
  font-size: 19px;
  margin: 8px 0;
}
.wf-payment {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #e6ebee;
  padding: 18px 0;
}
.wf-payment > div:first-child {
  flex: 1;
}
.wf-payment span,
.wf-payment small {
  display: block;
  font-size: 11px;
  margin-top: 6px;
  color: #65717b;
}
.wf-payment button {
  font-size: 11px;
}
.wf-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 22px;
}
.wf-checklist > div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #899197;
  font-size: 12px;
}
.wf-checklist .done {
  color: #47765a;
}
.wf-assignment {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  background: #f4f6f7;
  border-radius: 10px;
  padding: 20px;
  margin: 22px 0;
}
.wf-assignment div {
  flex: 1;
  min-width: 100px;
}
.wf-assignment span,
.wf-assignment strong {
  display: block;
  font-size: 12px;
}
.wf-assignment span {
  color: #77818a;
  margin-bottom: 8px;
  font-size: 11px;
}
.wf-corrections {
  background: #fff5e9;
  border-left: 3px solid #d7a767;
  padding: 20px;
  border-radius: 6px;
}
.wf-corrections h3 {
  font-size: 14px;
  margin-bottom: 10px;
}
.wf-corrections p {
  white-space: pre-wrap;
  line-height: 1.7;
  font-size: 13px;
}
.wf-subtitle {
  font-size: 14px;
  margin: 30px 0 15px;
}
.wf-reviews > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid #e8ecee;
}
.wf-reviews strong {
  font-size: 13px;
}
.wf-reviews span {
  display: block;
  font-size: 11px;
  color: #77818a;
  margin-top: 6px;
}
.wf-reviews p {
  font-size: 13px;
  white-space: pre-wrap;
  margin-top: 10px;
}
.wf-history {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wf-history li {
  display: flex;
  gap: 18px;
  position: relative;
  padding: 0 0 24px;
}
.wf-history li:not(:last-child):before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 0;
  width: 1px;
  background: #dfe7e2;
}
.wf-history-dot {
  width: 11px;
  height: 11px;
  background: #d0dfd5;
  border: 2px solid #fff;
  outline: 1px solid #d0dfd5;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.wf-history strong {
  font-size: 13px;
  font-weight: 500;
  white-space: pre-wrap;
  line-height: 1.7;
}
.wf-history small {
  display: block;
  color: #7d878f;
  font-size: 11px;
  margin-top: 5px;
}
.wf-loading {
  padding: 60px 0;
  text-align: center;
  color: #6a7b70;
}
#wf-modal-form {
  display: grid;
  gap: 20px;
}
.wf-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #56645b;
}
.wf-checkbox input {
  margin-top: 4px;
  flex-shrink: 0;
}
.wf-form-error {
  font-size: 12px;
  color: #b14d3b;
  line-height: 1.6;
}
.wf-plan-list {
  margin-top: 18px;
}
.wf-plan-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border-bottom: 1px solid #e5eaed;
  padding: 18px 0;
}
.wf-plan-list span {
  grid-row: 2;
  font-size: 12px;
  color: #728078;
}
.wf-plan-list button {
  grid-column: 2;
  grid-row: 1/3;
}
.wf-conflict {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.wf-conflict pre {
  font-size: 11px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 250px;
  overflow: auto;
  background: #f3f5f6;
  padding: 12px;
  border-radius: 8px;
}
.wf-editor-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #eef4f0;
  border-bottom: 1px solid #dfe7e2;
  padding: 9px 30px;
  font-size: 12px;
  color: #49624f;
}
.wf-editor-context button {
  font-size: 11px;
  padding: 7px 12px;
}
body[data-workflow-role="concepteur"] [data-cloud-action="publish"],
body[data-workflow-role="concepteur"] [data-cloud-action="unpublish"] {
  display: none;
}
.wf-review-banner {
  padding: 17px 20px;
  background: #233c30;
  color: white;
  text-align: center;
}
.wf-review-banner strong {
  display: block;
  font-size: 15px;
}
.wf-review-banner span {
  display: block;
  font-size: 11px;
  margin-top: 6px;
  color: #c9d9cf;
}
.wf-review-response {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px 24px;
  background: #f7f8f4;
  border-top: 1px solid #dce5dc;
}
.wf-review-response h2 {
  font-size: 23px;
  margin-bottom: 12px;
}
.wf-review-response p {
  line-height: 1.7;
  color: #637265;
  font-size: 13px;
  margin-bottom: 18px;
}
.wf-review-response form > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wf-review-response .wf-field {
  margin-bottom: 20px;
}
@media (max-width: 1000px) {
  #workflow-root {
    padding: 25px 22px 50px;
  }
  .wf-dossier-next {
    display: none;
  }
  .wf-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wf-summary > div {
    padding: 17px 14px;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
  }
  .wf-offer {
    grid-template-columns: 1fr 1fr;
  }
  .wf-offer > div:first-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 640px) {
  #workflow-root {
    padding: 18px 14px 50px;
  }
  .wf-heading,
  .wf-detail-heading,
  .wf-section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .wf-heading {
    margin-bottom: 22px;
  }
  .wf-heading h1,
  .wf-detail-heading h1 {
    font-size: 26px;
    letter-spacing: -0.8px;
  }
  .wf-heading p {
    font-size: 12px;
  }
  .wf-summary {
    margin-bottom: 18px;
  }
  .wf-summary strong {
    font-size: 23px;
  }
  .wf-summary span {
    font-size: 10px;
  }
  .wf-summary > div {
    padding: 14px 10px;
  }
  .wf-list-toolbar {
    gap: 8px;
  }
  .wf-list-toolbar button {
    font-size: 11px;
    padding: 9px 10px;
  }
  .wf-filters input:first-child {
    grid-column: 1/-1;
  }
  .wf-dossier-card {
    padding: 15px 13px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .wf-dossier-card > .wf-stage {
    margin-left: 56px;
  }
  .wf-dossier-card > svg:last-child {
    margin-left: auto;
  }
  .wf-dossier-main {
    flex-basis: calc(100% - 60px);
  }
  .wf-detail-panel {
    padding: 20px 16px;
  }
  .wf-form-grid,
  .wf-finance-metrics,
  .wf-checklist {
    grid-template-columns: 1fr;
  }
  .wf-next-action {
    flex-wrap: wrap;
    gap: 12px;
  }
  .wf-next-action div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .wf-next-action button {
    margin-left: 30px;
  }
  .wf-tabs {
    margin-right: -14px;
    margin-left: -14px;
    padding: 0 14px;
  }
  .wf-tabs button {
    padding: 13px 11px;
  }
  .wf-heading-actions {
    padding: 0;
  }
  .wf-file-row,
  .wf-payment {
    flex-wrap: wrap;
  }
  .wf-file-row > div,
  .wf-payment > div:first-child {
    flex-basis: 75%;
  }
  .wf-editor-context {
    padding: 10px 15px;
  }
  .wf-editor-context > span {
    max-width: 55%;
  }
  .wf-conflict {
    grid-template-columns: 1fr;
  }
  .wf-reviews > div {
    align-items: flex-start;
    flex-direction: column;
  }
  .wf-offer {
    padding: 18px;
    gap: 18px;
  }
  .wf-offer strong {
    font-size: 17px;
  }
}
.wf-delivery {
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid #d6e5d9;
  background: #f4f8f2;
  padding: 22px;
  border-radius: 12px;
  margin-top: 28px;
}
.wf-delivery-qr {
  width: 140px;
  flex-shrink: 0;
}
.wf-delivery-qr svg {
  width: 100%;
  height: auto;
}
.wf-delivery h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.wf-delivery p {
  font-size: 12px;
  color: #627469;
  margin-bottom: 8px;
}
.wf-delivery a {
  font-size: 12px;
  color: #3e7350;
  overflow-wrap: anywhere;
}
.wf-delivery .wf-panel-actions {
  margin-top: 16px;
}
@media (max-width: 640px) {
  .wf-delivery {
    align-items: flex-start;
    flex-direction: column;
  }
}
.workspace:has(> #workflow-root) {
  padding: 0;
  max-width: none;
}
