:root {
  --color-bg: #ffffff;  --color-surface: #ffffff;  --color-text: #201e1d;
  --color-accent: #39b52a;  --color-accent-2: #d6006c;

  /* Charte MyCollect — docs/images/MyCollect_palette_couleurs.md */
  --mycollect-green-dark: #087f3e;
  --mycollect-green: #39b52a;
  --mycollect-green-light: #55c83a;
  --mycollect-green-soft: #ddf3d8;
  --mycollect-text-secondary: #385a4d;
  --color-divider: color-mix(in srgb, #201e1d 16%, transparent);

  --color-neutral-100:#f8f4f4; --color-neutral-200:#eae7e7; --color-neutral-300:#d7d3d3;
  --color-neutral-400:#bab6b6; --color-neutral-500:#9b9797; --color-neutral-600:#7d7979;
  --color-neutral-700:#605d5d; --color-neutral-800:#444141; --color-neutral-900:#2d2b2b;

  --color-accent-100:#ddf3d8; --color-accent-200:#c2e9b8; --color-accent-300:#9adc8b;
  --color-accent-400:#6fd05c; --color-accent-500:#55c83a; --color-accent-600:#39b52a;
  --color-accent-700:#087f3e; --color-accent-800:#066832; --color-accent-900:#044a24;

  --color-accent-2-100:#fff1f4; --color-accent-2-200:#ffdee6; --color-accent-2-300:#ffc0d0;
  --color-accent-2-400:#ff90b1; --color-accent-2-500:#ff458e; --color-accent-2-600:#d82071;
  --color-accent-2-700:#aa0b56; --color-accent-2-800:#790e3d; --color-accent-2-900:#4b1528;

  --font-heading: "Source Serif 4", system-ui, serif;  --font-heading-weight: 600;
  --font-body: "Source Serif 4", system-ui, serif;

  --space-1:5px; --space-2:10px; --space-3:15px; --space-4:20px; --space-6:30px; --space-8:40px;
  --radius-sm:1px; --radius-md:2px; --radius-lg:4px;

  --shadow-sm: 0 1px 2px color-mix(in srgb,#2d2b2b 14%,transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb,#2d2b2b 16%,transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb,#2d2b2b 22%,transparent);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
}
h2 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 15px; }

a { color: var(--color-accent-700); text-decoration: none; }
p { margin: 0 0 var(--space-3); }

.text-muted { color: var(--color-neutral-600); }

/* ---------- Cards ---------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: block;
}
.elev-sm { box-shadow: var(--shadow-sm); }

.card-kicker {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent-600);
  margin-bottom: var(--space-1);
}
.card-title { display: block; font-family: var(--font-heading); font-size: 17px; font-weight: 600; }
.card-meta { display: block; font-size: 12px; margin-top: var(--space-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px var(--space-4);
  font-family: var(--font-body);
  font-size: 15px;
  cursor: pointer;
  background: transparent;
  color: var(--color-text);
  text-decoration: none;
}
.btn:active { opacity: 0.85; }

.btn-primary { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.btn-secondary { background: var(--color-neutral-200); color: var(--color-text); border-color: var(--color-divider); }
.btn-ghost { background: transparent; color: var(--color-accent-700); }
.btn-icon { padding: 6px; border-radius: var(--radius-sm); color: var(--color-text); }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-accent-2 { background: var(--color-accent-2); color: #fff; border-color: var(--color-accent-2); }

/* ---------- Tags ---------- */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-200); color: var(--color-neutral-700); }
.tag-mycollect { background: #ddf3d8; color: #087f3e; }

/* ---------- Fields ---------- */
.field { margin-bottom: var(--space-4); }
.field-label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--color-neutral-800); }
.field-label .required { color: var(--color-accent-2); }
.field-help { font-size: 12px; margin-top: 4px; }
.input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
}
.input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }

