/* Mboko parcours — style premium contemporain, mobile-first */
:root {
  --mboko-ink: #1c1917;
  --mboko-clay: #9a3412;
  --mboko-sand: #f5f0e8;
  --mboko-forest: #14532d;
  --mboko-line: rgba(28, 25, 23, 0.12);
}

.mboko-department-field,
.mboko-dept-explorer,
.mboko-empty-search,
.mboko-target-departments-field {
  font-family: "Source Serif 4", "Libre Baskerville", Georgia, serif;
  color: var(--mboko-ink);
}

.mboko-dept-explorer {
  margin-top: 0.75rem;
}

.mboko-dept-explorer__toggle,
.mboko-target-open {
  background: transparent;
  border: 1px solid var(--mboko-line);
  color: var(--mboko-forest);
  padding: 0.55rem 0.9rem;
  font-size: 0.95rem;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font: inherit;
}

.mboko-dept-explorer__panel {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: linear-gradient(160deg, #fffdf8 0%, var(--mboko-sand) 100%);
  border: 1px solid var(--mboko-line);
}

.mboko-dept-explorer__note {
  font-size: 0.85rem;
  opacity: 0.85;
}

.mboko-dept-explorer__region,
.mboko-target-region {
  margin: 0.4rem 0;
}

.mboko-dept-explorer__region summary,
.mboko-target-region summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--mboko-clay);
  list-style: none;
}

.mboko-dept-explorer__region summary::-webkit-details-marker,
.mboko-target-region summary::-webkit-details-marker {
  display: none;
}

.mboko-dept-explorer__region summary::before,
.mboko-target-region summary::before {
  content: "▶ ";
  font-size: 0.75em;
}

.mboko-dept-explorer__region[open] summary::before,
.mboko-target-region[open] summary::before {
  content: "▼ ";
}

.mboko-dept-explorer__pick {
  background: none;
  border: 0;
  padding: 0.35rem 0;
  color: var(--mboko-ink);
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
}

.mboko-dept-explorer__pick:hover {
  color: var(--mboko-clay);
}

.mboko-empty-search {
  max-width: 36rem;
  margin: 2rem auto;
  padding: 1.5rem;
  background: var(--mboko-sand);
}

.mboko-empty-search__actions {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: grid;
  gap: 0.6rem;
}

.mboko-empty-action {
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  border: 1px solid var(--mboko-line);
  background: #fff;
  cursor: pointer;
  font: inherit;
}

.mboko-empty-action:hover {
  border-color: var(--mboko-clay);
}

.mboko-empty-search__note {
  font-size: 0.9rem;
  opacity: 0.8;
}

.mboko-radius-country-help {
  font-size: 0.85rem;
  margin: 0.35rem 0 0;
  color: var(--mboko-clay);
  opacity: 0.95;
}


.mboko-target-departments-field {
  width: 100%;
  max-width: 36rem;
}

.mboko-target-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.mboko-target-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.45rem;
  background: #fff;
  border: 1px solid var(--mboko-line);
  color: var(--mboko-forest);
  font-size: 0.85rem;
}

.mboko-target-chip-remove {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--mboko-clay);
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 0.15rem;
}

.mboko-target-summary,
.mboko-soft-mode-hint {
  font-size: 0.85rem;
  margin: 0.4rem 0 0;
  opacity: 0.85;
  color: var(--mboko-forest);
}

/* Modal / panneau régions */
.mboko-target-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(28, 25, 23, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.mboko-target-modal[hidden] {
  display: none !important;
}

.mboko-target-modal__dialog {
  width: 100%;
  max-width: 32rem;
  max-height: 88vh;
  overflow: auto;
  background: linear-gradient(160deg, #fffdf8 0%, var(--mboko-sand) 100%);
  border: 1px solid var(--mboko-line);
  padding: 1rem;
  box-sizing: border-box;
}

.mboko-target-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.mboko-target-modal__close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--mboko-ink);
  line-height: 1;
}

.mboko-target-search {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.7rem;
  margin: 0.4rem 0 0.75rem;
  border: 1px solid var(--mboko-line);
  background: #fff;
  color: var(--mboko-ink);
  font: inherit;
}

.mboko-target-regions {
  max-height: 55vh;
  overflow: auto;
}

.mboko-target-region__list {
  padding: 0.25rem 0 0.5rem 0.25rem;
}

.mboko-target-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.4rem 0.45rem;
  cursor: pointer;
  font: inherit;
  color: var(--mboko-ink);
}

