/* =========================================================
   RadiologicHub — comptes rendus types
   Éditeur, bibliothèque de modèles, phrases automatiques.
   S'appuie sur styles.css (variables, boutons, champs) et
   fiche.css (code couleur k-*).
   ========================================================= */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: .05em .45em;
  border-radius: 6px;
  border: 2px solid var(--ink);
  border-bottom-width: 3px;
  background: #fff;
  font: 800 .72em/1.4 var(--font);
  text-align: center;
  color: var(--ink);
}
.cr-hero code, .cr-form-help code {
  padding: .05em .35em;
  border-radius: 6px;
  background: rgba(242, 171, 47, .32);
  font: 700 .9em var(--font);
  color: #7a5000;
}

/* ---------- En-tête compact : titre, phrase d'accroche, « Mode d'emploi » dépliable ---------- */
.cr-hero { padding: calc(var(--header-h) + 18px) 0 0; }
.cr-hero .cr-hero-in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; padding-bottom: 16px; }
.cr-hero .marker-tag { margin-bottom: .3em; font-size: .85rem; }
.cr-hero h1 { margin-bottom: .2em; font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
.cr-hero .fiche-sub { margin: 0; font-size: .95rem; }
.cr-aide-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: .5em 1.1em .5em .5em;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, .6);
  font: 800 .72rem var(--font);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: background .16s, color .16s;
}
.cr-aide-btn small { font-size: .72rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.cr-aide-ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; }
.cr-aide-btn:hover, .cr-aide-btn[aria-expanded="true"] { background: var(--ink); color: #fff; }
.cr-aide-btn:hover small, .cr-aide-btn[aria-expanded="true"] small { color: rgba(255, 255, 255, .82); }
.cr-aide-btn:hover .cr-aide-ico, .cr-aide-btn[aria-expanded="true"] .cr-aide-ico { background: var(--amber); color: var(--ink); }
.cr-hero .cr-aide { padding-bottom: 18px; }
.cr-aide[hidden] { display: none; }
.cr-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cr-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: 999px 18px 18px 999px;
  background: var(--card);
  border: 2px solid var(--c);
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.45;
}
.cr-steps b {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c);
  color: #fff;
  font-weight: 900;
  font-size: .95rem;
}
.cr-raccourcis { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(17, 17, 20, .12); font-size: .8rem; font-weight: 600; color: var(--text); }

/* ---------- Mise en page ---------- */
.cr-app { padding: 20px 0 80px; }
.cr-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 28px; align-items: start; }