/* ---------- Dialog ---------- */
.dialog-backdrop {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, #201e1d 40%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
/* `display: flex` ci-dessus l'emporterait sur la feuille du navigateur :
   l'attribut `hidden`, pose par le controleur Stimulus, doit etre explicite. */
.dialog-backdrop[hidden] { display: none; }
.dialog {
  width: min(90%, 360px);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
}
.dialog-title { margin-bottom: var(--space-2); }
.dialog-body { margin-bottom: var(--space-4); }
.dialog-actions { display: flex; gap: var(--space-3); justify-content: flex-end; }
.dialog-actions form { display: inline; }

/* ---------- Flash ---------- */
.flash { padding: 12px var(--space-4); border-radius: var(--radius-sm); margin-bottom: var(--space-3); font-size: 14px; }
.flash-success { background: var(--color-accent-100); color: var(--color-accent-800); }
.flash-error { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }

/* ---------- Auth shell ---------- */
.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.auth-card {
  width: 100%;
  max-width: 360px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #ddf3d8;
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-md);
}
.auth-title {
  color: #087f3e;
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: var(--space-1);
}
.auth-subtitle { color: #385a4d; }
.auth-card .btn-primary {
  background: #39b52a;
  border: none;
}
.auth-forgot {
  display: block;
  margin-top: var(--space-3);
  color: #087f3e;
  font-size: 14px;
}
.auth-card .field input {
  border-color: #ddf3d8;
}
.auth-card .field input:focus {
  border-color: #55c83a;
  outline-color: #55c83a;
}
.auth-logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto var(--space-3);
}
.auth-wordmark {
  display: block;
  width: 180px;
  height: auto;
  object-fit: contain;
  margin: 0 auto var(--space-4);
}

/* ---------- Marque (logo de la commune) ---------- */
.brand { display: flex; align-items: center; gap: var(--space-2); }
.brand h5 { color: #087f3e; }
.brand-logo { width: 26px; height: 26px; object-fit: contain; }
.staff-brand { display: flex; align-items: center; gap: var(--space-2); }
.staff-brand-logo { width: 28px; height: 28px; object-fit: contain; }
.auth-subtitle { font-size: 13px; margin-bottom: var(--space-6); }
.auth-card .field { text-align: left; }

/* ---------- Front app shell ---------- */
.app-shell {
  max-width: 420px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
}
.app-content { flex: 1; padding: var(--space-4); padding-bottom: 24px; }
.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.screen-header h5 { margin: 0; }

.form-list, .submission-list { display: flex; flex-direction: column; gap: var(--space-3); }

.form-card { background: #ffffff; border-color: #ddf3d8; }
.form-card .card-title { color: #087f3e; }
.form-card:hover { border-color: #55c83a; }

.submission-card { background: #ffffff; border-color: #ddf3d8; }
.submission-card .card-title { color: #087f3e; }
.submission-card-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.submission-card-bottom { margin-top: var(--space-2); }
.submission-card-top .card-title { font-size: 15px; }

/* ---------- Tab bar ---------- */
.tabbar {
  display: flex;
  border-top: 1px solid var(--color-divider);
  padding: var(--space-2) var(--space-2) var(--space-3);
  background: var(--color-surface);
  position: sticky;
  bottom: 0;
}
.tabbar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--color-neutral-500);
  text-decoration: none;
}
.tabbar-item.active { color: #087f3e; }

/* ---------- Fill screen ---------- */
.screen-fill { padding-bottom: 96px; }
.fill-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  border-bottom: 1px solid var(--color-divider);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-4);
}
.fill-header h4 { margin: 0; }
.section { margin-bottom: var(--space-6); }
.section-title { font-size: 17px; }
.section-desc { font-size: 13px; }
.fill-actions {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
}
.fill-actions .btn { flex: 1; }

.field-wrap { transition: opacity .2s; }
.field-wrap[hidden] { display: none; }

/* ---------- Profile ---------- */
.profile-card { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.profile-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-accent-200);
  color: var(--color-accent-800);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  flex-shrink: 0;
}
.profile-name { font-family: var(--font-heading); font-size: 15px; font-weight: 600; }
.profile-email { font-size: 12px; }
.profile-actions {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
}
.profile-action {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4);
  color: var(--color-text);
}
.profile-action + .profile-action { border-top: 1px solid var(--color-divider); }
.logout-btn { color: var(--color-accent-2-700); border-color: var(--color-accent-2-300); }

/* ---------- Error ---------- */
.error-screen {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: var(--space-4);
}
.error-screen h1 { font-size: 48px; margin-bottom: var(--space-2); }

/* ---------- Staff (back-office) ---------- */
.staff-shell { display: flex; min-height: 100vh; background: var(--mycollect-white, #fff); }

/* Barre laterale sombre sur toute sa hauteur. Le logotype MyCollect etant vert
   sur fond clair, il est pose sur une plaque blanche pour rester lisible. */
.staff-sidebar {
  width: 240px;
  background: var(--color-neutral-900);
  color: #fff;
  display: flex; flex-direction: column; flex-shrink: 0;
}
.staff-brand {
  padding: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.staff-brand a {
  display: inline-block;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 6px 10px;
}
.staff-brand-logo { display: block; height: 26px; width: auto; object-fit: contain; }

.staff-nav { flex: 1; padding: var(--space-3) 0; }
.staff-nav a {
  display: block;
  padding: 10px var(--space-4);
  border-left: 3px solid transparent;
  color: var(--color-neutral-300);
  font-size: 14px;
}
.staff-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.staff-nav a.active {
  background: var(--mycollect-green);
  border-left-color: var(--mycollect-green-light);
  color: #fff;
  font-weight: 600;
}

/* Bloc profil : meme fond que la barre, separe par un filet. */
.staff-sidebar-foot {
  padding: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
}
.staff-sidebar-foot a {
  color: var(--mycollect-green-light);
  display: block;
  margin-top: var(--space-1);
  font-weight: 600;
}
.staff-sidebar-foot a:hover { color: #fff; }

.staff-main { flex: 1; padding: var(--space-6); background: #fff; }

.staff-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); }
.staff-toolbar h1 { margin: 0; }
.staff-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: var(--space-3); margin-bottom: var(--space-6); }
.staff-card { background: #fff; border: 1px solid var(--color-neutral-300); border-radius: var(--radius-md); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-1); }
.staff-card-num { font-family: var(--font-heading); font-size: 28px; font-weight: 600; color: var(--mycollect-green-dark); }

.staff-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--color-neutral-300); border-radius: var(--radius-md); overflow: hidden; margin-bottom: var(--space-6); }
.staff-table th, .staff-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--color-divider); font-size: 14px; }
/* Meme gris que les boutons secondaires des tableaux : l'en-tete se lit comme
   une bande neutre, le vert reste reserve aux elements actifs. */