.mboko-target-item:hover {
  background: rgba(154, 52, 18, 0.06);
}

.mboko-target-item input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.mboko-target-modal__foot {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--mboko-line);
}

.mboko-target-modal__done {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--mboko-clay);
  background: var(--mboko-clay);
  color: #fff;
  cursor: pointer;
  font: inherit;
}

body.mboko-target-modal-open {
  overflow: hidden;
}

@media (min-width: 720px) {
  .mboko-target-modal {
    align-items: center;
    padding: 1.5rem;
  }

  .mboko-target-modal__dialog {
    max-height: 80vh;
    border-radius: 2px;
  }
}

@media (max-width: 640px) {
  .mboko-target-search,
  .mboko-target-open,
  .mboko-target-item {
    font-size: 1rem;
  }
}

/*
 * Parcours inscription complet :
 * - étape 1 /join : body.base_user_join + #joinForm
 * - étape 2+ /join : idem
 * - Complétez votre profil : body.mboko-registration-flow + #requiredQuestionsForm
 * (l’ancien correctif ciblait seulement base_user_join → échec sur fill/profile_questions)
 */
body.mboko-registration-flow .mboko-reg-login-link,
body.base_user_join .mboko-reg-login-link {
  display: inline-block;
  margin: 0.35rem 0.75rem;
  color: #fff;
  font-size: 0.9rem;
  text-decoration: underline;
  white-space: nowrap;
}

/* Chat masqué sur tout le parcours (mobile + desktop) — messagerie intacte ailleurs */
body.base_user_join .ow_chat_cont,
body.base_user_join .ow_chat_wrap,
body.base_user_join .ow_chat_dialog_wrap,
body.base_user_join .ow_chat_selector,
body.base_user_join #chatPromotionBlock,
body.mboko-registration-flow .ow_chat_cont,
body.mboko-registration-flow .ow_chat_wrap,
body.mboko-registration-flow .ow_chat_dialog_wrap,
body.mboko-registration-flow .ow_chat_selector,
body.mboko-registration-flow #chatPromotionBlock,
body.mboko-registration-flow .ow_mailbox_table,
body.mboko-registration-flow #dialogsContainer {
  display: none !important;
}

/* En-tête simplifié pendant l’inscription */
body.base_user_join .ow_menu_wrap,
body.mboko-registration-flow .ow_menu_wrap,
body.base_user_join .ow_main_menu,
body.mboko-registration-flow .ow_main_menu {
  display: none !important;
}

/* Libérer la largeur du formulaire (widgets latéraux hors parcours)
   Ne pas cibler .ow_left/.ow_right seuls : l’input Places porte aussi .ow_left */
body.base_user_join .ow_sidebar,
body.base_user_join .ow_column_sidebar,
body.base_user_join .ow_ads_in_sidebar,
body.base_user_join .ow_column.ow_left,
body.base_user_join .ow_column.ow_right,
body.mboko-registration-flow .ow_sidebar,
body.mboko-registration-flow .ow_column_sidebar,
body.mboko-registration-flow .ow_ads_in_sidebar,
body.mboko-registration-flow .layout_left,
body.mboko-registration-flow .layout_right,
body.mboko-registration-flow .ow_column.ow_left,
body.mboko-registration-flow .ow_column.ow_right {
  display: none !important;
}

body.base_user_join .ow_content,
body.mboko-registration-flow .ow_content,
body.base_user_join .layout_middle,
body.mboko-registration-flow .layout_middle,
body.base_user_join .ow_page,
body.mboko-registration-flow .ow_page {
  width: 100% !important;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  float: none !important;
  box-sizing: border-box;
}

body.base_user_join .ow_console .ow_console_item_sign_up,
body.mboko-registration-flow .ow_console .ow_console_item_sign_up,
body.base_user_join a[href*="/join"].index_join_button,
body.mboko-registration-flow a.index_join_button,
body.mboko-registration-flow .index_join_button {
  display: none !important;
}

/* Console : masquer items inutiles pendant l’inscription (menus déjà masqués) */
body.mboko-registration-flow .ow_console_item,
body.base_user_join .ow_console_item {
  display: none !important;
}

body.base_user_join #mboko-reg-login-link,
body.mboko-registration-flow #mboko-reg-login-link {
  display: inline-block !important;
}