/* ---------- Bibliothèque ---------- */
.cr-side {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  max-height: calc(100vh - var(--header-h) - 32px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--cornflower);
  overflow: hidden;
}
.cr-side-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 2px solid var(--ink); flex: 0 0 auto; }
.cr-side-tab {
  padding: 14px 8px;
  border: 0;
  background: transparent;
  font: 900 .74rem var(--font);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.cr-side-tab + .cr-side-tab { border-left: 2px solid var(--ink); }
.cr-side-tab:hover { background: #fff; }
.cr-side-tab.is-active { background: var(--ink); color: #fff; }
.cr-side-tab:focus-visible { outline: 3px solid var(--amber); outline-offset: -5px; }
.cr-panel { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 16px 20px; scrollbar-width: thin; }
.cr-panel[hidden] { display: none; }

.cr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cr-chip {
  --c: var(--ink);
  padding: .35em .8em;
  border-radius: 999px;
  border: 2px solid var(--c);
  background: #fff;
  font: 800 .64rem var(--font);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.cr-chip:hover { background: var(--card); }
.cr-chip[aria-pressed="true"]:hover { background: var(--c); }
.cr-chip[aria-pressed="true"] { background: var(--c); color: #fff; }
.cr-chip:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Modèles : 1 · examen, 2 · spécialité */
.cr-step-label { margin: 0 0 8px; font-size: .66rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cr-mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.cr-mod-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  min-height: 46px;
  padding: 8px 8px 8px 10px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background: #fff;
  font: 800 .62rem/1.25 var(--font);
  letter-spacing: .03em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s;
}
.cr-mod-btn:hover { background: var(--card); }
.cr-mod-btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.cr-mod-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cr-mod-btn.is-all { grid-column: 1 / -1; min-height: 0; padding: 6px 12px; justify-content: center; font-size: .62rem; border-width: 2px; }
.cr-mod-count { flex: 0 0 auto; min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--card); color: var(--ink); font-size: .62rem; text-align: center; }
.cr-mod-btn[aria-pressed="true"] .cr-mod-count { background: #fff; }
.cr-mod-btn:disabled { opacity: .4; cursor: default; transform: none; }

/* Modèles */
.cr-tpl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cr-tpl { position: relative; }
.cr-tpl-btn {
  --c: var(--blue);
  width: 100%;
  padding: 10px 14px 11px;
  border-radius: 12px;
  border: 2px solid var(--c);
  border-left-width: 6px;
  background: #fff;
  font: inherit;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.cr-tpl-btn:hover { box-shadow: 3px 3px 0 color-mix(in srgb, var(--c) 55%, transparent); }
.cr-tpl-btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.cr-tpl-btn[aria-current="true"] { background: color-mix(in srgb, var(--c) 16%, #fff); }
.cr-tpl-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; font-size: .6rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 72%, #000); }
.cr-tpl-title { display: block; font-weight: 800; font-size: .84rem; line-height: 1.35; }
.cr-tpl.is-mine .cr-tpl-btn { padding-right: 40px; }
.cr-del {
  position: absolute;
  top: 50%; right: 8px;
  width: 28px; height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #fff;
  font: 800 .9rem/1 var(--font);
  color: var(--ink);
  cursor: pointer;
}
.cr-del:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Phrases */
.cr-search input {
  width: 100%;
  margin-bottom: 12px;
  padding: .7em 1em;
  border-radius: 999px;
  border: 3px solid #cfcfd6;
  background: #fff;
  font: 600 .88rem var(--font);
  color: var(--ink);
}
.cr-search input:focus { outline: none; border-color: var(--cornflower); box-shadow: 0 0 0 4px rgba(82, 115, 191, .2); }
.cr-hint { margin: -4px 0 12px; font-size: .74rem; font-weight: 700; color: var(--muted); }
.cr-group { margin: 0 0 14px; }
.cr-group-title { margin: 0 0 8px; font-family: var(--font-marker); font-size: .95rem; letter-spacing: .04em; color: var(--ink); text-transform: none; font-weight: 400; }
.cr-ph-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cr-ph {
  width: 100%;
  padding: 9px 12px;
  border-radius: 14px;
  border: 2px solid rgba(0, 0, 0, .12);
  background: #fff;
  font: inherit;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.cr-ph:hover { border-color: var(--ink); transform: translateX(3px); }
.cr-ph:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.cr-ph-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.cr-ph-head mark { font-size: .72rem; }
.cr-ph-label { display: block; margin-top: 3px; font-size: .8rem; font-weight: 800; line-height: 1.35; }
.cr-ph-prev, .cr-sug-prev {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 3px;
  font-size: .74rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
}
.cr-mod {
  padding: .15em .6em;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cr-empty { margin: 8px 0 0; font-size: .85rem; font-weight: 600; color: var(--muted); }

/* ---------- Barre d'outils : actions courantes, menu « Plus d'actions », Effacer à part ---------- */
.cr-main { min-width: 0; }
.cr-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 12px; }
.cr-tb-groupe { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cr-tb-groupe + .cr-tb-groupe { padding-left: 14px; border-left: 1px solid rgba(17, 17, 20, .18); }
.cr-toolbar .cr-tb-fin { margin-left: auto; padding-left: 0; border-left: 0; }
.cr-toolbar .btn { padding: .62em 1em; border-width: 2px; font-size: .68rem; }
.cr-toolbar .btn:hover { transform: none; box-shadow: none; }
.cr-toolbar .btn-outline:hover { background: #fff; }
.cr-toolbar .btn-ink:hover { background: var(--navy); border-color: var(--navy); }
.cr-tb-discret { border-color: rgba(17, 17, 20, .3); }
.cr-danger { border-color: color-mix(in srgb, var(--red) 55%, transparent); background: #fff; color: var(--red); }   /* fond blanc : rouge lisible (7,4 : 1) */
.cr-toolbar .cr-danger:hover { background: var(--red); border-color: var(--red); color: #fff; }
.cr-toolbar .btn:disabled, .cr-toolbar .btn:disabled:hover { opacity: .4; cursor: default; transform: none; box-shadow: none; background: transparent; }
.cr-plus-boite { position: relative; }
.cr-plus-btn[aria-expanded="true"], .cr-toolbar .cr-plus-btn[aria-expanded="true"]:hover { background: var(--ink); color: #fff; }
.cr-plus {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px); left: 14px;
  display: grid;
  min-width: 250px;
  padding: 6px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 5px 5px 0 rgba(17, 17, 20, .2);
}
.cr-plus[hidden] { display: none; }
.cr-plus button { padding: 10px 12px; border: 0; border-radius: 9px; background: none; font: 700 .84rem var(--font); text-align: left; color: var(--ink); cursor: pointer; }
.cr-plus button:hover { background: var(--card); }
.cr-plus button:focus-visible { outline-offset: -2px; box-shadow: none; }

/* ---------- Dictée et volet des calculateurs : plus discrets (sélecteurs renforcés : dictee.css est chargé après) ---------- */
.cr-main .dt-bar { padding: 8px 12px; margin-bottom: 10px; border-width: 2px; border-radius: 14px; }
.cr-main .dt-mic { border-width: 2px; }
.cr-main .dt-warn { padding: 4px 10px; border-left-width: 4px; font-size: .74rem; font-weight: 600; }
.cr-main .dt-panel { border-width: 2px; }

/* ---------- Éditeur ---------- */
.cr-editor-wrap { position: relative; }
.cr-editor {
  display: block;
  width: 100%;
  min-height: 68vh;
  resize: vertical;
  padding: 24px 28px;
  border-radius: 18px;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 6px 6px 0 var(--ink);
  font: 500 1.03rem/1.72 var(--font);
  letter-spacing: .005em;
  color: var(--ink);
  tab-size: 4;
  transition: box-shadow .16s, border-color .16s;
}
.cr-editor:focus { outline: none; box-shadow: 6px 6px 0 var(--orange); }
.cr-editor::placeholder { color: #8b8a96; }
.cr-editor::selection { background: rgba(242, 171, 47, .5); }

/* Copie invisible du texte pour placer la bulle sous le curseur */
.cr-mirror { position: absolute; top: 0; left: -9999px; visibility: hidden; white-space: pre-wrap; overflow-wrap: break-word; word-wrap: break-word; }

/* ---------- Bulle de suggestions ---------- */
.cr-pop {
  position: absolute;
  z-index: 20;
  width: min(460px, calc(100% - 8px));
  border-radius: 18px;
  border: 3px solid var(--ink);
  background: var(--card);
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
  animation: fade-up .15s ease-out;
}
.cr-pop[hidden] { display: none; }
.cr-pop ul { position: relative; list-style: none; margin: 0; padding: 6px; max-height: 330px; overflow-y: auto; }
.cr-sug { padding: 9px 12px; border-radius: 12px; cursor: pointer; }
.cr-sug + .cr-sug { margin-top: 2px; }
.cr-sug:hover { background: rgba(255, 255, 255, .7); }
.cr-sug.is-active { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.cr-sug-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .8rem; font-weight: 800; color: var(--ink); }
.cr-sug-head mark { font-size: .7rem; }
.cr-sug.is-active .cr-sug-prev { -webkit-line-clamp: 6; }
/* Options d'un champ à choix [a / b / c] */
.cr-choix { display: flex; align-items: flex-start; gap: 10px; }
.cr-choix-n { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font-size: .68rem; font-weight: 800; color: var(--ink); }
.cr-choix.is-active .cr-choix-n { background: var(--ink); color: #fff; }
.cr-choix.is-multi .cr-choix-n { border-radius: 6px; font-size: .8rem; }
.cr-choix.is-coche .cr-choix-n { background: var(--green, #548c6c); border-color: var(--green, #548c6c); color: #fff; }
.cr-choix.is-coche .cr-choix-txt { font-weight: 800; }
.cr-pop-valider { margin-right: 6px; padding: 3px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-size: .7rem; font-weight: 900; cursor: pointer; }
.cr-choix-txt { padding-top: 2px; font-size: .84rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.cr-pop-help { margin: 0; padding: 7px 14px; border-top: 2px dashed rgba(0, 0, 0, .15); font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cr-pop-help kbd { font-size: .62rem; }

/* ---------- État, interrupteur ---------- */
.cr-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 18px; }
.cr-status p { margin: 0; font-size: .82rem; font-weight: 700; color: var(--muted); }
.cr-status .is-todo { color: var(--red); }
.cr-status .is-ok { color: var(--green); }
.cr-switch { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.cr-switch small { font-size: .62rem; text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 700; }
.cr-switch input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  position: relative;
  width: 44px; height: 26px;
  margin: 0;
  border-radius: 999px;
  border: 3px solid var(--ink);
  background: #fff;
  cursor: pointer;
  transition: background .2s;
}
.cr-switch input::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform .2s, background .2s;
}
.cr-switch input:checked { background: var(--green); }
.cr-switch input:checked::after { transform: translateX(18px); background: #fff; }
.cr-switch input:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
/* ---------- Envoi par e-mail ---------- */
.cr-send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--card);
  border: 2px solid var(--ink);
}
.cr-send label { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.cr-send input {
  flex: 1 1 240px;
  min-width: 0;
  padding: .6em 1em;
  border-radius: 999px;
  border: 3px solid #cfcfd6;
  background: #fff;
  font: 600 .86rem var(--font);
  color: var(--ink);
}
.cr-send select {
  padding: .6em 2.2em .6em 1em;
  border-radius: 999px;
  border: 3px solid #cfcfd6;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111114' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  -webkit-appearance: none;
  font: 700 .82rem var(--font);
  color: var(--ink);
  cursor: pointer;
}
.cr-send input:focus, .cr-send select:focus { outline: none; border-color: var(--cornflower); box-shadow: 0 0 0 4px rgba(82, 115, 191, .2); }
.cr-send-note { flex-basis: 100%; margin: 0; font-size: .74rem; line-height: 1.5; color: var(--muted); }
.cr-flash { min-height: 1.5em; margin: 8px 0 0; font-size: .85rem; font-weight: 800; color: var(--green); }
.cr-flash.is-warn { color: var(--red); }
.cr-note { margin: 14px 0 0; font-size: .78rem; line-height: 1.55; color: var(--muted); }

/* ---------- Mes phrases ---------- */
.cr-mine { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: start; }
.cr-form {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--card);
  border: 4px solid var(--ink);
  box-shadow: 10px 10px 0 var(--plum);
}
.cr-form-title { margin-bottom: 18px; font-family: var(--font-marker); font-weight: 400; text-transform: none; letter-spacing: .04em; font-size: 1.3rem; text-decoration: underline; text-underline-offset: 6px; }
.cr-form small { text-transform: none; letter-spacing: 0; color: var(--muted); }
.cr-form textarea { min-height: 140px; line-height: 1.6; }
.cr-form-help { font-size: .8rem; color: var(--muted); }
.cr-form .field.has-error textarea { border-color: var(--red); }
.cr-io-status { margin: 0 0 12px; min-height: 0; text-align: left; }
.cr-form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cr-form-actions [hidden] { display: none; }
.cr-mine-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cr-mine-head h3 { margin: 0; }
.cr-count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; margin-left: 6px; padding: 0 8px; border-radius: 999px; background: var(--plum); color: #fff; font-size: .8rem; }
.cr-mine-io { display: flex; gap: 8px; }
.cr-mine-io label.btn:focus-within { outline: 3px solid var(--amber); outline-offset: 3px; }
.cr-mine-ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cr-mine-ul li { padding: 14px 16px; border-radius: 18px; background: var(--card); border: 3px solid var(--plum); }
.cr-mine-ul .cr-ph-head { justify-content: space-between; }
.cr-mine-ul .cr-ph-prev { -webkit-line-clamp: 3; }
.cr-mine-actions { display: flex; gap: 8px; margin-top: 10px; }
.cr-link { padding: 0; border: 0; background: none; font: 800 .72rem var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--royal); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cr-link:hover { color: var(--red); }


/* ---------- Impression : uniquement le compte rendu ---------- */
.cr-print { display: none; }
@media print {
  body > *:not(.cr-print) { display: none !important; }
  body { background: #fff !important; }
  .cr-print { display: block; white-space: pre-wrap; font: 500 11pt/1.6 var(--font); color: #000; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cr-steps { grid-template-columns: 1fr; }
  .cr-mods { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .cr-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cr-side { position: static; max-height: 460px; }
  .cr-mine { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .cr-editor { min-height: 60vh; padding: 16px 14px; box-shadow: 4px 4px 0 var(--ink); font-size: 1rem; }
  .cr-editor:focus { box-shadow: 4px 4px 0 var(--orange); }
  .cr-hero .cr-hero-in { align-items: flex-start; }
  .cr-aide-btn small { display: none; }
  .cr-tb-groupe + .cr-tb-groupe { padding-left: 0; border-left: 0; }
  .cr-form { padding: 24px 18px; }
  .cr-toolbar { gap: 8px; }
  .cr-tb-groupe { flex: 1 1 auto; }
  .cr-tb-groupe .btn { flex: 1 1 auto; }
  .cr-plus { left: 0; right: 0; min-width: 0; }
}