.staff-table th { background: var(--color-neutral-200); color: var(--color-text); font-weight: 600; }
.staff-table tr:last-child td { border-bottom: none; }
.staff-actions { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; }

.staff-form { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-md); padding: var(--space-6); margin-bottom: var(--space-6); max-width: 640px; }
.staff-form-inline { padding: var(--space-4); }
.staff-section { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-md); padding: var(--space-4); margin-bottom: var(--space-4); }
.staff-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-3); }
.staff-field-list { margin-bottom: var(--space-3); }
.staff-field { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--color-divider); }
.staff-field em { color: var(--color-neutral-500); font-size: 12px; }
.staff-detail p { font-size: 14px; }
.staff-filter { margin-bottom: var(--space-4); }
.staff-filter select { padding: 8px 12px; border: 1px solid var(--color-divider); border-radius: var(--radius-sm); }
.zone-checkboxes { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.zone-check { font-size: 14px; display: flex; align-items: center; gap: var(--space-2); }

/* ---------- Photos et position ---------- */
.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.photo-thumb {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  background: var(--color-neutral-200);
}
.photo-input .photo-file { display: none; }
.gps-status {
  font-size: 12px;
  margin: var(--space-2) 0 0;
}

/* ---------- Referentiel geographique (back-office) ---------- */
.geo-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}
.geo-panels .staff-table tr.is-selected td { background: var(--color-accent-100); }
.geo-city-picker { margin: 0; }

@media (max-width: 700px) {
  .geo-panels { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Profil agent ---------- */
.profile-details {
  padding: var(--space-3);
  margin-bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.profile-detail {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: 13px;
}

/* ---------- Menu lateral : icones et mode reduit ---------- */
.staff-nav a,
.staff-sidebar-foot a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.staff-nav svg,
.staff-sidebar-foot svg { width: 19px; height: 19px; flex-shrink: 0; }

/* Repli sur les icones quand un sous-menu occupe la colonne suivante. */
.staff-sidebar.is-collapsed { width: 64px; }
.staff-sidebar.is-collapsed .staff-nav a,
.staff-sidebar.is-collapsed .staff-sidebar-foot a { justify-content: center; gap: 0; }
.staff-sidebar.is-collapsed .staff-nav a span,
.staff-sidebar.is-collapsed .staff-sidebar-foot a span,
.staff-sidebar.is-collapsed .staff-user { display: none; }
.staff-sidebar.is-collapsed .staff-brand { padding: var(--space-3); text-align: center; }
.staff-sidebar.is-collapsed .staff-brand a { padding: 4px; }
.staff-sidebar.is-collapsed .staff-brand-logo { height: 26px; width: 26px; }
.staff-sidebar.is-collapsed .staff-sidebar-foot { padding: var(--space-3) 0; }

.staff-user { display: block; margin-bottom: var(--space-1); }

/* ---------- Sous-menu de second niveau ---------- */
.staff-submenu {
  width: 190px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--color-neutral-300);
  padding: var(--space-3) 0;
}
.staff-submenu-title {
  padding: 0 var(--space-4) var(--space-2);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-neutral-600);
}
.staff-submenu a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 9px var(--space-4);
  border-left: 3px solid transparent;
  color: var(--mycollect-text-secondary);
  font-size: 14px;
}
.staff-submenu a svg { width: 17px; height: 17px; flex-shrink: 0; }
.staff-submenu a:hover { background: var(--mycollect-green-soft); }
.staff-submenu a.active {
  background: var(--mycollect-green-soft);
  border-left-color: var(--mycollect-green);
  color: var(--mycollect-green-dark);
  font-weight: 600;
}