/* Desktop ≥768 : répartition libellé / champ / aide stable (grid — évite l’égalisation due aux th colspan) */
@media (min-width: 768px) {
  body.base_user_join #joinForm table.ow_form,
  body.mboko-registration-flow #joinForm table.ow_form,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form,
  body.mboko-registration-flow form[name="requiredQuestionsForm"] table.ow_form,
  body.mboko-registration-flow form[name="accountTypeForm"] table.ow_form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Join : ow_alt* souvent sur <tr> ; Complétez profil : ow_alt* sur <td> (tr sans classe) */
  body.base_user_join #joinForm table.ow_form tr.ow_alt1,
  body.base_user_join #joinForm table.ow_form tr.ow_alt2,
  body.base_user_join #joinForm table.ow_form tr:has(> td.ow_label),
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form tr:has(> td.ow_label),
  body.mboko-registration-flow form[name="requiredQuestionsForm"] table.ow_form tr:has(> td.ow_label),
  body.mboko-registration-flow form[name="accountTypeForm"] table.ow_form tr:has(> td.ow_label) {
    display: grid !important;
    grid-template-columns: minmax(8rem, 25%) minmax(12rem, 50%) minmax(8rem, 25%);
    align-items: start;
    width: 100%;
    box-sizing: border-box;
  }

  body.base_user_join #joinForm table.ow_form tr.ow_alt1 td,
  body.base_user_join #joinForm table.ow_form tr.ow_alt2 td,
  body.base_user_join #joinForm table.ow_form tr:has(> td.ow_label) > td,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form tr:has(> td.ow_label) > td,
  body.mboko-registration-flow form[name="requiredQuestionsForm"] table.ow_form tr:has(> td.ow_label) > td {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere;
    writing-mode: horizontal-tb !important;
    float: none !important;
  }

  body.base_user_join #joinForm table.ow_form td.ow_label,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form td.ow_label {
    text-align: right;
    padding-right: 0.75rem !important;
  }

  body.base_user_join #joinForm table.ow_form td.ow_desc,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form td.ow_desc {
    text-align: left;
    line-height: 1.35;
    font-size: 0.9rem;
  }

  body.base_user_join #joinForm table.ow_form th,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form th {
    white-space: normal !important;
    overflow: visible !important;
    text-align: left;
  }

  body.base_user_join #joinForm input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
  body.base_user_join #joinForm select,
  body.base_user_join #joinForm textarea,
  body.mboko-registration-flow #requiredQuestionsForm input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
  body.mboko-registration-flow #requiredQuestionsForm select,
  body.mboko-registration-flow #requiredQuestionsForm textarea,
  body.mboko-registration-flow #requiredQuestionsForm .pac-target-input,
  body.mboko-registration-flow #requiredQuestionsForm .jcf-select,
  body.mboko-registration-flow #requiredQuestionsForm .ow_googlelocation_location_input {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  /* Date : 3 jcf-select en ligne dans la colonne champ */
  body.base_user_join #joinForm td.ow_value,
  body.mboko-registration-flow #requiredQuestionsForm td.ow_value {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
  }

  body.base_user_join #joinForm td.ow_value .jcf-select,
  body.mboko-registration-flow #requiredQuestionsForm td.ow_value .jcf-select {
    flex: 1 1 5.5rem;
    min-width: 5.5rem;
    max-width: 100%;
    width: auto !important;
    box-sizing: border-box;
  }

  body.mboko-registration-flow #requiredQuestionsForm td.ow_value .ow_googlelocation_location_input,
  body.base_user_join #joinForm td.ow_value .ow_googlelocation_location_input,
  body.mboko-registration-flow #requiredQuestionsForm .googlelocation_form_element_div,
  body.mboko-registration-flow #requiredQuestionsForm .googlelocation_form_element_div .ow_googlelocation_location_input {
    flex: 1 1 100%;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    float: none !important;
    display: block !important;
  }
}

