/* Séquence gouvernance : post-its Do, Don't, À discuter par thématique.
   Complète assets/styles.css, base commune aux pages de l'atelier. */

[data-c="do"]       { --cc: var(--z-play);  --cbg: var(--z-play-bg); }
[data-c="dont"]     { --cc: var(--z-red);   --cbg: var(--z-red-bg); }
[data-c="discuter"] { --cc: var(--z-drift); --cbg: var(--z-drift-bg); }

.switch#themes button { padding: 9px 16px; font-size: 13.5px; }

/* ---------- formulaire ---------- */
form.chform { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.chform #f-texte { grid-column: 1; }
.chform #f-colonne { grid-column: 2; }
@media (max-width: 820px) {
  form.chform { grid-template-columns: 1fr; }
  .chform #f-colonne { grid-column: 1; }
}
.chform textarea { min-height: 112px; }
.cnt { font-size: 10px; letter-spacing: .04em; color: var(--ink-faint); text-transform: none; }

.colband { display: flex; flex-direction: column; gap: 7px; }
.colband > label {
  display: flex; gap: 9px; align-items: center; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--cc);
  border-radius: var(--r-s); padding: 8px 10px; font-size: 13.5px; font-weight: 600;
}
.colband > label:hover, .colband > label:has(input:checked) { background: var(--cbg); }
.colband > label:has(input:checked) { border-color: var(--cc); }
.colband > label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 1px; }
.colband input { margin: 0; width: 15px; height: 15px; accent-color: var(--cc); cursor: pointer; }
.field.bad .colband { outline: 1px solid var(--z-red); outline-offset: 3px; border-radius: var(--r-s); }

/* ---------- mur en trois colonnes ---------- */
.wall-head .btn.small { padding: 6px 12px; font-size: 12.5px; }

.board { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
@media (max-width: 900px) { .board { grid-template-columns: 1fr; } }

.ccol {
  background: var(--surface); border: 1px solid var(--line);
  border-top: 3px solid var(--cc); border-radius: var(--r-m);
  padding: 11px 11px 13px; min-width: 0; min-height: 180px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background .12s, box-shadow .12s;
}
.ccol.cible { background: var(--cbg); box-shadow: 0 0 0 2px var(--cc) inset; }
.ccol-head { display: flex; align-items: baseline; gap: 8px; }
.ccol-head h3 { font-size: 17px; color: var(--cc); }
.ccol-head .eyebrow { margin-left: auto; }
.cnotes { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cnotes:empty::after { content: attr(data-vide); font-size: 12.5px; color: var(--ink-faint); padding: 6px 2px; }

.cnote {
  background: var(--cbg); border: 1px solid color-mix(in srgb, var(--cc) 30%, transparent);
  border-left: 4px solid var(--cc); border-radius: 2px;
  padding: 9px 30px 8px 11px; box-shadow: var(--shadow); position: relative;
  display: flex; flex-direction: column; gap: 7px; cursor: grab;
}
.cnote:active { cursor: grabbing; }
.cnote.drag { opacity: .4; }
.cnote .txt { font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.cnote .kill {
  position: absolute; top: 5px; right: 5px; width: 20px; height: 20px;
  border: 0; border-radius: 2px; background: transparent; color: var(--ink-faint);
  font-size: 18px; line-height: 1; cursor: pointer;
}
.cnote .kill:hover { background: var(--z-red-bg); color: var(--z-red); }

/* déplacement vers une autre colonne */
.cnote .moves { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.cnote .mv {
  appearance: none; cursor: pointer; background: var(--surface);
  border: 1px solid var(--line-strong); border-left: 3px solid var(--cc);
  border-radius: 2px; padding: 2px 7px; color: var(--ink-soft);
  font-family: var(--mono); font-size: 10px; letter-spacing: .04em;
}
.cnote .mv:hover { color: var(--ink); border-color: var(--cc); }
.cnote.pop { animation: pop .25s ease-out; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.03); } 100% { transform: scale(1); } }

/* titre de la thématique dans le bandeau de saisie */
.band-top h2.theme-titre { font-size: 30px; line-height: 1.1; }
.cnote { cursor: grab; }
