/* Modèles de rapport : page partagée par l'administration et la console bureau. */
.eng-section-head { display: flex; align-items: center; gap: 12px; margin: 28px 0 14px; }
.eng-section-head .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-600); white-space: nowrap; }
.eng-section-head .rule { flex: 1; height: 1px; background: var(--line-soft); }

/* ---------- gabarit de rapport ---------- */
.tpl-lead { color: var(--ink-500); font-size: 13px; line-height: 1.6; margin: 0 0 14px; max-width: 640px; }
.tpl-row { grid-template-columns: 1fr auto auto; }
.tpl-edit { padding: 14px 22px; background: var(--ink-050); border-top: 1px solid var(--line-soft); }
.tpl-edit textarea {
  width: 100%; font-family: inherit; font-size: 13px; line-height: 1.55; padding: 10px;
  border: 1px solid var(--ink-200); border-radius: 8px; background: #fff; color: var(--ink-800); resize: vertical;
}
.tpl-edit textarea[readonly] { background: var(--ink-050); color: var(--ink-600); }
.tpl-actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Identité du rapport ---------- */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 16px; margin: 14px 0; }
.theme-field { display: flex; flex-direction: column; gap: 6px; }
.theme-field input[type="text"] { border: 1.5px solid var(--ink-200); border-radius: 8px; padding: 9px 11px; font-size: 13.5px; font-family: inherit; min-width: 0; }
.theme-color-row { display: flex; gap: 8px; align-items: center; }
.theme-color-row input[type="color"] { width: 40px; height: 38px; border: 1.5px solid var(--ink-200); border-radius: 8px; padding: 2px; background: #fff; flex: none; cursor: pointer; }
.theme-color-row input[type="text"] { flex: 1; font-family: var(--font-mono); text-transform: uppercase; }
.theme-help { font-size: 11.5px; color: var(--ink-500); }
.theme-apercu { border: 1px solid var(--ink-200); border-radius: 10px; padding: 16px 18px; margin: 4px 0 12px; background: #fff; max-width: 520px; }
.ta-eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gri); }
.ta-title { font-weight: 800; font-size: 19px; text-transform: uppercase; color: var(--enc); margin-top: 4px; letter-spacing: -.02em; }
.ta-rule { width: 56px; height: 2px; background: var(--acc); margin: 10px 0 12px; }
.ta-label { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }
.ta-text { font-size: 13px; color: var(--enc); margin-top: 4px; }
.champ-chip { font-family: var(--font-mono); font-size: 12px; background: var(--ink-050); border: 1px solid var(--ink-200); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.champ-row { grid-template-columns: minmax(180px, 240px) 1fr; }
.champs-details { margin-top: 12px; }
.champs-details summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-700); }