/* ---------- Actions en icones dans les tableaux ---------- */
.staff-actions { display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
.staff-actions form { display: inline-flex; }
.icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--mycollect-text-secondary);
  cursor: pointer;
}
.icon-action svg { width: 16px; height: 16px; }
.icon-action:hover { border-color: var(--mycollect-green); color: var(--mycollect-green-dark); background: var(--mycollect-green-soft); }
.icon-action.is-danger:hover { border-color: var(--color-accent-2-300); color: var(--color-accent-2-700); background: var(--color-accent-2-100); }

/* =============================================================================
   Bootstrap 5 — alignement sur la charte MyCollect
   =============================================================================
   Bootstrap 5.3 pilote son apparence par variables CSS : la charte s'applique
   sans recompiler de Sass, donc sans aucune etape de construction.
   ========================================================================== */
:root {
  --bs-primary: var(--mycollect-green);
  --bs-primary-rgb: 57, 181, 42;
  --bs-link-color: var(--mycollect-green-dark);
  --bs-link-color-rgb: 8, 127, 62;
  --bs-link-hover-color: var(--mycollect-green);

  --bs-body-bg: #ffffff;
  --bs-body-color: var(--color-text);
  --bs-body-font-family: var(--font-body);
  --bs-body-font-size: 15px;

  --bs-border-radius: var(--radius-md);
  --bs-border-radius-sm: var(--radius-sm);
  --bs-border-radius-lg: var(--radius-lg);
  --bs-border-color: var(--color-neutral-300);

  --bs-secondary-color: var(--mycollect-text-secondary);
}

/* Angles quasi droits : le style « presse ecrite » du projet. */
.btn, .form-control, .form-select, .card, .alert, .modal-content, .list-group-item {
  border-radius: var(--radius-md);
}

.btn-primary {
  --bs-btn-bg: var(--mycollect-green);
  --bs-btn-border-color: var(--mycollect-green);
  --bs-btn-hover-bg: var(--mycollect-green-dark);
  --bs-btn-hover-border-color: var(--mycollect-green-dark);
  --bs-btn-active-bg: var(--mycollect-green-dark);
  --bs-btn-active-border-color: var(--mycollect-green-dark);
  --bs-btn-disabled-bg: var(--mycollect-green-light);
  --bs-btn-disabled-border-color: var(--mycollect-green-light);
}

.btn-outline-primary {
  --bs-btn-color: var(--mycollect-green-dark);
  --bs-btn-border-color: var(--mycollect-green);
  --bs-btn-hover-bg: var(--mycollect-green);
  --bs-btn-hover-border-color: var(--mycollect-green);
  --bs-btn-active-bg: var(--mycollect-green-dark);
  --bs-btn-active-border-color: var(--mycollect-green-dark);
}

.form-control:focus, .form-select:focus {
  border-color: var(--mycollect-green-light);
  box-shadow: 0 0 0 0.15rem rgba(57, 181, 42, 0.2);
}
.form-check-input:checked {
  background-color: var(--mycollect-green);
  border-color: var(--mycollect-green);
}
.form-check-input:focus {
  border-color: var(--mycollect-green-light);
  box-shadow: 0 0 0 0.15rem rgba(57, 181, 42, 0.2);
}

/* Fond vert tres clair, utilise pour les bandeaux et les badges. */
.bg-soft { background-color: var(--mycollect-green-soft) !important; }
.text-brand { color: var(--mycollect-green-dark) !important; }
.border-brand { border-color: var(--mycollect-green) !important; }

.badge.bg-brand { background-color: var(--mycollect-green-soft) !important; color: var(--mycollect-green-dark) !important; }

/* Titres : la police serif du projet, pas celle de Bootstrap. */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .btn, .navbar-brand {
  font-family: var(--font-heading);
}

/* Tableaux du back-office : en-tete gris, comme les boutons secondaires. */
.table > thead { background-color: var(--color-neutral-200); }

/* Barre d'actions de la saisie : collee au bas, centree sur la largeur mobile. */
.fill-actions-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  max-width: 420px;
  margin: 0 auto;
}

/* Un enfant de conteneur flex ne rétrécit pas sous la largeur de son contenu
   tant que `min-width` vaut `auto`. Sans cette règle, un e-mail long pousse ce
   qui suit hors de la carte. Bootstrap ne fournit pas cet utilitaire. */
.min-width-0 { min-width: 0; }