/* Mobile <768 : empilement vertical sur TOUTES les étapes */
@media (max-width: 767px) {
  body.base_user_join,
  body.mboko-registration-flow {
    overflow-x: hidden;
  }

  body.base_user_join .ow_page_wrap,
  body.base_user_join .ow_page_padding,
  body.base_user_join .ow_page_container,
  body.base_user_join .ow_canvas,
  body.base_user_join .ow_page,
  body.base_user_join .ow_content,
  body.mboko-registration-flow .ow_page_wrap,
  body.mboko-registration-flow .ow_page_padding,
  body.mboko-registration-flow .ow_page_container,
  body.mboko-registration-flow .ow_canvas,
  body.mboko-registration-flow .ow_page,
  body.mboko-registration-flow .ow_content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  body.base_user_join .ow_content,
  body.base_user_join .ow_page,
  body.mboko-registration-flow .ow_content,
  body.mboko-registration-flow .ow_page {
    overflow-x: hidden;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 96px;
  }

  body.base_user_join #joinForm,
  body.base_user_join form[name="joinForm"],
  body.mboko-registration-flow #joinForm,
  body.mboko-registration-flow #requiredQuestionsForm,
  body.mboko-registration-flow form[name="requiredQuestionsForm"],
  body.mboko-registration-flow form[name="accountTypeForm"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    display: block;
  }

  body.base_user_join #joinForm table.ow_form,
  body.base_user_join #joinForm table.ow_table_1,
  body.mboko-registration-flow #joinForm table.ow_form,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_table_1,
  body.mboko-registration-flow form[name="requiredQuestionsForm"] table.ow_form,
  body.mboko-registration-flow form[name="accountTypeForm"] table.ow_form {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed;
    box-sizing: border-box;
  }

  body.base_user_join #joinForm table.ow_form tbody,
  body.base_user_join #joinForm table.ow_form thead,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form tbody,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form thead {
    display: block;
    width: 100%;
  }

  body.base_user_join #joinForm table.ow_form tr,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form tr,
  body.mboko-registration-flow form[name="requiredQuestionsForm"] table.ow_form tr {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 1rem;
    border: 0;
  }

  body.base_user_join #joinForm table.ow_form tr.ow_tr_delimiter,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form tr.ow_tr_delimiter {
    display: none;
  }

  body.base_user_join #joinForm table.ow_form th,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form th,
  body.mboko-registration-flow form[name="requiredQuestionsForm"] table.ow_form th {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    text-align: center !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    padding: 0.65rem 0.35rem !important;
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  body.base_user_join #joinForm table.ow_form td,
  body.base_user_join #joinForm table.ow_form td.ow_label,
  body.base_user_join #joinForm table.ow_form td.ow_value,
  body.base_user_join #joinForm table.ow_form td.ow_desc,
  body.base_user_join #joinForm table.ow_form td.ow_submit,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form td,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form td.ow_label,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form td.ow_value,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form td.ow_desc,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form td.ow_submit,
  body.mboko-registration-flow form[name="requiredQuestionsForm"] table.ow_form td {
    display: block !important;
    float: none !important;
    clear: both;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
    writing-mode: horizontal-tb !important;
    padding: 0.25rem 0 !important;
    border-left-width: 0 !important;
    border-right-width: 0 !important;
  }

  body.base_user_join #joinForm table.ow_form td.ow_label,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form td.ow_label {
    font-weight: 600;
    margin-bottom: 0.15rem;
  }

  body.base_user_join #joinForm table.ow_form td.ow_desc,
  body.mboko-registration-flow #requiredQuestionsForm table.ow_form td.ow_desc {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: 0.2rem;
  }

  body.base_user_join #joinForm input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
  body.base_user_join #joinForm select,
  body.base_user_join #joinForm textarea,
  body.base_user_join #joinForm .pac-target-input,
  body.base_user_join #joinForm .jcf-select,
  body.base_user_join #joinForm .jcf-textarea,
  body.mboko-registration-flow #requiredQuestionsForm input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
  body.mboko-registration-flow #requiredQuestionsForm select,
  body.mboko-registration-flow #requiredQuestionsForm textarea,
  body.mboko-registration-flow #requiredQuestionsForm .pac-target-input,
  body.mboko-registration-flow #requiredQuestionsForm .jcf-select,
  body.mboko-registration-flow #requiredQuestionsForm .jcf-textarea,
  body.mboko-registration-flow #requiredQuestionsForm form[name="requiredQuestionsForm"] input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
  body.mboko-registration-flow form[name="requiredQuestionsForm"] select,
  body.mboko-registration-flow form[name="requiredQuestionsForm"] textarea,
  body.mboko-registration-flow #requiredQuestionsForm .ow_googlelocation_location_input,
  body.base_user_join #joinForm .ow_googlelocation_location_input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Année / mois / jour : pleine largeur empilée sur mobile */
  body.base_user_join #joinForm td.ow_value select,
  body.mboko-registration-flow #requiredQuestionsForm td.ow_value select {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    margin: 0 0 0.35rem;
  }

  body.base_user_join .mboko-dept-explorer,
  body.base_user_join .mboko-dept-explorer__toggle,
  body.base_user_join .mboko-target-departments-field,
  body.base_user_join .mboko-target-open,
  body.base_user_join .mboko-target-selected,
  body.base_user_join .mboko-target-chip,
  body.mboko-registration-flow .mboko-dept-explorer,
  body.mboko-registration-flow .mboko-dept-explorer__toggle,
  body.mboko-registration-flow .mboko-target-departments-field,
  body.mboko-registration-flow .mboko-target-open,
  body.mboko-registration-flow .mboko-target-selected,
  body.mboko-registration-flow .mboko-target-chip {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  body.base_user_join #joinForm .ow_button,
  body.base_user_join #joinForm input[type="submit"],
  body.mboko-registration-flow #requiredQuestionsForm .ow_button,
  body.mboko-registration-flow #requiredQuestionsForm input[type="submit"],
  body.mboko-registration-flow form[name="requiredQuestionsForm"] input[type="submit"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }
}

