/* =========================================================
   LEGAL -- ADMINISTRATION PLATEFORME
   ---------------------------------------------------------
   Additive only, scoped to the Legal tab. No existing
   css/platform/*.css rule is modified. The single new class
   below mirrors the existing text-input treatment in
   tc-form.css for the one element that has no generic
   selector there (<textarea>), without touching that shared
   file.
   ========================================================= */

.tc-legal-content-field textarea{
  width:100%;
  margin-top:10px;
  padding:12px 14px;
  border:1px solid rgba(15,23,42,.10);
  border-radius:14px;
  font:inherit;
  background:#FFFFFF;
  color:var(--text);
  outline:none;
  resize:vertical;
  transition:border-color .2s ease, box-shadow .2s ease;
}

.tc-legal-content-field textarea:focus{
  border-color:rgba(59,130,246,.35);
  box-shadow:0 0 0 4px rgba(59,130,246,.12);
}

/* <details> used so the HTML source stays collapsed until needed --
   native, accessible, no new dependency. Full edit access is preserved:
   the textarea's value is unaffected by its open/closed state. */
.tc-legal-content-field{
  border:1px solid rgba(15,23,42,.08);
  border-radius:14px;
  padding:12px 14px;
  background:#FBFBFD;
}

.tc-legal-content-field summary{
  cursor:pointer;
  font-weight:700;
  color:var(--text);
  list-style:revert;
}

.tc-legal-content-field[open]{
  background:#FFFFFF;
}

.tc-legal-field-label{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.tc-legal-field-key{
  font-size:11px;
  font-weight:600;
  color:#94a3b8;
}
