/* CJ Constats – interface terrain (pensée pour le téléphone). */
.cjco-cartes { list-style: none; margin: 0; padding: 0; }
.cjco-cartes li a { display: flex; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid #eef1f5; text-decoration: none; color: inherit; }
.cjco-cartes li a:hover { background: #f6f8fb; }
.cjco-cartes .dashicons { color: #b8892b; font-size: 26px; width: 26px; height: 26px; flex: none; }
.cjco-c-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cjco-c-txt strong { color: #14284b; }
.cjco-liste { list-style: none; margin: 0; padding: 0; }
.cjco-liste li { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid #eef1f5; }
.cjco-liste a { color: #14284b; text-decoration: none; }

.cjco-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-bottom: 14px; }
.cjco-type { position: relative; cursor: pointer; }
.cjco-type input { position: absolute; opacity: 0; }
.cjco-type > span { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px; border: 2px solid #dfe4ec; border-radius: 10px; background: #fff; }
.cjco-type .dashicons { color: #b8892b; font-size: 24px; width: 24px; height: 24px; }
.cjco-type strong { color: #14284b; }
.cjco-type input:checked + span { border-color: #14284b; background: #f3f6fb; box-shadow: 0 0 0 3px rgba(20, 40, 75, .12); }
.cjco-type input:focus-visible + span { outline: 3px solid #b8892b; outline-offset: 2px; }

.cjco-tete { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.cjco-tete p { margin: 0 0 6px; }
.cjco-lieu { font-size: 17px; font-weight: 600; color: #14284b; }
.cjco-lieu .dashicons { color: #b8892b; }
.cjco-pointage { text-align: center; }
.cjco-pointage form { margin: 0 0 4px; }
.cjco-gros { font-size: 17px !important; padding: 14px 22px !important; min-height: 54px; }

.cjco-boutons-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.cjco-btype { position: relative; cursor: pointer; }
.cjco-btype input { position: absolute; opacity: 0; }
.cjco-btype > span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border: 2px solid #dfe4ec; border-radius: 10px; background: #fff; font-weight: 600; color: #14284b; text-align: center; font-size: 14px; }
.cjco-btype .dashicons { font-size: 26px; width: 26px; height: 26px; color: #b8892b; }
.cjco-btype input:checked + span { border-color: #14284b; background: #f3f6fb; }
.cjco-btype input:focus-visible + span { outline: 3px solid #b8892b; outline-offset: 2px; }
.cjco-capture input[type=file] { padding: 10px; border: 2px dashed #c3cbd8; border-radius: 10px; background: #fafbfc; width: 100%; }
.cjco-gps-etat { color: #1e6b45; }

.cjco-annexes { list-style: none; margin: 0; padding: 0; }
.cjco-annexes > li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eef1f5; align-items: flex-start; }
.cjco-vignette { position: relative; flex: none; width: 110px; height: 110px; border-radius: 8px; overflow: hidden; background: #f1f3f7; display: flex; align-items: center; justify-content: center; border: 1px solid #dfe4ec; }
.cjco-vignette img { width: 100%; height: 100%; object-fit: cover; }
.cjco-vignette .dashicons { font-size: 40px; width: 40px; height: 40px; color: #8a93a3; }
.cjco-rang { position: absolute; top: 4px; left: 4px; background: #14284b; color: #fff; font-weight: 700; font-size: 12px; border-radius: 10px; padding: 1px 7px; }
.cjco-a-txt { flex: 1; min-width: 0; }
.cjco-a-txt p { margin: 0 0 3px; }
.cjco-url { word-break: break-all; color: #23417a; }
.cjco-hash code { font-size: 11px; }
.cjco-legende { display: flex; gap: 6px; margin: 6px 0 2px; }
.cjco-legende input { flex: 1; min-height: 36px; border: 1px solid #c3cbd8; border-radius: 6px; padding: 4px 8px; font: inherit; }
.cjco-a-txt form { margin: 0; }

.cjco-fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.cjco-auto { border-left: 4px solid #b8892b; }
.cjco-points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.cjco-point { background: #f6f8fb; border-radius: 10px; padding: 12px; }
.cjco-point textarea { font-family: "Libre Caslon Text", Georgia, serif; font-size: 15px; line-height: 1.55; }
.cjco-pt-annexes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cjco-pt-a { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border: 1px solid #c3cbd8; border-radius: 999px; background: #fff; font-size: 13px; cursor: pointer; }
.cjco-pt-a:has(input:checked) { border-color: #14284b; background: #e9eef7; font-weight: 700; }
.cjco-gen { margin-top: 14px; padding-top: 12px; border-top: 1px solid #eef1f5; }

@media (max-width: 760px) {
	.cjco-boutons-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cjco-pointage { flex: 1 1 100%; }
	.cjco-pointage .cj-bouton { width: 100%; justify-content: center; }
	.cjco-vignette { width: 84px; height: 84px; }
}
.cjco-fs textarea, .cjco-capture textarea { font-family: inherit; line-height: 1.5; }
.cjco-capture input[type=datetime-local] { width: 100%; min-height: 40px; border: 1px solid #c3cbd8; border-radius: 7px; padding: 6px 10px; font: inherit; font-size: 14px; background: #fff; }