/* Mboko positionnement éditorial (accueil + inscription) */
.mboko-positioning {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(160deg, #fffdf8 0%, var(--mboko-sand) 100%);
  border: 1px solid var(--mboko-line);
  border-radius: 14px;
  box-sizing: border-box;
}

.mboko-positioning__definition {
  margin: 0 0 0.75rem 0;
  color: var(--mboko-ink);
  font-size: 1rem;
  line-height: 1.5;
}

.mboko-positioning__modes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mboko-positioning__mode {
  min-width: 0;
}

.mboko-positioning__mode-label {
  font-weight: 700;
  color: var(--mboko-clay);
  margin-bottom: 0.25rem;
}

.mboko-positioning__mode-text {
  color: var(--mboko-ink);
  font-size: 0.98rem;
  line-height: 1.5;
}

.mboko-join-intro,
.mboko-step2-intro {
  margin: 0.25rem 0 1rem 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(160deg, #fffdf8 0%, var(--mboko-sand) 100%);
  border: 1px solid var(--mboko-line);
  border-radius: 14px;
  box-sizing: border-box;
}

.mboko-join-intro {
  max-width: 100%;
}

/* Desktop : deux colonnes */
@media (min-width: 900px) {
  .mboko-positioning__modes {
    flex-direction: row;
    align-items: stretch;
  }

  .mboko-positioning__mode {
    flex: 1 1 0;
  }
}


.mboko-dept-pref-help {
  margin-top: 0.5rem;
  color: var(--mboko-ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* ========== Bêta gratuite ========== */

/* Classes réelles Oxwall (dashboard-ClassName) — filet CSS en plus du soft-hide serveur */
body.mboko-beta-free [class*="dashboard-USERCREDITS_CMP_MyCreditsWidget"],
body.mboko-beta-free [class*="dashboard-MEMBERSHIP_CMP_MyMembershipWidget"],
body.mboko-beta-free [class*="dashboard-HOTLIST_CMP_IndexWidget"],
body.mboko-beta-free [class*="dashboard-BASE_CMP_WelcomeWidget"],
body.mboko-beta-free [class*="USERCREDITS_CMP_MyCreditsWidget"],
body.mboko-beta-free [class*="MEMBERSHIP_CMP_MyMembershipWidget"],
body.mboko-beta-free [class*="HOTLIST_CMP_IndexWidget"],
body.mboko-beta-free [class*="HOTLIST_MCMP_Widget"],
body.mboko-beta-free [class*="BASE_CMP_WelcomeWidget"],
body.mboko-beta-free [class*="MEMBERSHIP_CMP_PromoWidget"],
body.mboko-beta-free a[href*="/membership/subscribe"],
body.mboko-beta-free a[href*="/user-credits/buy-credits"],
body.mboko-beta-free a[href*="/stripe/order"],
body.mboko-beta-free a[href*="buy-credits"],
body.mboko-beta-free a[href*="pay-page"],
body.mboko-beta-free a[href*="payPage-mobile"] {
  display: none !important;
}

/* Sélecteur compact : toujours visible en recherche (le JS ne doit plus masquer la cellule) */
body.mboko-beta-free form[name="MainSearchForm"] .mboko-target-departments-field,
body.mboko-beta-free form[name="MainSearchForm"] .mboko-target-open,
body.mboko-beta-free .owm_user_search_form .mboko-target-departments-field,
body.mboko-beta-free .owm_user_search_form .mboko-target-open,
body.mboko-beta-free .usearch_question_mboko_target_departments .mboko-target-departments-field,
body.mboko-beta-free .usearch_question_mboko_target_departments .mboko-target-open {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

body.mboko-beta-free .usearch_question_mboko_target_departments {
  display: table-row !important;
}

body.mboko-beta-free .usearch_question_mboko_target_departments td.ow_value {
  display: table-cell !important;
  visibility: visible !important;
}

.mboko-dashboard-welcome {
  margin: 0 0 1.25rem 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(160deg, #fffdf8 0%, var(--mboko-sand) 100%);
  border: 1px solid var(--mboko-line);
  border-radius: 14px;
  box-sizing: border-box;
}

.mboko-dashboard-welcome__intro {
  margin: 0 0 0.75rem 0;
  color: var(--mboko-ink);
  font-size: 1rem;
  line-height: 1.5;
}

.mboko-dashboard-welcome__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
}

.mboko-dashboard-welcome__links a {
  color: var(--mboko-clay);
  font-weight: 600;
  text-decoration: underline;
}

/* Chat fixe : masquer uniquement sous 768px (Messages / desktop inchangés) */
@media (max-width: 767px) {
  body.mboko-beta-free .ow_chat_dialog_wrap,
  body.mboko-beta-free .ow_chat_mail_block,
  body.mboko-beta-free #ow_chat_console,
  body.mboko-beta-free .ow_chat_wrap,
  body.mboko-beta-free .ow_chat {
    display: none !important;
  }
}

/* Recherche rapide — classes réelles .ow_qs / .ow_qs_field (desktop widget sur mobile) */
@media (max-width: 767px) {
  body.mboko-beta-free .ow_qs,
  body.mboko-beta-free .ow_qs_field,
  body.mboko-beta-free .ow_qs_btn {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  body.mboko-beta-free .ow_qs_field {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding-bottom: 0.85rem !important;
  }

  body.mboko-beta-free .ow_qs_label,
  body.mboko-beta-free .ow_qs_value {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 0 0.35rem 0 !important;
    box-sizing: border-box !important;
  }

  body.mboko-beta-free .ow_qs_field input[type="text"],
  body.mboko-beta-free .ow_qs_field input.ow_googlelocation_search_location,
  body.mboko-beta-free .ow_qs_field .ow_googlelocation_search_location,
  body.mboko-beta-free .ow_qs_field select,
  body.mboko-beta-free .ow_qs_value input,
  body.mboko-beta-free .ow_qs_value select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.mboko-beta-free .ow_qs_field.ow_qs_presentation_checkbox,
  body.mboko-beta-free .ow_qs_field[style*="width:50%"] {
    width: 100% !important;
    float: none !important;
  }

  body.mboko-beta-free .ow_qs_btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
  }

  body.mboko-beta-free .ow_qs_btn .ow_button,
  body.mboko-beta-free .ow_qs_btn input[type="submit"],
  body.mboko-beta-free .ow_qs_btn .ow_qs_label {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0.4rem 0 !important;
  }

  /* Recherche avancée mobile — tableau → blocs verticaux */
  body.mboko-beta-free .ow_table_1.ow_form,
  body.mboko-beta-free .ow_table_1.ow_form tbody,
  body.mboko-beta-free .ow_table_1.ow_form tr,
  body.mboko-beta-free .questions_div .ow_table_1.ow_form {
    display: block !important;
    width: 100% !important;
  }

  body.mboko-beta-free .ow_table_1.ow_form tr.ow_question_tr,
  body.mboko-beta-free .questions_div .ow_table_1.ow_form tr {
    display: block !important;
    width: 100% !important;
    margin: 0 0 0.85rem 0 !important;
    box-sizing: border-box !important;
  }

  body.mboko-beta-free .ow_table_1.ow_form td.ow_label,
  body.mboko-beta-free .ow_table_1.ow_form td.ow_value,
  body.mboko-beta-free .ow_table_1.ow_form td.ow_desc,
  body.mboko-beta-free .ow_table_1.ow_form th {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
    padding: 0.25rem 0 !important;
  }

  body.mboko-beta-free .ow_table_1.ow_form td.ow_desc {
    font-size: 0.9rem !important;
    opacity: 0.9;
  }

  body.mboko-beta-free .userach_submit_button,
  body.mboko-beta-free .userach_submit_button .ow_right,
  body.mboko-beta-free .userach_submit_button input[type="submit"],
  body.mboko-beta-free .owm_btn_wide {
    display: block !important;
    width: 100% !important;
    float: none !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  body.mboko-beta-free .mboko-target-open,
  body.mboko-beta-free .mboko-target-departments-field,
  body.mboko-beta-free .mboko-target-modal__dialog {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.mboko-beta-free .usearch_question_mboko_target_departments {
    display: block !important;
  }
}

